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 to switch back to the site editor #61460

Open
annezazu opened this issue May 8, 2024 · 0 comments
Open

Command Palette: add command to switch back to the site editor #61460

annezazu opened this issue May 8, 2024 · 0 comments
Labels
[Package] Commands /packages/commands [Type] Enhancement A suggestion for improvement.

Comments

 @annezazu
Copy link
Contributor

Currently, using GB 18.2, there's a command to add a new post but then, if you want to generally return to the Site Editor, you can't just type "site editor". Nothing shows up:

command.palette.site.editor.command.mov

This surprised me for being able to quickly get back after creating a post. We have three options:

  • Add the ability to enter "Site editor" to return to. This would lay the groundwork perhaps for having the command palette across wp-admin where locations would be more desirable to go to: Command Palette: enable the command palette to be evoked everywhere in WordPress  #58218
  • Show the top level items within the Site Editor: Pages, Templates, Styles (which you can search and access).
  • Do nothing. We decide the command palette isn't going to take this approach.

I have a feeling the second option might be more palatable:

 Screenshot 2024-05-07 at 5 46 39 PM

This makes me wonder if we can improve the empty state of the command palette a bit to show no results found but offer some intelligent suggestions.

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.
Projects
None yet
Development

No branches or pull requests

1 participant