-
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
[Visualize] Remove circular deps between KibanaApp team plugins #87994
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing 🎉
That's what I was talking about 💞
FMPOV looks much more better now, a step forward to making the visualize
to be an optional plugin
Pinging @elastic/kibana-app (Team:KibanaApp) |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Much better this way, great enhancement 🎉
…tic#87994) * [Visualize] Remove circular deps between KibanaApp team plugins Part of elastic#84750 * Update use_vis_byvalue.ts * Update use_saved_vis_instance.ts * add types * fix CI Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…) (#88141) * [Visualize] Remove circular deps between KibanaApp team plugins Part of #84750 * Update use_vis_byvalue.ts * Update use_saved_vis_instance.ts * add types * fix CI Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Part of #84750
Summary
This PR is a follow-up to PR related to removing dependencies between Kibana App plugins.
What was done in that PR:
visualization
plugin setup API was changed. Now instead of onesetDefaultEditor
method it returns extendedvisEditorsRegistry
object with innerregisterDefault
,register
,get
methods . Thanks @sulemanof for that ideaeditor
property was removed from theVisType
. Now if we need to set a custom editor for some visualization it should be passed intoeditorConfig.editor
as a string. Important: custom editor should be registered usingvisEditorsRegistry.register
before using.IEditorController, EditorRenderProps
was moved intovisualize
plugin