Pass the analytics_dashboards_pointer to Value Stream Dashboard app
What does this MR do and why?
This is the first step of converting Value Stream Dashboards to use a configuration file. This will pass the configuration project (analytics_dashboards_pointer.target_project
) details to the JS app, if it exists.
The next step will load the file on page load, and apply the template to the page.
How to set up and validate locally
- Visit General Settings for a group of your choice (ex: http://gdk.test:3000/groups/flightjs/-/edit)
- Select a project for the Analytics Dashboards setting and Save changes
- Visit the Value Stream Dashboard for the group (ex: http://gdk.test:3000/groups/flightjs/-/analytics/dashboards/value_streams_dashboard)
- Use the Vue DevTools to confirm that the
pointerProject
prop is set forDashboardsApp
- Return to the General Settings and remove the configured project
- Use the Vue DevTools to confirm that the
pointerProject
prop is an empty object
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 #385716 (closed)