Skip to content

Update policy editor alert to be sticky

Alexander Turinske requested to merge 379118-use-sticky-alert into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Create sticky alert for policy editor

  • add sticky prop for GlAlert
  • add CSS to set position below top bar

Changelog: changed

EE: true

Screenshots or screen recordings

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

Scenario Before After
Single error single_error_-_b single_error_-_a
Multiple errors multiple.errors_-_b multiple_errors_-_a

How to set up and validate locally

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

  1. Navigate to http://gdk.test:3443/flightjs/Flight/-/security/policies/new?type=scan_execution_policy yaml mode
  2. Insert the following yaml
name: 'test'
description: ''
enabled: true
rules:
  - type: pipeline
    branches:
      - '*'
actions:
  - scan:
    site_profile: ''
    scanner_profile: ''
    tags: {}
  1. Save the yaml and notice alert

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

Edited by Alexander Turinske

Merge request reports