Improve the Dependency proxy for packages setting to use a checkbox instead of toggle
Release notes
When enabling the Dependency proxy for packages, it is unclear which fields are dependent on others. This form uses a checkbox instead of toggle to indicate that all changes are saved in a single form.
Problem to solve
When enabling the Dependency proxy for packages, it is unclear which fields are dependent on others. It also unclear if enabling/disabling the proxy will save automatically if you need to use the Save changes button to enable/disable. The password field also can never be unobscured, which makes it difficult for the user to fix mistakes.
Proposal
- Update the
dependency proxy toggleto be acheckbox. - Improve validation by moving error messages to the specific form fields.
Design assets
Intended users
Feature Usage Metrics
Does this feature require an audit event?
Implementation guide
- Update styles in
ee/app/assets/javascripts/packages_and_registries/settings/project/components
Edited by Rahul Chanila