Skip to content

Split up yaml and humanized policy previews

Savas Vedova requested to merge 345612-split-up-rule-mode into master

What does this MR do and why?

This MR splits up the yaml policy preview and humanized policy previews which were displayed on the right side of the page inside a GlTabs component. This behaviour is confusing to the users, therefore we decided to split this up. The right column is now used to display the yaml preview and the humanized policy preview is displayed at the bottom of the page.

Screenshots or screen recordings

before after
image Screenshot_2021-11-26_at_01.49.18
before after
image with-parsing-error

Responsiveness

bottom-responsiveness

How to set up and validate locally

  1. Go to you project.
  2. Expand Security && Compliance
  3. Click on Policies
  4. Click on New Policy

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 #345612 (closed)

Edited by Savas Vedova

Merge request reports