Delete "error" packages from the UI
Problem
In #324206 (closed) we added the error status to packages to allow "error" packages to be displayed on the frontend so users know when the background upload processing has failed. Once the user has found the errored package in the UI, they cannot take any action from that screen.
Proposal MVC
Since an error package is not usable, we should allow users to delete the package via the UI (currently this is only possible in the API). I see the use pattern as:
- User tries to upload a package
- The upload fails
- The user goes to the UI to find out what happened
- The user sees something went wrong and the package is in an error state (ideally with a descriptive error message; see #337847 (closed))
- The user deletes the package while on that screen
- The user fixes the problem and tries to upload again
Post-MVC
Clearly signal error packages, and allow user to delete them through multi-select. See attached designs.
Edited by Tim Rizzi