Trims input fields in maven dependency proxy settings
What does this MR do and why?
Trims Username & URL input fields in maven dependency proxy settings form
Related to Modify UX for dependency proxy project settings... (!140339 - merged)
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
N/A
How to set up and validate locally
The dependency proxy for packages has a few requirements:
- have
packages
->enabled
set totrue
ingitlab.yml
. - have
dependency_proxy
->enabled
set totrue
ingitlab.yml
. - have the
packages
feature enabled in the project's settings.Settings
->General
->Visiblity, project features, permissions
->Package registry
(checkbox enabled.) - have a GitLab license.
Premium
or more. - Visit Project > Settings > Packages and Registries
- Under the Dependency Proxy settings block, try updating the form
- Ensure that adding spaces at the start/end of the
URL
&Username
fields get trimmed while submitting the form. This can be confirmed in developer tools by checking for GraphQL mutation variables
Related to #410726 (closed)
Edited by Rahul Chanila