Skip to content
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: Add command that lists all possible commands/actions #52380

Open
liviopv opened this issue Jul 6, 2023 · 7 comments
Open

Command Palette: Add command that lists all possible commands/actions #52380

liviopv opened this issue Jul 6, 2023 · 7 comments
Labels
[Package] Commands /packages/commands [Type] Enhancement A suggestion for improvement.

Comments

@liviopv
Copy link

liviopv commented Jul 6, 2023

What problem does this address?

It's unclear what the Command Palette can do, and the guidance offered after triggering is minimal ("Type a command or search"). Curiosity goes a long way but it takes several queries to understand what it can or cannot do, which might provide enough friction to its usage.

What is your proposed solution?

It would be cool to have something similar to the wp help command in CLI. Typing 'help' or maybe "command" would provide a curated list of available commands based on the current context, and a link to an external resource documenting all possible commands.

@annezazu annezazu added [Type] Enhancement A suggestion for improvement. [Package] Commands /packages/commands labels Jul 6, 2023
@annezazu
Copy link
Contributor

annezazu commented Jul 6, 2023

I agree! I think this would be rad to see all listed and make it more intuitive to use. @youknowriad in case this is easy to implement for 6.3.

@youknowriad
Copy link
Contributor

There's a lot of commands that are dynamic: depend on the context, depend on what is being typed... So it's not really similar to wp help

@ndiego
Copy link
Member

ndiego commented Jul 10, 2023

There's a lot of commands that are dynamic: depend on the context, depend on what is being typed... So it's not really similar to wp help

Given @youknowriad's comment and the fact that Beta 4 is tomorrow, I don't think this enhancement should be considered for 6.3. @annezazu thoughts?

@annezazu
Copy link
Contributor

I agree. Moving out of the board and leaving open for future discussion.

@richtabor
Copy link
Member

There's a lot of commands that are dynamic: depend on the context

It could be useful to have a way to see all available commands, within the context you're in. Not sure what the trigger should be to invoke it though.

@richtabor richtabor changed the title Command Palette: add command that lists all possible commands/actions Jul 31, 2023
@richtabor richtabor changed the title Add command/trigger that lists all possible commands/actions Jul 31, 2023
@danielbachhuber
Copy link
Member

I just ran into this too. It would be nice to be able to see all registered commands.

@annezazu
Copy link
Contributor

Noting that this came up in the twenty fifth call for testing for the FSE Outreach Program:

I typed help and no results were found. Typing help it could perhaps be helpful to have a doc page show up that one can click and have it open in a new tab. I typed options and nothing showed up. Upon having typed only optio then the Open editor preferences showed up.

@annezazu annezazu changed the title Add command that lists all possible commands/actions Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Commands /packages/commands [Type] Enhancement A suggestion for improvement.
6 participants