Skip to content

Pass the analytics_dashboards_pointer to Value Stream Dashboard app

Alex Pennells requested to merge 385716-pass-pointer-project-to-vue into master

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

  1. Visit General Settings for a group of your choice (ex: http://gdk.test:3000/groups/flightjs/-/edit)
  2. Select a project for the Analytics Dashboards setting and Save changes
  3. Visit the Value Stream Dashboard for the group (ex: http://gdk.test:3000/groups/flightjs/-/analytics/dashboards/value_streams_dashboard)
  4. Use the Vue DevTools to confirm that the pointerProject prop is set for DashboardsApp
  5. Return to the General Settings and remove the configured project
  6. 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.

Related to #385716 (closed)

Merge request reports

Loading