[ES|QL] Adds shortcuts in the editor#221331
Merged
stratoula merged 10 commits intoelastic:mainfrom May 26, 2025
Merged
Conversation
Contributor
|
Thanks @stratoula, it looks great! And you're right, let's update the button to primary to follow the same color scheme. |
Contributor
|
Pinging @elastic/kibana-esql (Team:ESQL) |
Contributor
Author
stratoula
commented
May 23, 2025
src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_top_row.tsx
Outdated
Show resolved
Hide resolved
…_input/query_bar_top_row.tsx
Contributor
💔 Build Failed
Failed CI Steps
Test Failures
Metrics [docs]Module Count
Async chunks
History
|
ThomThomson
approved these changes
May 26, 2025
Contributor
ThomThomson
left a comment
There was a problem hiding this comment.
Changes LGTM! Tested this locally and made sure shortcuts still work in data views & ESQL modes.
Contributor
|
Starting backport for target branches: 8.19 |
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
May 26, 2025
## Summary Closes elastic#214540 Removes the shortcuts from the Unified search component (I did some additional cleaning too) and adds it as a button in the editor. <img width="952" alt="image" src="https://github.com/user-attachments/assets/c1038c89-09fe-4d27-8884-267aa2abadea" /> <img width="426" alt="image" src="https://github.com/user-attachments/assets/0ef1aed6-bdc6-4564-9892-02addbcbc114" /> <img width="439" alt="image" src="https://github.com/user-attachments/assets/69276b58-2651-4130-9136-ed9246e5787f" /> Removed the shortcut from the tooltip and button <img width="669" alt="image" src="https://github.com/user-attachments/assets/2d28c82c-9f0f-43d2-a2fc-a13a77bdfafc" /> ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] 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) (cherry picked from commit 543a7b6)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
May 26, 2025
# Backport This will backport the following commits from `main` to `8.19`: - [[ES|QL] Adds shortcuts in the editor (#221331)](#221331) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Stratoula Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2025-05-26T15:37:05Z","message":"[ES|QL] Adds shortcuts in the editor (#221331)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/214540\n\nRemoves the shortcuts from the Unified search component (I did some\nadditional cleaning too) and adds it as a button in the editor.\n\n<img width=\"952\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c1038c89-09fe-4d27-8884-267aa2abadea\"\n/>\n\n<img width=\"426\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/0ef1aed6-bdc6-4564-9892-02addbcbc114\"\n/>\n\n<img width=\"439\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/69276b58-2651-4130-9136-ed9246e5787f\"\n/>\n\n\nRemoved the shortcut from the tooltip and button\n\n<img width=\"669\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2d28c82c-9f0f-43d2-a2fc-a13a77bdfafc\"\n/>\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)","sha":"543a7b6981b281e2efe9e1b8ea2ec2f6d7c3dca0","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Feature:ES|QL","Team:ESQL","backport:version","v9.1.0","v8.19.0"],"title":"[ES|QL] Adds shortcuts in the editor","number":221331,"url":"https://github.com/elastic/kibana/pull/221331","mergeCommit":{"message":"[ES|QL] Adds shortcuts in the editor (#221331)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/214540\n\nRemoves the shortcuts from the Unified search component (I did some\nadditional cleaning too) and adds it as a button in the editor.\n\n<img width=\"952\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c1038c89-09fe-4d27-8884-267aa2abadea\"\n/>\n\n<img width=\"426\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/0ef1aed6-bdc6-4564-9892-02addbcbc114\"\n/>\n\n<img width=\"439\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/69276b58-2651-4130-9136-ed9246e5787f\"\n/>\n\n\nRemoved the shortcut from the tooltip and button\n\n<img width=\"669\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2d28c82c-9f0f-43d2-a2fc-a13a77bdfafc\"\n/>\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)","sha":"543a7b6981b281e2efe9e1b8ea2ec2f6d7c3dca0"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/221331","number":221331,"mergeCommit":{"message":"[ES|QL] Adds shortcuts in the editor (#221331)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/214540\n\nRemoves the shortcuts from the Unified search component (I did some\nadditional cleaning too) and adds it as a button in the editor.\n\n<img width=\"952\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c1038c89-09fe-4d27-8884-267aa2abadea\"\n/>\n\n<img width=\"426\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/0ef1aed6-bdc6-4564-9892-02addbcbc114\"\n/>\n\n<img width=\"439\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/69276b58-2651-4130-9136-ed9246e5787f\"\n/>\n\n\nRemoved the shortcut from the tooltip and button\n\n<img width=\"669\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2d28c82c-9f0f-43d2-a2fc-a13a77bdfafc\"\n/>\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)","sha":"543a7b6981b281e2efe9e1b8ea2ec2f6d7c3dca0"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
akowalska622
pushed a commit
to akowalska622/kibana
that referenced
this pull request
May 29, 2025
## Summary Closes elastic#214540 Removes the shortcuts from the Unified search component (I did some additional cleaning too) and adds it as a button in the editor. <img width="952" alt="image" src="https://github.com/user-attachments/assets/c1038c89-09fe-4d27-8884-267aa2abadea" /> <img width="426" alt="image" src="https://github.com/user-attachments/assets/0ef1aed6-bdc6-4564-9892-02addbcbc114" /> <img width="439" alt="image" src="https://github.com/user-attachments/assets/69276b58-2651-4130-9136-ed9246e5787f" /> Removed the shortcut from the tooltip and button <img width="669" alt="image" src="https://github.com/user-attachments/assets/2d28c82c-9f0f-43d2-a2fc-a13a77bdfafc" /> ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] 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)
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
Closes #214540
Removes the shortcuts from the Unified search component (I did some additional cleaning too) and adds it as a button in the editor.
Removed the shortcut from the tooltip and button
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.