-
Notifications
You must be signed in to change notification settings - Fork 384
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 pallete should have access to almost all ui actions #1132
Comments
Me and @nikolausWest discussed this a bit more today. There are some thoughts: Summary
This issue is just a VERY rough outline. There is much to figure out when it comes to syntax. The blank command paletteWhen you open the command palette, it should invite you to do one out of a few things:
SelectionsThere are many things we may want to be able to select:
Some commands require multiple arguments, e.g. "add How do we differentiate what is beeing selected? Do we prefix? E.g. Command orderConsider the command for adding entities to some space view. It could be viewed as one function with two arguments: It is probably better with a more object-oriented design, where we have a list of functions that is dependent on the preceeding object (like We should also allow using the current selection in any command, at least in the first position |
We need to make the command pallete much more powerful and much easier to integrate in almost all aspects of the viewer.
To achieve that we need to (among other things):
Command
in https://github.com/rerun-io/rerun/blob/main/crates/re_ui/src/command.rs)Stronger formalization of actions in the code like this will also make it easier in the future to add undo/redo!
The text was updated successfully, but these errors were encountered: