Show anchors in cleanup image tags regex input fields
What does this MR do and why?
Show anchors in cleanup image tags regex input fields
In !157888 (merged) we added info alert in the clean up tags settings page to reinforce what's mentioned in the docs about regex expressions.
To address UX suggestion, this MR uses GlFormInputGroup to append
and prepend regex anchors.
Corresponding code in the backend
This allows us to remove the redundant alert.
Changelog: added
References
Please include cross links to any resources that are relevant to this MR This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| 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
- Visit
Project > Settings > Packages & Registries - Click on
Set cleanup rules - Confirm that input fields have regex anchors appended & prepended
- Confirm that alert is not displayed
Related to #470925 (closed)

