Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAutocomplete on expression inputs is overzealous #3718
Comments
juliusv
added
kind/bug
component/ui
labels
Jan 21, 2018
This comment has been minimized.
This comment has been minimized.
|
/cc @lovisas |
This comment has been minimized.
This comment has been minimized.
|
Not auto selecting the first completion item is something that definitively should be fixed. I'll take a go at making the matching against historical expressions smarter as well. |
This comment has been minimized.
This comment has been minimized.
|
@lovisas Awesome, thanks! |
This comment has been minimized.
This comment has been minimized.
|
Let me know if this is blocking anyone/anything and I'll split up the work in two smaller PRs to get it through quicker! |
This comment has been minimized.
This comment has been minimized.
|
@lovisas I guess it'd be good to have something in the next release, but since 2.1.0 just happened, that's probably still quite a ways off. |
This comment has been minimized.
This comment has been minimized.
|
We could consider the current behavior a bug (even a regression as we had the same problem before and then reverted the advanced autocompletion) and then release a fix in 2.1.1. |
This comment has been minimized.
This comment has been minimized.
|
Yeah, I did mark this issue as a bug and consider it one (that really impacts Prometheus use), so doing a 2.1.1 soon would be a good idea. |
This comment has been minimized.
This comment has been minimized.
|
+1 for a 2.1.1 release soon. |
brian-brazil
closed this
Feb 15, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
juliusv commentedJan 21, 2018
See:
When I type that expression and just press "Return", it will now select a completely unrelated historical expression and execute that instead. It's now quite hard to just query what you want to query when having "Search query history" enabled.
This should be smarter / more restrictive in the matching of history items, and/or it should not auto-select the first completion item, but rather whatever the user has typed (which would require the user to press DownArrow to select the first completion item instead).