Add all protected branches settings information
What does this MR do and why?
Add all protected branches settings information
- add information icon with popover
- add tests
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Scenario | Screenshot |
---|---|
"All Protected Branches" selected w/ ff | |
"All Protected Branches" selected w/out ff | |
"All Protected Branches" not selected | |
On new policy page load | new_policy |
On existing policy page load | existing_policy |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Upload a GitLab Ultimate license
- Navigate to a project/group => Secure => Policies => New policy => Scan Result Policy
- Verify the information icon does not show for any type of branch type selected
- Turn on the ff
echo "Feature.enable(:scan_result_policy_settings)" | rails c
- Verify the information icon only shows for
all protected branches
type of branch type selected
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 #418766 (closed)
Edited by Alexander Turinske