Could CommandPalette post "highlighted" events to the App when you move the cursor through the result list? #4587
darrenburns
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
It's a bit niche but it makes sense to me: information isolation over information loss. 🤔 . o O ( I wonder if it could/should also be an |
Beta Was this translation helpful? Give feedback.
0 replies
-
Seems reasonable. Although where would that message go? To the app? Would you also need a message for when the command palette is dismissed? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A fix was put in place a while back to prevent
OptionList.Highlighted
events from "escaping" the command palette.I'm interested in receiving these events inside my app - I wonder if the command palette could post it's own
CommandPalette.ResultHighlighted
event.The reason I want this is when an option is highlighted, I want to update my app to preview what it looks like. In VS Code, when you "highlight" a theme in the command palette, the full UI updates to give you a preview of how it'll look - I'd like a similar feature in my app.
If there are no objections - I can PR this.
Beta Was this translation helpful? Give feedback.
All reactions