-
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][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
Comments
Pinging @elastic/kibana-visualizations (Team:Visualizations) |
Pinging @elastic/kibana-esql (Team:ESQL) |
As a feature related to ES|QL and of a mid - high impact I am adding this on the ES|QL project team roadmap. Related to #184631 |
I think that this needs to wait for the Lens embeddable refactor |
this is unblocked now |
3 tasks
stratoula
added a commit
to stratoula/kibana
that referenced
this issue
Feb 21, 2025
…0780) ## Summary Closes elastic#186366  It keeps the chart configuration when the user is doing actions compatible with the current query such as: - Adding a where filter - Changing to a compatible chart type (from example from bar to line or pie to treemap) - In general changing the query that doesnt affect the generated columns mapped to a chart. ### Release notes Keeps the chart configuration changes done by the user when changing the query whenever it is possible. ### Checklist - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) (cherry picked from commit cb77b97) # Conflicts: # src/platform/packages/private/kbn-esql-editor/src/esql_editor.tsx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: