Replace segmented-control with segmented-control-button-group
- Step 1 - Replace segmented-control with segmented-control-button-group
- Step 2 - Use SegmentedControlButtonGroup in policy editor
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
How to test
- Visit a project that has some pipeline data
- Visit Analytics > CI/CD in the sidebar
- Click the time range buttons
Thanks
Thanks @jannik_lehmann @jrushford @dstull @cwoolley-gitlab for pairing on this!
Edited by Paul Slaughter