Add new panel title interpolation options to analytics dashboards
What does this MR do and why?
Add new panel title interpolation options to analytics dashboards.
Adds support for these new options:
- %{namespaceName}
- %{namespaceType}
- %{namespaceFullPath}
- %{rootNamespaceName}
- %{rootNamespaceFullPath}
We technically already supported namespaceName
, but it was returning the rootNamespaceName
. We're just improving and extending that behaviour.
The new options are also applied to the built-in Value stream dashboard and AI impact analytics dashboard.
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
Subgroup VSD
Before | After |
---|---|
![]() |
![]() |
Project VSD
Before | After |
---|---|
![]() |
![]() |
Subgroup AID
Before | After |
---|---|
![]() |
![]() |
Project AID
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
Enable features
Feature.enable(:group_analytics_dashboard_dynamic_vsd)
Feature.enable(:project_analytics_dashboard_dynamic_vsd)
Feature.enable(:ai_impact_analytics_dashboard)
Validate dashboards
- Navigate to any subgroup
- Navigate to the Analytics dashboards page (
Analyze
>Analytics dashboards
in the sidebar) - Verify the panel titles for both the Value Streams Dashboard, and the AI impact analytics dashboard
- Navigate to any project
- Repeat steps 2 & 3
Related to #452382 (closed)
Edited by Alex Pennells