Skip to content

Immediately render the Value Stream Dashboard data as it is loaded

Alex Pennells requested to merge 420773-fast-data-render into master

What does this MR do and why?

Instead of waiting for all the data to finish loading before rendering it in the table, insert the table data as soon as the correlating request finishes.

Also only request metrics that were not excluded from the table. Previously all metrics were requested even when excluded.

Screenshots or screen recordings

Before After
Before After

Improved error state

Screenshot_2023-08-08_at_12.33.01_PM

How to set up and validate locally

  1. Setup YAML configuration
  2. [Optional] Seed analytics data (and additionally DORA metrics data)
  3. Visit the value streams dashboard: http://gdk.test:3000/groups/${YOUR_GROUP}/-/analytics/dashboards
  4. Watch the page load
  5. Apply some excluded metrics to your YAML config file
  6. Verify that unused GraphQL requests are not being sent using the Network tab

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 #420773 (closed)

Edited by Alex Pennells

Merge request reports

Loading