Skip to content

Migrate to shared alert component

Jacques Erasmus requested to merge 353430-migrate-alert into master

What does this MR do and why?

Migrates the .alert class to use the shared alert component from GitLab UI.

Screenshots or screen recordings

before after
Screenshot_2022-03-21_at_15.35.11 Screenshot_2022-03-21_at_15.39.15

How to set up and validate locally

This is a bit difficult to replicate, but returning true in the showLockedWarning computed prop is a workaround for displaying the error.

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

Merge request reports