generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPLOAD-1695 Show upload status of file in info (#475)
* updated the /info/{uploadId} endpoint to add upload_status to the response * upload_status contains * status [Initiated, In Progress, Complete] * chunk_received_at * updated the upload page to display the file detail data from the /info/{uploadId} when the upload status is In Progress or Complete * added checks to determine the host (client uploading the file) and the peer (client viewing the file status) * added ability for host to resume an upload * added ability for host to pause and resume an upload * added logic for handling different upload statuses for hosts and peers * if the upload status is Initiated, the upload form is displayed * if the host begins uploading a file, the upload form is hidden, the progress bar is shown, and the file details are shown * if the host refreshes while uploading, a resume upload form is shown and the file details are shown * if the host resumes an upload, the resume upload form is hidden, the progress bar is shown, and the file details are shown * if the peer views the page while the upload status is In Progress, only the file details are shown * if the upload status is complete, only the file details are shown * added styling to the file details * various clean ups for the html, css, and javascript * playwright tests and accessibility changes --------- Co-authored-by: Nicole Zonnenberg <[email protected]> Co-authored-by: Alex de los Reyes <[email protected]>
- Loading branch information
1 parent
a1a1a2f
commit 78b0695
Showing
31 changed files
with
1,645 additions
and
546 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.