Modify package registry project settings section with feature flag
What does this MR do and why?
Updates project package registry settings components to render card layout based on feature flag.
Adds feature tests for packages protection rules
EE: true
Changelog is not required since these changes are under a feature flag.
Note: Since this MR is quite big already, changes are focused only on the Package registry section. Container registry section is being updated in Modify container registry project settings sect... (!175502 - merged).
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.
- Design: #500217[settings-expanded.png]
- We intend to update the dependency proxy settings separately as part of #503395 (closed)
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.
| With feature flag turned off | Before | Layout: No packages protection rules | Layout: Packages protection rules with pagination |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
-
To see the Dependency proxy section, run GDK in SAAS mode
-
(Optional) Setup container registry
-
Visit
Project > Settings > Packages and registries. -
In rails console enable the experiment fully
Feature.enable(:reorganize_project_level_registry_settings) -
Confirm that
Package registrysection looks like the one in screenshot & the settings are usable.
Related to #500217 (closed)



