WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.55k stars 4.22k forks source link

Command Palette: Add context to post type commands #51505

Open richtabor opened 1 year ago

richtabor commented 1 year ago

Instead of simply returning the post or page title, let's adapt them to be a bit more readable by adding an action and the context for each.

CleanShot 2023-06-14 at 15 42 05

Thoughts @WordPress/gutenberg-design?

paaljoachim commented 1 year ago

Adding context can be very helpful!

jasmussen commented 1 year ago

Agreed.

abhi3315 commented 1 year ago

If no one has been assigned to this task, I am willing and able to take it on.

richtabor commented 1 year ago

If no one has been assigned to this task, I am willing and able to take it on.

I've been leaning into command palette a good bit lately. This would not be necessary if https://github.com/WordPress/gutenberg/issues/53192 is implemented (using "Posts" as the category/type to identify the command and add more context).

richtabor commented 1 year ago

If no one has been assigned to this task, I am willing and able to take it on.

This could be an interesting command to work on though: https://github.com/WordPress/gutenberg/issues/53191

abhi3315 commented 1 year ago

Thanks @richtabor

I would take a look into #53191