-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Description
When using the Command Palette, commands for navigating to the current screen/context are still displayed.
For example:
If you are already in the Navigation screen, the Command Palette still suggests “Go to Navigation.”
Similarly, in other screens (e.g., Posts, Pages, Templates, Dashboard), “Go to [current screen]” is listed as an option.
This creates unnecessary noise and reduces the usefulness of the Command Palette by showing actions that have no effect.
Steps to Reproduce
- Goto admin/editor area in your site.
- Navigate to a specific area, e.g., Navigation.
- Open the Command Palette (Cmd + K / Ctrl + K).
- Search for “Navigation."
Actual Behavior
The palette suggests “Go to Navigation,” even though the user is already there.
Expected Behavior
Commands to navigate to the current context should be hidden or deprioritised, as they are redundant.
Environment
- WordPress site setup with Gutenberg 21.5+
- Browsr: Chrome
Impact :
- Adds visual clutter.
- May confuse users who expect results to be context-aware.
Screencap
cmd.palette.-.context.issue.mov
@t-hamano Due to limited access to the repo, I can not tag the issue, but this is not a bug; it is something we can consider as an improvement.