-
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
Fix auto refresh in visualizations and lens #57667
Conversation
@@ -441,14 +441,6 @@ function VisualizeAppController( | |||
}) | |||
); | |||
|
|||
subscriptions.add( |
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.
Not necessary anymore, the embeddable handles that from now on.
Pinging @elastic/kibana-app-arch (Team:AppArch) |
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.
code lgtm
@elasticmachine merge upstream |
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.
Code LGTM, tested locally in Chrome, auto refresh at Dashboards is now functional 👍
src/legacy/core_plugins/visualizations/public/embeddable/visualize_embeddable.ts
Outdated
Show resolved
Hide resolved
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Fixes #57536
This PR subscribes to the auto refresh observable provided by the timefilter service from the data plugin to reload the lens and visualization embeddable when a new value is emitted. This does not fix the same issue in the lens editor, this is tracked separately here: #57671
This is an interim solution to fix this for the 7.6.1, mid term this logic will be centralized in an embeddable super class.