Add feature flag check for project VSD link
What does this MR do and why?
Disables the link to Value Streams Dashboards, when viewing Value Stream Analytics at the project level, unless the project_analytics_dashboard_dynamic_vsd
feature flag is enabled.
Also ensures we always pass the namespace path to generateValueStreamsDashboardLink
rather than the group path.
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
FF Enabled | FF Disabled |
---|---|
How to set up and validate locally
Note: You will need an GitLab Ultimate license
- Create a group with a single project in it
-
Create a custom value stream and navigate to the VSA page for the project
- There should not be a link to Value Streams Dashboard on the page
- Enable the
project_analytics_dashboard_dynamic_vsd
feature flag - Navigate back to the VSA page for the project, there should be a link to the Project Value Streams Dashboard page
- Repeat for the group, but in this case the link will always be visible
Related to #454206 (closed)
Edited by Ezekiel Kigbo