[New Platform Migration Phase I]: convert metric vis to vis_type_metric #41669
Labels
Feature:MetricVis
Metric visualization feature
Feature:NP Migration
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Summary
The existing metric vis plugin needs to be moved into its own dedicated
vis_type_metric
plugin that adheres to the new platform plugin structure.Checklist for creating a new vis type plugin
In most cases, it is recommend to break each of these steps into 3 separate PRs
src/legacy/core_plugins
setup
method returning the public contract (see data plugin as an example). This needs to be exported from the top-level/server
and/or/public
directory, e.g.export foo = new Plugin.setup()
types
service.import { foo } from '../../../core_plugins/foo';
Background
Phase I ("Move") consists of consolidating (and in some cases separating) pieces of legacy code into the overall "shape" of the new platform architecture, while still remaining in the legacy world, as legacy plugins, consuming legacy services.
A module is done with Phase I when all of its code has been relocated to the appropriate plugin, with downstream imports for the module being updated to consume it from its new location.
The text was updated successfully, but these errors were encountered: