Skip to content

Hide custom analytics dashboard Edit button for VSDs

Alex Pennells requested to merge 452638-hide-edit-btn into master

What does this MR do and why?

Adds new enable_vsd_visual_editor feature flag to toggle the visibility of the Edit button for custom Value stream dashboards.

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.

Feature off Feature on
Screenshot_2024-05-07_at_11.37.42_AM Screenshot_2024-05-07_at_11.37.55_AM

How to set up and validate locally

  1. Enable the FF Feature.enable(:group_analytics_dashboard_dynamic_vsd)
  2. Create a custom Value stream dashboard (docs)
  3. View your newly created VSD
  4. Verify that the Edit button appears in the top-right when enable_vsd_visual_editor is enabled, but is hidden when disabled

Related to #452638 (closed)

Merge request reports