Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve support feedback tab #59

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

mzayeddfe
Copy link

Brief overview of changes

  • Added extra arguments to support_panel()
  • Created html_paragraph_tags()
  • Changed a test in test-support-panel (line 175)

Why are these changes being made?

Users wanted more flexibility on how the support panel looks.

Detailed description of changes

Details for extra arguments in support_panel():

  • feedback_custom_text - add custom text under the feedback heading
  • info_custom_text - add custom text under the find out more information heading
  • contact_custom_text - add custom text under the contact us heading
  • extra_text - add extra sections before the contact us section

html_paragraph_tags() supports with the extra arguments above by generating tags using shiny::tagList() and it generated a heading(optional) and a body (paragraph).

Changed a test in test-support-panel (line 175). This is because I put another shiny::tags$div() around the if statement for the feedback section if there no extra text. This changes the position of the title in the output for the test on that line even though the outputs are as expected.

Issue ticket number/s and link

54

…perly becuase of the if loops

added documentation and testing to the function
…so it matches the request's needs better.

changed the documentation and the tests to relfect this but needs more work
…ent to support_panel

still need to add more tests, fix the checks and update documentation
added more examples for how to use the functions
updated the documentation and testing
updated documentation and testing
made html_paragraph_tags have heading as null to allow flexible use and checks in support_panel
still need to add comments to the code
…that everything shows up as intended

updated documentation
@mzayeddfe mzayeddfe linked an issue Oct 17, 2024 that may be closed by this pull request
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Support and Feedback tab
1 participant