-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meta: Kibana app NP cutover #60097
Labels
Feature:NP Migration
Meta
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Comments
flash1293
added
Meta
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Feature:NP Migration
labels
Mar 13, 2020
Pinging @elastic/kibana-app (Team:KibanaApp) |
flash1293
changed the title
Meta: Kibana app NP cutover
Meta: Kibana app NP cutover preparation
Mar 13, 2020
4 tasks
flash1293
changed the title
Meta: Kibana app NP cutover preparation
Meta: Kibana app NP cutover
Mar 25, 2020
This was referenced Mar 25, 2020
16 tasks
This was referenced Apr 7, 2020
This was referenced Apr 9, 2020
7 tasks
Merged
7 tasks
Closing this since also Discover entered new/kibana platform |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Feature:NP Migration
Meta
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
This issue tracks the last remaining legacy dependencies of Kibana app code.
How to read this list
The first level of the list is the name of the shimmed plugin holding legacy dependencies. Most of them are in
src/legacy/core_plugins
except forlens
,graph
androllup
, those are inx-pack/legacy/plugins
. If a shimmed plugin name is checked, it is moved to the new platform in its entirety.The second level of the list are referenced dependencies (mostly from within the
legacy_imports.ts
file within the plugin). Those have to be resolved for the plugin to move. If a dependency is gone, its checkbox can be checked.After the name of a plugin or a dependency, three different things can be referenced:
issue:
The sub issue(s) tracking this specific dependency (owned by Kibana app team)pr:
The PR(s) fixing this dependencyblocker:
The issue or PR of another team which is currently blocking resolving the dependency.How to work with this list
How to migrate a plugin
When all dependencies of a plugin are done, the plugin itself can be moved.
graph
)dashboard
ordiscover
) it already exists and the remaining code just has to be merged in, in other cases a new plugin has to be created. Check the structure of existing plugins for guidance._/index.scss
in the legacy platform - this should be changed to an import directly in the NP plugin to use the new CSS infrastructure if possible. If not, the CSS can be moved over, but still imported from the legacy platform.__tests__
folder) - if this is the case, the plugin can still be moved with the tests left behind in the legacy platform. To be able to delete the legacy plugin, move the tests into thecore_plugins/kibana
plugin intopublic/__tests__/<your pluginname>
. So old discover tests should go intocore_plugins/kibana/public/__tests__/discover
and so on.Visualization plugin specials
vis_type_<Name of the vis>
. The plugin ids however are not following this schema. When moving to the new platform, these should be renamed to match the folder name, but in camel case (e.g.vis_type_metric
becomesvisTypeMetric
)enabled
which can be used to disable the plugin completely. That requires a dummy server part. You can check the vega plugin for example how that looks like: https://github.com/elastic/kibana/blob/master/src/plugins/vis_type_vega/server/index.ts (theexposeToBrowser
andenableExternalUrls
parts are not necessary, just theenabled
related things)enabled
flag as well - to avoid introducing a breaking change, always add a deprecation to the config definition that renames the old name of the flag: https://github.com/elastic/kibana/blob/master/src/plugins/vis_type_vega/server/index.ts#L31Dependencies
dashboard
- PR: [NP] Dashboard #61895ui/utils/subscribe_with_scope
PR: Move subscribe_with_scope to kibana_legacy #59781ui/url/kbn_url
PR: [NP] Remove kbnUrl usage in discover/dashboard/visualize #60016ui/url/index
PR: [NP] Remove kbnUrl usage in discover/dashboard/visualize #60016ui/chrome
PR: [NP] Remove kbnUrl usage in discover/dashboard/visualize #60016ui/url/absolute_to_parsed_url
issue: Clean up Kibana app shims #60098 PR: [NP] Remove absoluteToParsedUrl & KibanaParsedUrl ref in kibana app #61105discover
PR: [NP][Discover] Move discover into new platform #63473core_plugins/visualizations
ui/state_management/config_provider
issue: Clean up Kibana app shims #60098ui/i18n
PR: [NP] Get rid of ui/i18n in Discover #62799ui/agg_types
PR: [NP] Removeui/agg_types
dependencies and move paginated table to kibana_legacy #60276ui/utils/subscribe_with_scope
PR: Move subscribe_with_scope to kibana_legacy #59781ui/vis/lib/timezone
issue: Clean up Kibana app shims #60098 PR: Inline timezoneProvider function, remove ui/vis/lib/timezone #60475ui/agg_response/point_series/point_series
issue: Inline buildPointSeriesData and buildHierarchicalData dependencies #60090ui/visualize/loader/pipeline_helpers/utilities
PR: Shim getFormat function correctly #60032visualize
- PR: [NP] Visualize #62294ui/utils/subscribe_with_scope
PR: Move subscribe_with_scope to kibana_legacy #59781ui/url
PR: [NP] Remove kbnUrl usage in discover/dashboard/visualize #60016 issue: Remove kbnUrl usage #58999ui/url/absolute_to_parsed_url
issue: Clean up Kibana app shims #60098 PR: [NP] Remove absoluteToParsedUrl & KibanaParsedUrl ref in kibana app #61105ui/url/kibana_parsed_url
issue: Clean up Kibana app shims #60098 PR: [NP] Remove absoluteToParsedUrl & KibanaParsedUrl ref in kibana app #61105ui/i18n
PR: [Visualize] Remove ui/i18n reference #61592vis_default_editor
- PR: [NP] Vis Default Editor plugin #62475ui/agg_types
PR: [NP] Removeui/agg_types
dependencies and move paginated table to kibana_legacy #60276ui/vis/lib
issue: Clean up Kibana app shims #60098ui/indexed_array
issue: Clean up Kibana app shims #60098vis_type_markdown
- PR: [NP] Migrate Markdown to NP #62940core_plugins/visualizations
vis_type_metric
PR: Migrate vis_type_metric to kibana/new platform #63096core_plugins/visualizations
ui/agg_types
PR: [NP] Removeui/agg_types
dependencies and move paginated table to kibana_legacy #60276ui/visualize/loader/pipeline_helpers/utilities
PR: Shim getFormat function correctly #60032vis_type_table
PR: Migrate vis_type_table to kibana/new platform #63105core_plugins/visualizations
ui/agg_types
PR: [NP] Removeui/agg_types
dependencies and move paginated table to kibana_legacy #60276ui/directives/paginate
PR: [NP] Removeui/agg_types
dependencies and move paginated table to kibana_legacy #60276ui/visualize/loader/pipeline_helpers/utilities
PR: Shim getFormat function correctly #60032vis_type_tagcloud
RP: [NP] Migrate Tagcloud to NP #63445core_plugins/visualizations
ui/agg_types
PR: [NP] Removeui/agg_types
dependencies and move paginated table to kibana_legacy #60276ui/validated_range
blocker: Migrate dual validated range #59689ui/visualize/loader/pipeline_helpers/utilities
PR: Shim getFormat function correctly #60032vis_type_timelion
PR: Migrate timelion vis #62819core_plugins/visualizations
ui/vis/lib/timezone
issue: Clean up Kibana app shims #60098 PR: Inline timezoneProvider function, remove ui/vis/lib/timezone #60475vis_type_timeseries
- PR: [NP] TSVB #63237core_plugins/visualizations
ui/vis/lib/timezone
issue: Clean up Kibana app shims #60098 PR: Inline timezoneProvider function, remove ui/vis/lib/timezone #60475vis_type_vega
[NP] Vega migration #63849core_plugins/visualizations
ui/vis/map/kibana_map_layer
blocker: Complete transition of Kibana Legacy Maps to NP #60325 PR: Migrate legacy maps service to NP & update refs #60942ui/vis/map/kibana_map
blocker: Complete transition of Kibana Legacy Maps to NP #60325 PR: Migrate legacy maps service to NP & update refs #60942serviceSettings
angular service blocker: Complete transition of Kibana Legacy Maps to NP #60325 PR: Migrate legacy maps service to NP & update refs #60942vis_type_vislib
- PR: [NP] Move visTypeVislib into NP #63963core_plugins/visualizations
createFiltersFromEvent
issue: Clean up Kibana app shims #60098ui/agg_types
PR: [NP] Removeui/agg_types
dependencies and move paginated table to kibana_legacy #60276ui/agg_response/hierarchical/build_hierarchical_data
issue: Inline buildPointSeriesData and buildHierarchicalData dependencies #60090ui/agg_response/point_series/point_series
issue: Inline buildPointSeriesData and buildHierarchicalData dependencies #60090ui/visualize/loader/pipeline_helpers/utilities
PR: Shim getFormat function correctly #60032input_control_vis
PR: Move input_control_vis into NP #63333vis_type_xy
PR: [NP] Move visTypeXy plugin #63449lens
(will be done by Lens team, [Lens] Migrate over to Kibana Platform #62804)core_plugins/visualizations
ui/visualize/loader/pipeline_helpers/utilities
PR: Shim getFormat function correctly #60032rollup
PR: Migrate rollup client side code #63227ui/indices
ui/agg_types
PR: [NP] Removeui/agg_types
dependencies and move paginated table to kibana_legacy #60276core_plugins/management
graph
PR: [NP] Graph migration #59409The text was updated successfully, but these errors were encountered: