[New Platform Migration Phase I]: convert vega plugin to vis_type_vega #39915
Labels
Feature:New Platform
Feature:Vega
Vega visualizations
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Part of #38247
Summary
The existing vega plugin needs to be moved into its own dedicated
vis_type_vega
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: