-
Notifications
You must be signed in to change notification settings - Fork 334
Command Palette #13658
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
Command Palette #13658
Conversation
|
My feedback: I like the idea for the dashboard! It would also be nice to show the shortcuts there as well, as an additional discoverability tool. For the graph editor, though, the items on the screenshot seem confusing and not useful. It is questionable whether we need all actions from the dashboard available inside graph editor (perhaps some), but also actions should be related to selected components — I don’t want to hide some arbitrary visualization, I want to hide the one that is currently selected!. With better implementation, it can be helpful on the graph editor side also. |
yeah. not sure what's a good solution here though, how can we detect whether a graph editor tab is currently open? |
|
|
It is a user-facing feature, so why no changelog entry? |
| 'commandPalette.close': { | ||
| icon: 'close', | ||
| description: 'Close Command Palette', | ||
| shortcut: commandPaletteBindings.bindings['commandPalette.close'], | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need a separate close action? For example, component browser does not have it, but global Esc key works.
|
8a676d9 to
64b46bb
Compare


Pull Request Description
Ctrl+K(non-macOS)/Cmd+K(macOS) to open,Escapeto closefuzzysortlibrary to search, and highlight matchesuseMenuEntriesused for menus on the Dashboard;andregisterHandlersused for registering key bindings on the Project ViewregisterHandlersare no longer being used to generate Command Palette entries for now because they should be more finely scoped/thought should be taken to make it more intuitive)Important Notes
Note
Not requested by anyone, just opening for feedback
Screenshots
Search:

With project selected:

Actions on Local backend:

Actions on Cloud backend:

Actions in Editor (two visualizations open):

I guess something needs to be done about deduplication, not sure what though
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
The documentation has been updated, if necessary.Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
Unit tests have been written where possible.If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,or the Snowflake database integration, a run of the Extra Tests has been scheduled.
If applicable, it is suggested to paste a link to a successful run of the Extra Tests.