Skip to content

Migrates project cicd settings badge to Pajamas card

What does this MR do and why?

Migrates card class in app/views/projects/settings/ci_cd/_badge.html.haml to Pajamas::CardComponent

Fixes #367137 (closed)

Part of &8337

Screenshots or screen recordings

before after
Screenshot_2022-09-23_at_15.21.29 Screenshot_2022-09-23_at_15.23.51

NOTE: vertical padding difference in the card is discussed here: &8337 (comment 1046670176)

How to set up and validate locally

  1. Visit any project settings and open CI/CD page: e.g. http://localhost:3000/h5bp/html5-boilerplate/-/settings/ci_cd
  2. Expand the top "General pipelines" section and scroll to it's bottom
  3. See the cards in "Pipeline status" subsection

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kos Palchyk

Merge request reports