Display messages and warning for partially executed cleanup policies
Problem to solve
With #208193, cleanup policies execution will have some limits. In other words, cleanup policies that need a long to complete could be stopped and the work will be picked up on the next cleanup policy run.
This leaves the container repositories in a state where:
- A cleanup policy has been executed on them.
- Not all the targeted tags were deleted and so they are still visible on the UI.
This issue is to capture the frontend work needed to add additional messages and warnings to inform the users that the cleanup policy has been partially executed and some tags might be still displayed in the UI.
Here are some rough sketches: #208193 (comment 362972260)
- Delaney (Development Team Lead)
- Sasha (Software Developer)
- Devon (DevOps Engineer)
- Sidney (Systems Administrator)
User experience goal
On the image repository list view (both the Group and Project level views), show a warning flag next to image repositories with have partial deletions.
|Container Registry Image Repository List View w/ warning|
On the image repository detail view (with the list of tags visible) show a warning (yellow) Alert at the top of the page.
|Image repository detail view w/ warning alert|
Note: It is not technically feasible to indicate which image tags in the list view are scheduled for deletion but were not deleted.