Skip to content

Replace segmented-control with segmented-control-button-group

Description

Based on &7261, we want to reprecate segmented_control.vue. In this MR we introduce a new component segmented_control_button_group which has the same interface, but the desired implementation.

We use this new component to address #348103 (closed) by replacing the segmented_control.vue reference.

We'll follow up with a push to move this to GitLab UI

Screenshots

Still works 🎉

Screenshot_from_2022-04-08_09-59-36

How to test

  1. Visit a project that has some pipeline data
  2. Visit Analytics > CI/CD in the sidebar
  3. Click the time range buttons

Thanks

Thanks @jannik_lehmann @jrushford @dstull @cwoolley-gitlab for pairing on this!

Edited by Paul Slaughter

Merge request reports