Skip to content

Extend policy editor sidebar width

What does this MR do and why?

Extend policy editor sidebar width

New yaml format has more indentation It requires wider sidebar

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Type Before After
Approval

before-approval.png

after-approval.png

Scan execution

before-scan-execution.png

after-ecan-execution.png

Pipeline execution

before-pipeline.png

after-pipeline.png

How to set up and validate locally

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

  1. Enable feature flag:

    Feature.enable(:security_policies_new_yaml_format)
  2. Go to Group/Project

  3. Secure -> Policies

  4. New policy -> Approval Policy, Scan execution, Pipeline execution

  5. Check sidebar width

Related to #478628 (closed)

Merge request reports

Loading