Refactor the metrics dashboard chart api
The following discussion from !23459 (merged) should be addressed:
-
@ClemMakesApps started a discussion: (+1 comment) Is it possible at some point in the future to restructure the API response so that we don't have to do so many nested loops?
Before removing the ECharts feature flag we'll want to allocate some backend time to using our new api structure so we aren't having to rework the data on the frontend.