Skip to content
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] suggestions inserted too far forward in numeric expression #199240

Open
drewdaemon opened this issue Nov 6, 2024 · 1 comment
Open

[ES|QL] suggestions inserted too far forward in numeric expression #199240

drewdaemon opened this issue Nov 6, 2024 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:ES|QL ES|QL related features in Kibana impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:ESQL ES|QL related features in Kibana

Comments

@drewdaemon
Copy link
Contributor

Kibana version:
8.16

Describe the bug:
Suggestions are inserted too far forward when suggestions are created using the Invoke trigger kind in FROM kibana_sample_data_logs | WHERE bytes + /

Steps to reproduce:

  1. Enter FROM kibana_sample_data_logs | WHERE bytes +
  2. Press ESC to close the suggestions menu
  3. Enter a character such as b
  4. Select a suggestion

Expected behavior:
The existing b is replaced with the suggestion. Instead, it is inserted after the b.

Screenshots (if relevant):

Screen.Recording.2024-11-06.at.3.19.34.PM.mov

Any additional context:
The suggestions also seem to be goofed up...

Screen.Recording.2024-11-06.at.3.17.27.PM.mov

The same behavior can be seen in EVAL

@drewdaemon drewdaemon added bug Fixes for quality problems that affect the customer experience Feature:ES|QL ES|QL related features in Kibana impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:ESQL ES|QL related features in Kibana labels Nov 6, 2024
@elasticmachine
Copy link
Contributor

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

@stratoula stratoula added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. and removed impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:ES|QL ES|QL related features in Kibana impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:ESQL ES|QL related features in Kibana
Projects
None yet
Development

No branches or pull requests

3 participants