Summary
@wordpress/commands ships a self-contained CommandMenu component that provides a Cmd+K command palette — but GutenbergKit never mounts it. On iPads with hardware keyboards, this means users have no access to the command palette at all.
Context
The package is already a direct dependency (used as a global in wordpress-globals.js), and as of @wordpress/commands 1.43.0 (#450) the palette now includes "Recently Used" command tracking. None of this is reachable today.
What's needed
- Render
<CommandMenu /> in the component tree (e.g. in src/components/layout/index.jsx) — this is the minimal change to make Cmd+K work.
- Register commands — the palette will be empty unless commands are registered via
useCommand() / useCommandLoader(). Need to determine which commands make sense in the native app context (e.g. block insertion, navigation, settings toggles).
- Verify style loading — confirm that
@wordpress/commands/build-style/style.css is bundled correctly.
- Verify preferences persistence — the "recently used" feature writes to
@wordpress/preferences. Need to confirm the persistence layer is wired up so recents survive across sessions.
Scope
This is only relevant for iPad with a hardware keyboard — there's no practical way to trigger Cmd+K on phones or tablets without a keyboard attached.
Summary
@wordpress/commandsships a self-containedCommandMenucomponent that provides aCmd+Kcommand palette — but GutenbergKit never mounts it. On iPads with hardware keyboards, this means users have no access to the command palette at all.Context
The package is already a direct dependency (used as a global in
wordpress-globals.js), and as of@wordpress/commands1.43.0 (#450) the palette now includes "Recently Used" command tracking. None of this is reachable today.What's needed
<CommandMenu />in the component tree (e.g. insrc/components/layout/index.jsx) — this is the minimal change to makeCmd+Kwork.useCommand()/useCommandLoader(). Need to determine which commands make sense in the native app context (e.g. block insertion, navigation, settings toggles).@wordpress/commands/build-style/style.cssis bundled correctly.@wordpress/preferences. Need to confirm the persistence layer is wired up so recents survive across sessions.Scope
This is only relevant for iPad with a hardware keyboard — there's no practical way to trigger
Cmd+Kon phones or tablets without a keyboard attached.