Improve container registry image copy tooltip
What does this MR do and why?
This MR changes the clipboard copy button tooltip when copying an image path on the container registry image list (and detail page) from the verbose full image path to simply "Copy image path", in line with other similar clipboard copy tooltips, as per #349512 (closed).
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
- Follow the instructions on https://gitlab.com/gitlab-org/gitlab-development-kit/blob/main/doc/howto/registry.md to configure the container registry in GDK
- Visit http://localhost:3000/h5bp/html5-boilerplate/container_registry
- Follow the instructions for logging into the container registry
- Build and push an image to the container registry as per the instructions on that page
- Refresh the page - your image should now show up
- When you hover over the image path clipboard button it should show "Copy image path"
- Click into the image.
- On the detail page, hover over the image path clipboard button for the tag, it should show "Copy image path"
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.
Edited by David Barr