Show and updated list of successfully uploaded files on all file lists
Context
This issue is for "Files lists" on all Files tabs. This relates to the new feature in #1497
Proposal
The file list (i.e. where the user uploaded the file in the first place) shows completed uploads by all users.
Design
Current design
Currently when users upload files on the Files tab UI they can see some basic information about the progress in the upload when there are lots of files or very big files.
Example for the supplementary files sections
Step 1: User selects "Upload", choose the file, and then selects "Save" button
Step 2: User See button change to "Saving"
Issues here include:
- The upload can take long and there is limited progress indicated here (resolved by #1497)
- The UI incorrectly shows the "Ready for Upload" at this point
Step 2: User See status change to 'Uploading file'
Issues here: It can take a long time to get to this point and it's not clear to the user what happens if they navigate away from the page (resolved by #1497)
Design amendment
- Step 1 above remains the same
- After the user selects "save" the modal will close
- The user will see the global files UI (#1497) appear
- The user will see files that upload successfully listed below
Step 1: User selects "Upload", chooses the file, and then selects "Save" button
Step 2: users sees file list unchanged until the file has uploaded successfully.
Acceptance criteria
-
A BCMS user may navigate away from any book part or book component any of its files upload areas once files have been validated and confirmed by the user that they should be completely uploaded into the BCMS file storage, including from: -
A Bulk Upload page from a chapter-processed Book Manager page -
Any Source, Converted, Supplementary, Images, Support, Display PDFs Upload page from the Files tab of a Book Part or Book Component
-
-
A BCMS user may expect after they have pressed the Upload button via the Bulk Upload page of the Book Manager and the Save button via any Upload page from a Files tab that -
Status of all uploaded files will be reported within 20 sec via a Upload Status bar according to the acceptance criteria in #1497 -
All completed uploads via a Bulk Upload from a Book Manager page will -
Create a new book part component if a new source file and load that source file to that component with the correct uploaded time and user details -
Create a new source file version in an existing book part component with the same file name as uploaded with the correct uploaded time and user details
-
-
All completed uploads via a Upload from a Book Part or Book Component Files page will -
Create a new file version in the file list within the files folder in which it was uploaded with the correct uploaded time and user details
-
-
[COMMENT: I DON’T KNOW WHAT WEBSOCKET NOTIFICATIONS ARE, BUT IF THEY ARE POPUP MESSAGES LIKE STREAMING MOBILE MESSAGES, I THINK THAT WILL ANNOY USERS IF THEY MOVE TO ANOTHER BOOK TO DO SOMETHING ELSE WHILE HUNDREDS OF FILES ARE UPLOADING – THEY WON’T WANT TO GET 100S OF POP UP MESSAGES]
Definition of ready
-
BCMS User Story / Context has been well defined -
The priority of the user story is specified and agreed -
Digital assets added (design, database scheme, mockups etc if relevant) -
Coko Technical Proposal approved by NCBI -
Testable Acceptance Criteria approved by NCBI -
Estimate of effort to complete (time or points) -
The issue has been broken down into development tasks (if necessary) -
Requirements Clarified -
The product owner and development team agree that the user story is ready for development -
NCBI adds “Dev_Ready”
Definition of done
-
All coding tasks are finished and implemented -
QA approved -
Deployed and tested on “ncbidev” (by Coko team) -
Deployed and tested on “ncbi” (by NCBI team) -
Acceptance Criteria Met
Implementation
Subscription Management
[Lead Devs to complete]
Alternative approaches (if applicable)
Scheduling
-
Milestone is linked -
Iteration is linked -
Dependencies: ("None" or list issue numbers if relevant) -
Development estimate is added to issue time tracking