When uploading large files, the UI doesn’t give any feedback to show that the file is uploading. This could cause confusion and/or lead to duplicate uploads.
Changes proposed in this pull request
Once the upload button is clicked, remove the button and add an uploading message (the same one as used for messages for now. If a new option gets designed it'll be easy to swap)
If there's an error, show the button again
Guidance to review
Upload a large PDF (I have a 100MB one I can pass on if that's helpful)
Context
When uploading large files, the UI doesn’t give any feedback to show that the file is uploading. This could cause confusion and/or lead to duplicate uploads.
Changes proposed in this pull request
Guidance to review
Relevant links
https://technologyprogramme.atlassian.net/browse/REDBOX-618
Things to check