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: consider bringing back more context to names of commands #54230
Comments
Yea, I agree. The tricky part is on these more generic locations, even some with the same icons. I'm not sure why "Open style revisions" is now just "Styles" though — that doesn't seem right. Here's an issue on adding context to post types: #51505 |
And templates should be clearly identified as templates: Why I leaned towards this exploration in #53192 (comment), where the category/type/source could be exposed like "Templates > Index": |
Yeah, I am feeling that latter design might be helpful to explore at this stage. |
Or even just the context on the right side. |
I think this issue needs to be considered for localization. Depending on the language, the word order may not always be The following is an example of a pattern description. English (en)
French (fr_FR)
German (de_DE)
Italiano (it_IT)
|
Yea, I'll push @youknowriad's suggestion here. |
I think we can solve it without having to split up the command list, keeping the flow predictable and simple. I don't personally mind appended template/template part. But also the text on the right side could be helpful (#53192), especially if folks start adding third-party commands. It's an extra affordance to help identify what the command is/where it's from, rather than if it's a command or shortcut. For templates, we could have "Templates" as the extra affordance. |
Yeah there's probably many ways to slice it.
Might be worth trying this. Having the identifier in a consistent position seems way more scannable compared to the suffix. Makes the localisation element simpler too. |
@richtabor unsure if this is what you meant, but it could work: It solves all the issues with the suffix approach, and plays nicely with the third-party identification pattern you proposed. |
Yea I think so. |
More food for thought with the Command Palette from the FSE Outreach Program's Final Touches call for testing:
|
On a WordPress multisite install, it would be nice to have an affordance for selecting a site to run the command on. |
Grouping is worth revisiting. linear-command.mp4vercel-command.mp4You can also see nested commands which would resolve scenarios like @danielbachhuber multisite or digging into a post type commands without navigating. |
What problem does this address?
In testing out GB 16.6, I'm noticing that it's tricky to know which command to use for patterns, styles, pages as there's not much distinction in the duplicated items:
command.palette.which.commands.to.use.mov
Here's a specific example with Styles (of note, where is the style revision option?):
With just 6.3, while harder to skim, it's easier to get a sense of what each command will do:
styles.open.command.mov
What is your proposed solution?
I think we need to keep iterating on how verbose these descriptions are. Currently, I found I needed to guess which option might match what I'm trying to do between patterns, styles, and pages. cc @WordPress/gutenberg-design
The text was updated successfully, but these errors were encountered: