ORA File Uploads UX - Show in-context file upload errors

Description

From discovery work done in https://openedx.atlassian.net/browse/EDUCATOR-5531 and catalogued in this doc, when a file fails to upload, temporarily show it with a warning in the file upload list.

Why? When files fail to upload, we show a banner with a generic upload error message and hide the failed file from the list. This banner can get clobbered if the error is buried among successful uploads and it might not be obvious to a learner that their file failed (especially with multi-file uploads).

We want to make it very obvious, while still on the page, what files failed to help the learner re-upload. We also want to make the warning temporary, so they don't need to do extra work, like manually clearing an error or deleting a bad metadata entry, while not making them take any more actions than necessary to get the submission into a ready state.

AC:

  • On upload failure, show the file that failed with warning info (e.g. file 1 (test.png) ⚠ File upload failed) in the upload list.

  • This warning should be temporary, uploading more files or a page reload should wipe the warning.

TO-DO

  • Work with on mocks

  • Work with on wording

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Assignee

Unassigned

Reporter

Nathan Sprenkle

Labels

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Story Points

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Sprint

Priority

Unset