Inline buildPointSeriesData and buildHierarchicalData dependencies #60090
Labels
Feature:Discover
Discover Application
Feature:NP Migration
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
discover
andvis_type_vislib
are still relying on theui/agg_response
helpersbuildPointSeriesData
andbuildHierarchicalData
. As these are not going to get migrated, it makes sense to inline them into their respective plugins because of limited usage and the plan to mid-term migrate away from both of these.Tasks:
buildHierarchicalData
tovis_type_vislib
(as it's the only user)buildPointSeriesData
tovis_type_vislib
buildPointSeriesData
todiscover
- the logic can be extremely simplified for the discover case because the shape of table and agg configurations is always constant and only uses a subset of the functionality ofbuildPointSeriesData
: https://github.com/elastic/kibana/blob/master/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/discover.js#L852 Check src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/histogram.tsx for the relevant attributesThe text was updated successfully, but these errors were encountered: