Update UI for image repositories scheduled for deletion
requested to merge 382811-update-ui-treatment-of-image-repositories-scheduled-for-deletion into master
What does this MR do and why?
What
For container images scheduled for deletion,
- Removes tooltip & tags count for image_list_row component
- Show tooltip content as list row secondary text
Why
When an image repository is deleted by the user, it is actually scheduled for deletion. Currently we show a tooltip on hover. To be transparent, we want to show this information on load.
However, today you do not know that the image repository is scheduled for deletion until you hover.
Screenshots or screen recordings
Before:
After:
How to set up and validate locally
- Setup & enable Container Registry https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/registry.md
- Add a few images with tags by following https://gitlab.com/gitlab-org/ci-cd/package-stage/package/-/wikis/Packages-Tips-&-Tricks#how-to-add-images-with-tags-quickly-to-the-registry
- Visit the container registry list page for the project/group and click delete icon
- The scheduled for deletion row should look like above screenshot
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Closes #382811 (closed)
Edited by Rahul Chanila