Shorten display of iPledge/Isotretinoin form's required fields #70
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe your changes
I moved the required fields' text into chips (so each field is legible and not in a paragraph), put the chips into an expandable/retractable accordion, adjusted the spacing of the "Form Loaded" status text, the 3 buttons, and the accordion, and turned ternaries that weren't rendering anything in the falsy condition into boolean expressions.
Before
After
Issue ticket number and Jira link
https://jira.mitre.org/browse/REMS-554
Checklist before requesting a review
dev
not main (the only exception to this is releases fromdev
and hotfix branches)Checklist for conducting a review
Workflow
Owner of the Pull Request will be responsible for merge after all requirements are met, including approval from at least one reviewer. Additional changes made after a review will dismiss any approvals and require re-review of the additional updates. Auto merging can be enabled below if additional changes are likely not to be needed. The bot will auto assign reviewers to your Pull Request for you.