-
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
[Lens] Removing updateVisualizationState updater #113779
[Lens] Removing updateVisualizationState updater #113779
Conversation
d2a9a5b
to
cd0ab56
Compare
9d510d3
to
6e0f7b5
Compare
6e0f7b5
to
50ee07b
Compare
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.
Can I merge upstream here to test some changes on the dimension_editor
in thresholds? They were affected by some updateState` special trick and would like to test with the new implementation.
@elasticmachine merge upstream |
…ualization_updater_removed # Conflicts: # x-pack/plugins/lens/public/mocks.tsx
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.
Tested locally and could not break it 👍
Will approve now even if the PR will be merged later on.
@elasticmachine merge upstream |
…ualization_updater_removed # Conflicts: # x-pack/plugins/lens/public/mocks.tsx
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
@elasticmachine merge upstream |
This reverts commit 1bb2e1a.
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
Summary
updateState
function with updaters into three separatesetLayerDefaultDimension, removeOrClearLayer
andaddLayer
.chart_switch
(removeLayers for datasource and then updateVisualizationState for each vis layer) , we runremoveLayers
.updateLayer
withinsertLayer
updateVisualizationState
Test changes: