UX updates to maven registries list & edit pages
What does this MR do and why?
UX updates to maven registries list & edit pages
Update the cancel button logic in the edit registry form to redirect to the registry detail page instead of the list page.
Implement logic to hide the Create registry
button when
a top-level group has 20 or more Maven virtual registries.
EE: true
References
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Ensure you have enabled the following feature flags
$ gdk rails console
Feature.enable(:maven_virtual_registry)
Feature.enable(:ui_for_virtual_registries)
- Then run the following to create 20 Maven registries
g = Group.find(<group-id>)
20.times.each { |i| VirtualRegistries::Packages::Maven::Registry.create(group: g, name: "maven registry - #{i}") }
- Go to top-level group
- Go to
Deploy -> Virtual Registry
, then click onMaven
- With the changes in this MR confirm that
Create registry
button is not visible formaintainer+
users - Click on the edit icon should load the
Edit registry
page. - confirm that clicking cancel button takes you to registry detail page & not the registries list page.
- Delete a registry from the
Edit registry
page. -
Confirm that
Create registry
button is now visible
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #569351 (closed)
Edited by Rahul Chanila