diff --git a/docs/content/1.guide/16.hub.md b/docs/content/1.guide/16.hub.md index 37311201..7cd1250d 100644 --- a/docs/content/1.guide/16.hub.md +++ b/docs/content/1.guide/16.hub.md @@ -79,6 +79,8 @@ ctx.commands.register({ Set `showInPalette: 'without-children'` on a parent to keep its whole subtree out of root search while leaving it reachable by drilling down. +Set `allowShortcuts: false` for commands that require arguments from their caller. The hub UI hides their shortcut settings and ignores default and saved bindings. Explicit calls through `ctx.commands.execute(id, ...args)` remain available. This option is independent of `showInPalette` and applies to each command individually, including nested commands. + ## Cross-iframe dock activation A mounted devframe's iframe uses `hub:docks:activate` to switch the active dock. diff --git a/packages/hub-ui/src/client/components/views-builtin/SettingsShortcuts.vue b/packages/hub-ui/src/client/components/views-builtin/SettingsShortcuts.vue index 841f83d6..d1d1bd34 100644 --- a/packages/hub-ui/src/client/components/views-builtin/SettingsShortcuts.vue +++ b/packages/hub-ui/src/client/components/views-builtin/SettingsShortcuts.vue @@ -1,10 +1,11 @@