GL University links Part 2 - Refactor pipeline empty state card templates
What does this MR do and why?
Part 2 for #486985 (closed)
Refactoring pipelines empty state to implement reusable cards.
These cards were previously hard-coded in the empty state. There was also some noticeable responsiveness buginess. The new implementation has 2 major advantages:
- All cards will reuse the same template and will resize dynamically together
- Adding a card is a simple object addition in
ci_cards.vue
This will make way for the GitLab University card as well as the CI/CD Catalog card
Screenshots or screen recordings
Viewport size | Before | After |
---|---|---|
lg | ||
md | ||
mobile |
How to set up and validate locally
ci_cards.vue
will be added as part of the third task here
NOTE: As this diff has gotten large, the unit test file for - In a project that does not have CI set up, navigate to Project > Pipelines
If you want a shortcut for no CI setup, here's a patch file to render the empty state and also the jenkins prompt:
Edited by Briley Sandlin