elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.72k stars 8.14k forks source link

ESQL Editor: Query gets overwritten when changed while loading #192950

Open flash1293 opened 5 days ago

flash1293 commented 5 days ago

Kibana version: main

Describe the bug: When changing the ESQL query while the request is still running, the changes are overwritten once the currently running request resolves

Steps to reproduce:

  1. Change ESQL query to something that will take a little while to resolve
  2. Run query
  3. While query is running, change the query in the ESQL editor
  4. When the old query loads, the editor is set back to the old state

This also happens for the initial load.

Expected behavior: User input is never overwritten unexpectedly

Screenshots (if relevant): Image

Image

Any additional context:

Not sure whether this is an issue with the editor itself or with the Discover state management, in case it's wrong feel free to re-label.

elasticmachine commented 5 days ago

Pinging @elastic/kibana-esql (Team:ESQL)

elasticmachine commented 3 days ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)