Use product analytics experiment
What does this MR do and why?
Recently, a new toggle 'Product analytics' is added to group settings, which can be only enabled if 'Experiment and Beta features' is also enabled.
This MR adds a check for that toggle value in order to show product analytics dashboards.
Note: No changelog is added as the feature is behind a feature flag.
Screenshots or screen recordings
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested. ow:
- Visit group settings page -> Permissions and group features
- Enable "Experiment and Beta features" and "Product Analytics" toggles
- Visit a project which has product analytics dashboards
- Click Analyze -> Analytics dashboards
- You should see product analytics dashboards, value stream dashboard and custom dashboards (if any)
- Go to group settings page and disable "Product Analytics" toggle
- Visit the same project which has product analytics dashboards
- Click Analyze -> Analytics dashboards
- You should not see product analytics dashboards. You should still see value stream dashboard and custom dashboards (if any)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #414865 (closed)
Edited by Halil Coban