Skip to content

Add header and sub-header to settings

Alexander Turinske requested to merge 418751-add-sub-header into master

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 image
Project-level *Note: link navigates to project /-/settings/respository image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Upload a GitLab Ultimate license
  2. Enable the feature flag
echo "Feature.enable(:scan_result_policy_settings)" | rails c
  1. Navigate to a project/group => Secure => Policies => New policy => Scan Result Policy
  2. 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.

Related to #418751 (closed)

Edited by Alexander Turinske

Merge request reports

Loading