-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[ES|QL] Simplified search visor #242123
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
[ES|QL] Simplified search visor #242123
Conversation
5695fec to
ca86f3f
Compare
| ] | ||
| ); | ||
|
|
||
| const onUpdateAndSubmitQuery = useCallback( |
There was a problem hiding this comment.
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
|
Pinging @elastic/kibana-esql (Team:ESQL) |
sddonne
left a comment
There was a problem hiding this 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
src/platform/packages/private/kbn-esql-editor/src/editor_visor/index.tsx
Show resolved
Hide resolved
sddonne
left a comment
There was a problem hiding this 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
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
|
## 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]>
Summary
Closes #220050
Adds a quick search functionality in the editor. The visor:
Checklist