[Visualizations] Remove vis_default_editor - visualize plugins cyclic dependencies#85422
[Visualizations] Remove vis_default_editor - visualize plugins cyclic dependencies#85422alexwizp merged 11 commits intoelastic:masterfrom
Conversation
… dependencies # Conflicts: # src/plugins/visualize/kibana.json
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
Hey! I'm fond of creating an editor setter in visualize plugin contract!
|
|
@elasticmachine merge upstream |
|
@sulemanof Honestly I don't see any benefits of adding one more registry for that. Currently we can set a specific editor in visTypeDefinition object. It's a pretty flexible solution which works without any extra classes. Probably we can implement your idea in future, but it should be definitely resolved in a separate PR, cause for me it looks like before using custom Editor it should be registered. It can be a blocker for some of ThirdParty plugins. |
|
Pinging @elastic/kibana-app (Team:KibanaApp) |
|
@elasticmachine merge upstream |
jbudz
left a comment
There was a problem hiding this comment.
operations - circular dependencies list LGTM
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Distributable file count
Page load bundle
History
To update your PR or re-run it, just comment with: |
stratoula
left a comment
There was a problem hiding this comment.
Dependency has been removed, checked it locally. Code LGTM. I tested it and it seems that works fine 😉
… dependencies (elastic#85422) * [Visualizations] Remove vis_default_editor - visualize plugins cyclic dependencies # Conflicts: # src/plugins/visualize/kibana.json * fix CI * fix CI Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* master: (36 commits) update apm index pattern (elastic#86739) [Visualizations] Remove vis_default_editor - visualize plugins cyclic dependencies (elastic#85422) [ML] Fix alignment of values in data frame analytics results view badges (elastic#86621) [Visualizations] Remove charts - editor plugins cyclic dependencies (elastic#84887) fixing blank page (elastic#86640) Update dependency vega to ^5.17.1 (elastic#86715) [Monitoring] Convert Kibana-related server files that read from _source to typescript (elastic#86364) Uses @elastic/elasticsearch-canary (elastic#86398) [CI] Removes script previously used for Karma (elastic#86412) [build] Remove grunt checkPlugins task (elastic#85852) [build] Remove grunt docker:docs task (elastic#85848) [ML] Add doc link for classification AUC ROC evaluation (elastic#86660) [ML] Edits saved object synchronization message (elastic#86664) Uses the new es client in canvas usage collector's fetch methods (elastic#86668) [ML] Support legacy watcher URL (elastic#86661) [ML] Fix Single Metric Viewer y domain extending beyond the visible focus area (elastic#86655) Migrates search telemetry usage collector es client from legacy to new (elastic#86597) [Alerting] Encourage type safe usage of Alerting (elastic#86623) Migrates kql_telemetry usage collector es client (elastic#86585) [ML] Fix time range adjustment for the swim lane causing the infinite loop update (elastic#86461) ...
… dependencies (#85422) (#86753) * [Visualizations] Remove vis_default_editor - visualize plugins cyclic dependencies # Conflicts: # src/plugins/visualize/kibana.json * fix CI * 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
Removes circular dependencies between
vis_default_editorandvisualizeplugins.The dependencies that were removed based on the node scripts/find_plugins_with_circular_deps --debug script.
What was changed in that PR:
setDefaultEditorfunction was added intovisualizeAPI (setup hook).vis_default_editorstill depends onvisualizeand executesetDefaultEditorhook on setup phaseThese two changes allowed the dependency to be kept in only one direction:
vis_default_editor->visualize