Every shortcut is an action with an id (list.create, inbox.approve), a scope (where it applies) and the key
that does it. Keys are layered, so a company can set defaults and a person can change their own:
- A company switches an action off for everyone (setting
platform.keyboard,disabledActions). Nobody can bring it back. - A person's own key for it (
PUT /api/me/prefs/keys).nullswitches the action off for that person only. - The company's default key for it (setting
platform.keyboard,defaults). - The built-in key.
A key that is malformed, belongs to the browser, or is already used by another action in the same place is dropped, and the next layer's key stands. A value saved by hand can never break the keyboard.
Scopes
| Scope | Where it applies | Example |
|---|---|---|
global |
Every page | ? shortcut guide, / search, g i go to the Inbox |
list |
List views | c new record, j / k rows, x tick the row |
record |
Record pages and forms | e edit, Mod+S save, [ / ] previous and next |
inbox |
The Inbox | a approve, r reject, d download the ticked items |
The same key can be used in two different scopes (e edits a record, and completes a task in the Inbox), never twice in
one scope. A global key is taken in every scope. A key that starts a two-key sequence (g) cannot also be a single key.
The whole screen from the keyboard
Besides moving between pages (g then a letter, and Ctrl+K for any page, record or action), the controls of the screen
you are on have keys. Press ? on any page for the ones that apply.
| Where | Keys |
|---|---|
| Frame | u your menu, g p the apps menu, g o switch company, g b back, h help for the page |
| Lists | / search, f filter, v saved views, c new, j / k rows, x tick the row, a tick the page, n / p next and previous page, . the row's actions |
| Records | e edit, Ctrl+S save, d discard, [ / ] previous and next record |
| Dialogs | Ctrl+Enter confirms the open dialog (its marked button, else its form's submit button) |
| Inbox | j / k, a approve, r reject, e done, x tick, o open the record, d download |
A key does nothing when its control is not on the page, or is hidden or disabled, so it never blocks a browser key. Deciding an approval from a record page has no single key, so a stray key press cannot approve it.
Keys
A key is a list of one or two tokens, written the way a person types them: x, Mod+s (Ctrl, or Cmd on Apple),
g h (two keys in a row). Rules, checked by the kernel when a person saves and again by the shell:
- No Alt chords (Alt+Shift switches the keyboard layout on Windows).
- No
Modchord the browser or a text field owns: copy, paste, undo, find, print, new tab, close tab, reload and the like. - A two-key sequence is plain keys only.
Enter,Escapeand the arrows are never bound: they move and close.- The Inbox reads one plain key per action.
- An action id is letters and digits in dotted parts (
list.selectAll). Mod+K(palette),Mod+J(Droot AI),?(this guide),EscapeandEnterare fixed: not rebindable and not switchable off.
Single-key shortcuts can be turned off, because they interfere with speech input and some assistive technology
(WCAG 2.1.4). Setting platform.keyboard, singleKeys: Each Person Chooses (the default), On For Everyone, or Off For Everyone.
Setting platform.keyboard
Edited in Setup › Business › System. Writes need the platform.settings capability and reach every company, as other settings.
| Field | Meaning |
|---|---|
singleKeys |
user, on or off, as above |
disabledActions |
Action ids with no key for anyone, e.g. inbox.approve |
defaults |
Rows of { action, keys }, e.g. { "action": "go.documents", "keys": "g f" } |
A person's keys: keys preference
GET and PUT /api/me/prefs/keys (revisioned with If-Match, like every preference):
{ "bindings": { "list.create": ["n"], "go.documents": ["g", "f"], "inbox.approve": null }, "singleKeys": false }
singleKeys: null follows the company. Settings page: /me/keyboard. The ? guide shows the keys in force, searches
them, and links there.