Skip to content

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
Screenshot_2024-10-25_at_16.20.37 Screenshot_2024-10-25_at_16.18.44 Screenshot_2024-10-25_at_16.20.26 Screenshot_2024-10-25_at_16.15.08

How to set up and validate locally

  1. Ensure you are using GitLab Ultimate
  2. Create a new Project
  3. If you need to check for the PROJECT_ID, you can e.g. bin/rails c and look it up with Project.last
  4. Generate mock data: FILTER=customizable_cycle_analytics SEED_CUSTOMIZABLE_CYCLE_ANALYTICS=1 VSA_SEED_PROJECT_ID=${PROJECT_ID} bundle exec rake db:seed_fu
  5. 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)
  6. 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

Edited by Vanessa Otto

Merge request reports

Loading