Skip to content

Add danger variant for merge trains and message

Payton Burdette requested to merge 35917-ux-start-merge-train-failed-update into master

What does this MR do?

Show a danger button variant for merge trains if the last pipeline has failed. Also shows a danger message below the merge train button only if there are merge trains and the pipeline has failed.

Related to: #35917 (closed)

Screenshots (strongly suggested)

before after
Screen_Shot_2021-06-02_at_2.14.51_PM Screen_Shot_2021-06-02_at_2.54.13_PM

Passed

Screen_Shot_2021-06-02_at_2.28.02_PM

Running

Screen_Shot_2021-06-03_at_10.06.19_AM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #35917 (closed)

Edited by Payton Burdette

Merge request reports