Draft: Resolve "Replace usage of GlSegmentedControl with vue_shared component"
What does this MR do and why?
References
Please include cross links to any resources that are relevant to this MR This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Ensure you are using GitLab Ultimate
- Create a new Project
- If you need to check for the PROJECT_ID, you can e.g.
bin/rails c
and look it up withProject.last
- Generate mock data:
FILTER=customizable_cycle_analytics SEED_CUSTOMIZABLE_CYCLE_ANALYTICS=1 VSA_SEED_PROJECT_ID=${PROJECT_ID} bundle exec rake db:seed_fu
- Navigate to VSA for the owning group of the project created:
Analyze > Value stream analytics
(Create a new Value stream if there is none yet) - Validate that the
Tasks by type
chart (bottom of the Overview tab) works with different labels/Merge requests
Having difficulties seeing the chart? Go to ee/app/assets/javascripts/analytics/cycle_analytics/components/base.vue
and replace v-if="enableTasksByTypeChart"
with v-if="true"
Alternatively start Storybook with yarn storybook:start
and navigate to http://localhost:9002/?path=/story/ee-analytics-cycle-analytics-components-tasks-by-type-filters--default
Closes #500819