Adds No JS message for the Uploader, that shows when JavaScript is disabled. This refactors the Uploading message component to a Generic message component, as styling is the same for both No JS and Uploading.
JS Disabled:
JS Enabled:
Code changes
Adds <noscript> tag to render GenericMessage component with no js text.
Refactors Uploading to GenericMessage component.
Adds a container <div> to hide the main screen when JavaScript is disabled.
Testing
List the steps used to test this PR.
Helpful Links
Add Links to useful resources related to this PR if applicable.
Resolves JIRA WSTEAM1-973
Overall changes
Adds No JS message for the Uploader, that shows when JavaScript is disabled. This refactors the Uploading message component to a Generic message component, as styling is the same for both No JS and Uploading.
JS Disabled:
JS Enabled:
Code changes
<noscript>
tag to renderGenericMessage
component with no js text.Uploading
toGenericMessage
component.<div>
to hide the main screen when JavaScript is disabled.Testing
Helpful Links
Add Links to useful resources related to this PR if applicable.
Coding Standards
Repository use guidelines