[Lens][ES|QL] Re-running the query should keep the selected configuration if possible #186366
Labels
enhancement
New value added to drive a business result
Feature:ES|QL
ES|QL related features in Kibana
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Team:ESQL
ES|QL related features in Kibana
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Describe the feature:
Right now, every time a user submits a query in the editor, the Lens suggestions api runs and suggests a new chart. This results in changed made in the visualization level to be lost.
It would be cool if we could at least prioritize the activeVisualization chart Type and some of the configuration if is valid. The type will be very easy as the suggestions api can already do it (with the
preferredChartType
property). The visualization state is lost though (colors, legend settings etc).We need to:
The text was updated successfully, but these errors were encountered: