Add header and sub-header to settings
What does this MR do and why?
Add header and sub-header to settings
- add link to project settings if on the project level
- hide link on the group level
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
note: the subheader will be an accordion when more settings are added
Page | Screenshot |
---|---|
Group-level | |
Project-level | *Note: link navigates to project /-/settings/respository
|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Upload a GitLab Ultimate license
- Enable the feature flag
echo "Feature.enable(:scan_result_policy_settings)" | rails c
- Navigate to a project/group => Secure => Policies => New policy => Scan Result Policy
- Verify settings at the bottom
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #418751 (closed)
Edited by Alexander Turinske