Value Stream analytics: Move tasks by type request out of Vuex action
What does this MR do and why?
This is part of a continued effort to remove the typeOfWork
Vuex module used by the Value stream analytics app. This MR begins to migrate the Vuex actions into the TypeOfWorkCharts
component.
Summary:
- Replaces
fetchTasksByTypeData
Vuex action withfetchTasksByType
component method - Replaces
data
Vuex state attribute withtasksByType
component data attribute
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
No visual changes
How to set up and validate locally
- Ensure you are using GitLab Ultimate
- Create a new Project
- 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
- Validate that the
Tasks by type
chart (bottom of the Overview tab) works with different labels/Merge requests
Related to #477817 (closed)