Skip to content

Value Stream analytics: Move tasks by type request out of Vuex action

Alex Pennells requested to merge 477817-load-tasks-in-component into master

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 with fetchTasksByType component method
  • Replaces data Vuex state attribute with tasksByType 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

Screenshot_2024-08-13_at_3.38.02_PM

How to set up and validate locally

  1. Ensure you are using GitLab Ultimate
  2. Create a new Project
  3. Generate mock data: FILTER=customizable_cycle_analytics SEED_CUSTOMIZABLE_CYCLE_ANALYTICS=1 VSA_SEED_PROJECT_ID=${PROJECT_ID} bundle exec rake db:seed_fu
  4. Navigate to VSA for the owning group of the project created: Analyze > Value stream analytics
  5. Validate that the Tasks by type chart (bottom of the Overview tab) works with different labels/Merge requests

Related to #477817

Merge request reports

Loading