Skip to content

Update UI for image repositories scheduled for deletion

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:

Screenshot_2023-01-11_at_12.02.47_pm

After:

Screenshot_2023-01-11_at_12.17.31_am

How to set up and validate locally

  1. Setup & enable Container Registry https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/registry.md
  2. 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
  3. Visit the container registry list page for the project/group and click delete icon
  4. 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.

Closes #382811 (closed)

Edited by Rahul Chanila

Merge request reports