app/vmui: add quick start and history autocomplete suggestions#1557
app/vmui: add quick start and history autocomplete suggestions#1557Loori-R wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
20 issues found across 60 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
101319a to
7f59b98
Compare
|
I like the change! Thanks @Loori-R ! A few comments:
Screen.Recording.2026-07-01.at.11.55.29.mov(the video clip shows glitch when cursor is pointing on the item in the list and I am using keys to scroll down)
|
@hagen1778, I’d keep the current behavior and not run examples immediately on click. Reasons:
|
I think there are still a couple of valid cases for keeping failed queries in history:
Maybe a good compromise would be:
|
f812317 to
f0595a4
Compare
There was a problem hiding this comment.
Overall looks good!
Just want to suggest an enhancement of history. When I try to use it with many values, I don't see the history of previous queries (I don't know if the history section exists below). Example:
What I want to suggest.
Make something similar to the console history works.
So we show the latest similar query that starts with our current query. With the history hotkeys (cmd/ctrl + up/down), we can search in the history. Also would be nice to show these hotkeys at the bottom of the popup:
So looks like in this case we can remove the history section if the query is not empty or "*".
@Loori-R , @hagen1778, what do you think about it? We can discuss it on sync and create a separate PR.


Describe Your Changes
Simplify query history and improve autocomplete suggestions in the query editor.
Related issue: #1498
Changes
localStorage-backed history source*expressionNotes
Quick Start examples are defined in:
app/vmui/packages/vmui/src/components/Configurators/QueryEditor/QueryExamples/examples/quickStartExamples.tsx@hagen1778, please check whether the Quick Start examples are correct and useful.
Screenshots
Quick Start suggestions
History suggestions
Query history grouped by day