Update Usage Overview panel to support subgroups
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 |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Please make sure you have a GitLab Ultimate license.
Feature.enable(:group_analytics_dashboard_dynamic_vsd)
- 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
- Navigate to the group above and, from the left sidebar, click the
Analyze
>Analytics dashboards
link - The group dashboard list should appear, select
Value Stream Dashboard
- Verify that the Usage overview panel displays the subgroup's data.
Related to #454448 (closed)
Edited by Rudy Crespo