Skip to content

Switch mini pipeline graph over to ci-icon

What does this MR do and why?

Relates to #300154 (closed) and #353980 (closed)

This will also close out #345569 (closed)

This is a prerequisite to #320737 (closed) (add sizing to the mini pipeline graph) and #323353 (closed) (consistent styling for mini pipeline graph).

We are dropping the use of custom icon components in favor of the <ci-icon> component which is now used elsewhere.

How to set up and validate locally

  1. Navigate to Pipelines (CI/CD > Pipelines)
  2. View a mini pipeline graph which has upstream and/or downstream pipelines
  3. The icons should now appear as ci-icons. The border will look thicker and the size is larger by 2px.

Functionality:

  1. icons now use the ci-icon component
  2. Active states have been updated
  3. Wrapping behavior updated
  4. A couple of bugs and some redundant code removed. Lots of scss removed!

Screenshots or screen recordings

Before After
ci_icons_before ci_icons_after
Hover State
Screen_Recording_2022-05-05_at_5.26.14_PM
Wrapping State in MR
Screen_Recording_2022-05-05_at_5.30.26_PM
Multiple downstream wrapping
Screen_Recording_2022-05-05_at_5.37.00_PM

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 Briley Sandlin

Merge request reports

Loading