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] capitalize function and operator signatures (elastic#189109)
## Summary This is a follow-up to elastic#186340. I forgot to capitalize the labels for functions and operators. Fixed now. **Before** <img width="1321" alt="Screenshot 2024-07-24 at 10 26 52 AM" src="https://github.com/user-attachments/assets/05102828-0469-4b14-a2f9-34a160edbd18"> **After** <img width="1286" alt="Screenshot 2024-07-24 at 10 23 59 AM" src="https://github.com/user-attachments/assets/dd01ccde-ec12-4ad3-98f7-561e5d233e52"> Also, this PR changes the validation error messages to actually reflect what the user has typed: **Before** <img width="697" alt="Screenshot 2024-07-24 at 11 43 54 AM" src="https://github.com/user-attachments/assets/28cbbd4c-1b3e-4d22-a1af-33b2f17af597"> **After** <img width="709" alt="Screenshot 2024-07-24 at 11 40 48 AM" src="https://github.com/user-attachments/assets/dffd4a29-d348-44d0-ba58-00a0a70d04b3"> <img width="663" alt="Screenshot 2024-07-24 at 11 39 54 AM" src="https://github.com/user-attachments/assets/dff0c726-d028-4826-a1cd-030e733987a7"> ### Checklist Delete any items that are not applicable to this PR. - [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/packages/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 (cherry picked from commit 05b6d7e) # Conflicts: # packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/autocomplete.command.stats.test.ts # packages/kbn-esql-validation-autocomplete/src/autocomplete/__tests__/helpers.ts
- Loading branch information
1 parent
6fa139b
commit 218d058
Showing
7 changed files
with
129 additions
and
43 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
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
Oops, something went wrong.