Skip to content
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

Custom visualizations plugin need to build their own expression AST #85234

Closed
timroes opened this issue Dec 8, 2020 · 0 comments
Closed

Custom visualizations plugin need to build their own expression AST #85234

timroes opened this issue Dec 8, 2020 · 0 comments
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v7.11.0

Comments

@timroes
Copy link
Contributor

timroes commented Dec 8, 2020

Plugin API changes

In Kibana all visualizations underneath render using Kibana expressions (that you can see user facing inside Canvas expression editor). Right now old custom visualization plugins are all using the same visualizations expression function underneath. We're going to remove this function in one of the upcoming minors, meaning your custom visualization plugin will require to register its own renderer and expression function and provide a toExpressionAst function.

You can check any of the PRs for core visualizations as a reference how those migration need to look like.

@timroes timroes added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v7.11.0 labels Dec 8, 2020
@timroes timroes closed this as completed Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v7.11.0
Projects
None yet
Development

No branches or pull requests

1 participant