Skip to content

Add feature flag check for project VSD link

Ezekiel Kigbo requested to merge 454206-toggle-project-vsd-link into master

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
Screenshot_2024-05-29_at_15.02.06 Screenshot_2024-05-29_at_15.04.22

How to set up and validate locally

Note: You will need an GitLab Ultimate license

  1. Create a group with a single project in it
  2. 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
  3. Enable the project_analytics_dashboard_dynamic_vsd feature flag
  4. Navigate back to the VSA page for the project, there should be a link to the Project Value Streams Dashboard page
  5. Repeat for the group, but in this case the link will always be visible

Related to #454206 (closed)

Edited by Ezekiel Kigbo

Merge request reports