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.
Overview
This PR adds a OMB banner to the Submission Request page, before the first question.
Note
There is some slight styling differences between the implementation and design. In particular, the page banner background cuts off much higher up, rather than fading out. Since it's not directly related to this change, I left it untouched.
I also noticed that the sidebar (ProgressBar) no longer follows the top of the screen when scrolling, even though the styling for it has it set to
position: sticky
. Unsure if this is expected or when it broke, but I left it untouched.Note
I wanted to limit the changes since we're close to the 3.1.0 release, but in the future, I think we should migrate the FormContainer "Return to All Submissions" to a prefixElement instead (defined within the Review page). Just something to consider.
Change Details (Specifics)
Related Ticket(s)
CRDCDH-2086 (FE Task)
CRDCDH-2085 (Design, Option 5)
CRDCDH-2068 (US)