Using the command palette
Open the command palette with Cmd+K on macOS or Ctrl+K on Windows and Linux. It opens from any page.- Type to filter commands by name
- Arrow keys to navigate between results
- Enter to execute the selected command
- Escape to close
Available commands
Adding a navigation command
Adding a permission-gated action command
requiredPermission field is checked against the current user’s JWT permissions. If the user does not have the permission, the command is filtered out before the list renders.
Adding a command that opens a modal
Customizing the keyboard shortcut
The shortcut is set inCommandPalette.tsx in the useEffect that registers the keydown listener:
Adding command groups
Commands are grouped by theirgroup property. Groups appear as headings in the palette. To add a new group:
allCommands array. Put frequently used groups (Navigation, Actions) at the top of the array.