Skip to content

Fix broken Segmented control in the pipeline page

What does this MR do and why?

To select the view type of the pipeline graph, we were using a segmentedControl. However due to some bugs and the possibility of deprecating that component, we are now using a GlButtonGroup.

Screenshots or screen recordings

Before After
Screen_Recording_2021-12-02_at_3.20.58_PM button_group

How to set up and validate locally

  1. Go to CI/CD => Pipelines
  2. Switch between view types
  3. Notice that you can switch between "Stage" and "Job Dependencies"
  4. Notice that the "show links" toggle only appear when in the "Job Dependencies" view

MR acceptance checklist

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

Related to #346422 (closed)

Edited by Frédéric Caplette

Merge request reports