Refactor VisualizationProvider to expose an itemMap instead of the explore #8153
Labels
🖥 frontend
This issue requires changes to the frontend
released
tech-debt
Cruft, refactoring, and hinderances to developer productivity
Milestone
The visualization provider shouldn't be directly dependent on the explore object/data.
Instead, it should base itself on an
itemsMap: Record<string, Item>
which contains all the necessary data for the visualization and configuration.Update:
itemMap
to context ( the value should come from the explore + resultsData?.metricQuery )explore
,dimensions
,metrics
,customDimensions
,customMetrics
,allMetrics
,allNumericMetrics
from the context and use theitemMap
insteadThis will:
This is preparation work for Refactor metric query results types#8145
The text was updated successfully, but these errors were encountered: