forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ES|QL] remove inaccurate values suggestions (elastic#189228)
## Summary Today, we get a list of field names and functions where values should be suggested instead. Since we can't yet suggest values in most cases, this PR prevents any suggestions from being shown in a values context. ### Values suggestions hidden **Before** https://github.com/user-attachments/assets/ddf02092-4c61-4a80-8666-c9b4fca735be **After** https://github.com/user-attachments/assets/f1c50a8b-6bd1-4e44-b56f-68f8510e53f6 ### But not for index names However, index names are still suggested within quotes https://github.com/user-attachments/assets/a416220c-370b-4bb3-a1bc-c2d4bada18ca But not if a space is entered https://github.com/user-attachments/assets/83d3d1e4-b11b-4bdb-b250-c0f1575fe82f However, there were a few cases with quoted index names which I just couldn't find a good way to cover. They are recorded here https://github.com/elastic/kibana/pull/189228/files#diff-4a3b7269c26dc777be5c0b2a9a1d8f4b1897b7921f6d3e7a176defdf67e83fc6R910-R912 ### Checklist Delete any items that are not applicable to this PR. - [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: Stratoula Kalafateli <[email protected]>
- Loading branch information
1 parent
35f6376
commit 70cad5e
Showing
4 changed files
with
87 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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