Skip to content

Add actor for project VSD feature flag

Ezekiel Kigbo requested to merge 429541-add-feature-flag-project-actor into master

What does this MR do and why?

Follow-up MR to !137483 (merged), this MR adds an actor to the calls for the project_analytics_dashboard_dynamic_vsd feature flag.

Screenshots or screen recordings

No visual changes

How to set up and validate locally

  1. Disable the project_analytics_dashboard_dynamic_vsd feature flag if you've previously enabled it
    Feature.disable(:project_analytics_dashboard_dynamic_vsd)
  2. Enable product analytics for a given project
  3. From the project left sidebar, click the Analyze > Analytics dashboards link - the value streams dashboard link does not appear
  4. Enable the project_analytics_dashboard_dynamic_vsd feature flag for a specific project
    # in the rails console
    project = Project.find_by_id(<id-of-your-project>)
    Feature.enable(:project_analytics_dashboard_dynamic_vsd, project)
  5. From the project left sidebar, click the Analyze > Analytics dashboards link - the value streams dashboard should appear
  6. Enable product analytics for a different group
  7. From the project left sidebar, click the Analyze > Analytics dashboards link - the value streams dashboard link does not appear for this different group

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #429541 (closed)

Merge request reports