Skip to content

Update Usage Overview panel to support subgroups

Rudy Crespo requested to merge 454448-vsd-usage-overview-support-subgroups into master

What does this MR do and why?

Previously, the Usage Overview panel on the Value Streams Dashboard only displayed metrics for the top-level namespace. It now displays metrics for both groups and subgroups.

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-04-19 at 11.07.05 AM.png Screenshot 2024-04-19 at 11.07.40 AM.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Please make sure you have a GitLab Ultimate license.
  2. Feature.enable(:group_analytics_dashboard_dynamic_vsd)
  3. Create a new (or choose an existing) subgroup and invoke the seed script: GROUP_ID=<group-id> FILTER=vsd_overview_counts SEED_VSD_COUNTS=1 bundle exec rake db:seed_fu
  4. Navigate to the group above and, from the left sidebar, click the Analyze > Analytics dashboards link
  5. The group dashboard list should appear, select Value Stream Dashboard
  6. Verify that the Usage overview panel displays the subgroup's data.

Related to #454448 (closed)

Edited by Rudy Crespo

Merge request reports