Skip to content

Conversation

@stratoula
Copy link
Contributor

@stratoula stratoula commented Nov 6, 2025

Summary

Closes #220050

image

Adds a quick search functionality in the editor. The visor:

  • doesn't have a double biding functionality. It is an one off feature. You use it to update your query but it is not updated if the query changes. Only the indices
  • It closes if the user starts typing in the editor
  • It updates the query with the KQL function, it doesnt continue the current query, it overwrites it

Checklist

@stratoula stratoula force-pushed the simplified-search-esql branch from 5695fec to ca86f3f Compare November 7, 2025 10:01
@stratoula stratoula added Feature:ES|QL ES|QL related features in Kibana Team:ESQL ES|QL related features in Kibana t// labels Nov 13, 2025
]
);

const onUpdateAndSubmitQuery = useCallback(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One callback to share for both the starred queries and the visor

@stratoula stratoula added backport:skip This PR does not require backporting release_note:enhancement v9.3.0 labels Nov 19, 2025
@stratoula stratoula marked this pull request as ready for review November 19, 2025 12:15
@stratoula stratoula requested a review from a team as a code owner November 19, 2025 12:15
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@sddonne sddonne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really beautiful!!
Found what I think it's a little bug when used within Controls flyout

Copy link
Contributor

@sddonne sddonne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! haven't test it again

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
esql 438 448 +10

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
esql 579.4KB 589.3KB +9.9KB
unifiedSearch 392.2KB 392.2KB +30.0B
total +9.9KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
esql 18.4KB 18.5KB +107.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
@kbn/esql-editor 10 11 +1

Total ESLint disabled count

id before after diff
@kbn/esql-editor 10 11 +1

History

@stratoula stratoula merged commit b2b8dd2 into elastic:main Nov 21, 2025
12 checks passed
eokoneyo pushed a commit to eokoneyo/kibana that referenced this pull request Dec 2, 2025
## Summary

Closes elastic#220050

<img width="1509" height="224" alt="image"
src="https://github.com/user-attachments/assets/3634ceb8-c335-4be6-a8fc-5c480995229b"
/>

Adds a quick search functionality in the editor. The visor:

- doesn't have a double biding functionality. It is an one off feature.
You use it to update your query but it is not updated if the query
changes. Only the indices
- It closes if the user starts typing in the editor
- It updates the query with the KQL function, it doesnt continue the
current query, it overwrites it


### 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] [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

---------

Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting Feature:ES|QL ES|QL related features in Kibana release_note:enhancement Team:ESQL ES|QL related features in Kibana t// v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ES|QL] - Simplified Search for ES|QL in Discover

4 participants