-
Notifications
You must be signed in to change notification settings - Fork 8k
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
[ES|QL] ES|QL panel query doesn't change after user modifies the query, clicks on update and even after clicks on apply and close #183336
Comments
Pinging @elastic/kibana-esql (Team:ESQL) |
Pinging @elastic/kibana-presentation (Team:Presentation) |
Pinging @elastic/kibana-visualizations (Team:Visualizations) |
I am moving this to the presentation and visualizations teams, it seems that the panels filters do not listen the changes or something like that. |
Confirming here that this is a Presentation team bug. It's likely caused by our embeddable refactor work. I.e. actions don't subscribe to every state change anymore, just the ones that are likely to cause them to update. Should be a pretty straightforward fix. |
Thanx Devon and team for your super fast response |
I have diagnosed the problem and need help with picking the best solution. The problem is that there are 2 sources of visualization state in the LensEmbeddable,
The LensEmbeddable implementation of getQuery pulls the query from this.savedVis?.state.query
The problem is that
What is the best solution to this problem? Should Please advise. |
Thanx for digging into this Nathan, I see. I think the cleanest solution is that the |
Kibana version: 8.14.0 BC4
Elasticsearch version: 8.14.0
Browser version: chrome latest
Original install method (e.g. download page, yum, from source, etc.): from staging
Describe the bug: When user adds an ES|QL panel and changes the generic query to desired query and runs it - the panel query doesn't update. Also doesn't update even after they click on apply and close on edit ES|QL panel. Updates are visible only after user saves the dashboard and then clicks on edit again.
Steps to reproduce:
Screenshots (if relevant):
panel_filter.mp4
panel_filter_1.mp4
The text was updated successfully, but these errors were encountered: