Migrate badge to Pajamas component
What does this MR do and why?
Migrate badges to Pajamas component on Triggers management page (project settings).
Related to #344359 (closed)
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Visit a project page then Settings -> CI/CD (like http://localhost:3000/flightjs/Flight/-/settings/ci_cd#js-pipeline-triggers)
- Check the
Pipeline triggers
section - Add a token
- Make sure that the condition
trigger.can_access_project?
returns false (you could simply change it in the [trigger.rb])(https://gitlab.com/gitlab-org/gitlab/blob/e7b6e65aff212a749fb40232a79c4fc4089ab805/app/models/ci/trigger.rb#L37) - Check the
invalid
badge next to it
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Diana Zubova