[Lens powered by ES|QL] Update Switch to Query mode modal warning message#251051
Merged
mariairiartef merged 4 commits intoelastic:mainfrom Jan 30, 2026
Merged
Conversation
Contributor
|
Pinging @elastic/kibana-visualizations (Team:Visualizations) |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the warning message in the "Switch to Query mode" modal to clarify that users can revert the conversion before saving changes. The previous message incorrectly implied an immediate irreversible change, while the updated message specifies that the conversion only becomes permanent after saving the chart.
Changes:
- Updated the warning message text to indicate that switching to query mode is only irreversible after saving the chart
walterra
approved these changes
Jan 30, 2026
hannahbrooks
pushed a commit
to hannahbrooks/kibana
that referenced
this pull request
Jan 30, 2026
…sage (elastic#251051) ## Summary Close elastic/kibana-team#2735 The warning message in the "Switch to query mode" modal stated "Once query mode is activated you cannot switch back to visual mode." However, this only applies after saving the changes via the "Apply and close" button. We've updated the message to clarify that users can still revert the conversion before clicking "Apply and close". Additionally, we have updated the modal title to "Switch to query mode" for consistency. <img width="624" height="427" alt="Screenshot 2026-01-30 at 15 57 20" src="https://github.com/user-attachments/assets/6da31673-278f-4d8f-ac06-a14a1a42a9da" /> ## Checklist - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [x] 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) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels.
mbondyra
added a commit
to mbondyra/kibana
that referenced
this pull request
Feb 2, 2026
…iew_cps * commit '32efd9b2fb078ade51073fd2d0068bc74c029d6b': (49 commits) [Security Solution] Rules exceptions subfeatures (elastic#245722) [BK] Upgrade axios (elastic#251150) Fix AI Connector form fields resetting to default value when cleared by user (elastic#251095) deduplicate otel dependencies (elastic#250841) Adds initial agents.md file (elastic#250833) [index management] Faster index list loading (elastic#246276) skip failing test suite (elastic#251086) skip failing test suite (elastic#251048) [Security Solutions] Trial Companion - adjust UX design (elastic#250910) [Traces][Discover] Prevent flyout remount when switching document types in Trace Waterfall (elastic#250406) [DOCS][Cases][9.4 & Serverless]: Doc new `Maximum amount of cases to open` setting for case action (elastic#250993) [Discover][Traces] Explore trace.id from logs in Discover (elastic#249632) Remove ! from SOs docs link (elastic#251097) [ML] Maps: Add telemetry events for file uploads (elastic#247543) [Fleet] Fix dupplicate ids when copying an integration policy or an agent policy (elastic#250971) [Dashboards as Code] Add snake case object keys util (elastic#250962) [Core] Remove URL Overflow & Deprecate `storeInSessionStorage` setting (elastic#242972) [One Workflow] fix: Fix Variable Retrieval in Workflow Execution Engine (elastic#250852) Rework Elastic Managed LLMs page (elastic#251069) [Lens powered by ES|QL] Update Switch to Query mode modal warning message (elastic#251051) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Close https://github.com/elastic/kibana-team/issues/2735
The warning message in the "Switch to query mode" modal stated "Once query mode is activated you cannot switch back to visual mode." However, this only applies after saving the changes via the "Apply and close" button. We've updated the message to clarify that users can still revert the conversion before clicking "Apply and close".
Additionally, we have updated the modal title to "Switch to query mode" for consistency.
Checklist
release_note:*label is applied per the guidelinesbackport:*labels.