Open timsuchanek opened 5 years ago
Here is an initial proposal for the keyboard shortcuts for the main workflow actions. For reference, here are shortcuts for VSCode and Airtable.
General
⌘ + P
- Quick open⌘ + Z
- Undo action⌘ + Shift + Z
/ ⌘ + Y
- Redo action⌘ + R
- Re-run the currently open query (keeps pagination)⌘ + Shift + Enter
- Commit pending changes to database⌘ + ,
- Open settingsTabs
⌘ + W
- Close tab⌘ + N
/ ⌘ + T
- New blank tab (empty state with suggestions?)⌘ + 1-9
- Switch to a tab (only in Electron?)⌘ + Shift + →
/ ⌘ + Shift + ←
- Move to next / previous tab⌘ + Shift + T
- Re-open the last closed tabQuery Editor When code textarea is focused
⌘ + S
- Save changes to the query⌘ + Enter
- Run queryEsc
- Collapse query editorData Table When cell is focused
↑
/ ↓
- Move focus the cell above/below the current oneShift + ↑
/ Shift + ↓
- Focuses the whole current row, as well as the row above / below the current one⌘ + ↑
/ ⌘ + ↓
- Moves focus to the cell in first / last row of the page←
/ →
- Move focus to the cell next to the current oneShift + ←
/ Shift + →
- Navigate to the next / previous results page⌘ + ←
/ ⌘ + →
- Moves focus to the first / last cell of the rowEnter
- Turns focused cell into an input / opens a select dropdown / opens a relation modal
⌘ + Enter
- Confirm changes and turn input back into a cellEsc
- Discard changes and turn input back into a cellTab
- Move focus to detail sidebarShift + Tab
- Move focus to query editorEsc
- Unselects all currently selected rows / cells⌘ + N
- Add new row⌘ + D
- Duplicate current row (but clear fields with breaking conflicts - @unique
fields or 1-1 relations etc)⌘ + F
(or maybe ⌘ + Shift + F
) - Expand filters sectionYet unmapped actions
Questions