-
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 editor auto refresh #65868
Lens editor auto refresh #65868
Conversation
@elasticmachine merge upstream |
@elasticmachine merge upstream |
merge conflict between base and head |
@wylieconlon Suggestions also auto-reload now |
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!
Tested in chrome
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Fixes #57671
This PR makes sure the lens visualization auto-refreshes when it is configured in the date picker.
To do so without completely unmounting the expression renderer component and thus recreating the expression loader instance, this PR introduces a new prop
refresh$
on the expression renderer which allows to reload the expression without re-rendering the whole react tree.We can use the same mechanism in the Lens embeddable, but I would like to do that separately.