gsxdsm
f992e6aefa
FN-7553: add dedicated keyboard shortcuts settings section
Adds a standalone Keyboard Shortcuts settings section with an easier-to-use capture input and support for more shortcut actions.
- Introduce a new KeyboardShortcutsSection with a dedicated ShortcutCaptureInput component for recording key combos
- Split keyboard-shortcut settings out of the general settings section into their own settings tab
- Extend the shortcut schema/types and useDashboardKeyboardShortcuts hook to support additional actions
- Update settings save-split, section-keys, and defaults/parity tests to cover the new section
- Update dashboard docs and add a changeset for the new settings section
Files changed:
.changeset/fn-7553-keyboard-shortcuts-section.md | 7 +
docs/dashboard-guide.md | 22 ++-
packages/core/src/__tests__/global-settings.test.ts | 9 +-
packages/core/src/__tests__/settings-defaults.test.ts | 4 +
packages/core/src/__tests__/settings-parity.test.ts | 2 +-
packages/core/src/settings-schema.ts | 6 +-
packages/core/src/types.ts | 12 ++
packages/dashboard/app/App.tsx | 26 +++-
packages/dashboard/app/__tests__/App.keyboard-shortcuts.test.tsx | 47 ++++++-
packages/dashboard/app/components/SettingsModal.css | 56 ++++++--
packages/dashboard/app/components/SettingsModal.tsx | 30 +++-
packages/dashboard/app/components/__tests__/SettingsModal.general.test.tsx | 63 ---------
packages/dashboard/app/components/__tests__/SettingsModal.keyboardShortcuts.test.tsx | 156 +++++++++++++++++++++
packages/dashboard/app/components/settings/__tests__/section-keys.test.ts | 1 +
packages/dashboard/app/components/settings/save-split.ts | 6 +-
packages/dashboard/app/components/settings/sections/GlobalGeneralSection.tsx | 38 -----
packages/dashboard/app/components/settings/sections/KeyboardShortcutsSection.tsx | 78 +++++++++++
packages/dashboard/app/components/settings/sections/ShortcutCaptureInput.tsx | 118 ++++++++++++++++
packages/dashboard/app/components/settings/sections/__tests__/KeyboardShortcutsSection.test.tsx | 113 +++++++++++++++
packages/dashboard/app/hooks/__tests__/useDashboardKeyboardShortcuts.test.tsx | 73 +++++++++-
packages/dashboard/app/hooks/useDashboardKeyboardShortcuts.ts | 38 ++++-
packages/dashboard/app/utils/__tests__/keyboardShortcuts.test.ts | 37 ++++-
packages/dashboard/app/utils/keyboardShortcuts.ts | 54 ++++++-
23 files changed, 854 insertions(+), 142 deletions(-)
Fusion-Task-Id: FN-7553
Fusion-Task-Lineage: 51c1ad69-fbd3-45ce-8d2d-45d9962d7b76
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-04 21:28:19 -07:00
..
2026-04-24 19:39:20 -07:00
2026-06-11 08:01:51 -07:00
2026-06-13 11:03:30 -07:00
2026-06-22 23:58:38 -07:00
2026-06-03 20:52:44 -07:00
2026-05-30 14:20:12 -07:00
2026-06-22 15:23:43 -07:00
2026-06-03 19:48:40 -07:00
2026-05-08 17:17:59 -07:00
2026-06-30 01:23:09 -07:00
2026-05-25 16:32:57 -07:00
2026-05-31 08:32:01 -07:00
2026-06-11 09:21:23 -07:00
2026-06-23 00:45:00 -07:00
2026-05-09 10:31:04 -07:00
2026-06-02 18:29:53 -07:00
2026-06-28 02:04:31 -07:00
2026-06-15 02:30:41 -07:00
2026-05-16 12:49:57 -07:00
2026-07-04 21:28:19 -07:00
2026-07-01 08:32:29 -07:00
2026-05-07 18:35:45 -07:00
2026-07-04 10:42:19 -07:00
2026-06-29 15:34:06 -07:00
2026-06-13 16:30:28 -07:00
2026-05-22 20:20:42 -07:00
2026-06-13 11:53:44 -07:00
2026-05-23 20:24:18 -07:00
2026-05-18 05:35:14 -07:00
2026-04-23 13:29:23 -07:00
2026-05-17 10:37:54 -07:00
2026-06-25 14:37:52 -07:00
2026-05-23 20:24:18 -07:00
2026-06-18 21:24:50 -07:00
2026-06-10 06:02:12 -07:00
2026-06-18 21:38:24 -07:00
2026-06-19 04:27:01 -07:00
2026-05-22 20:20:42 -07:00
2026-06-29 14:50:02 -07:00
2026-05-22 20:20:42 -07:00
2026-04-24 19:39:20 -07:00
2026-05-22 20:20:42 -07:00
2026-05-22 20:20:42 -07:00
2026-04-24 19:39:20 -07:00
2026-07-01 18:01:17 -07:00
2026-06-16 15:08:24 -07:00
2026-06-03 22:31:23 -07:00
2026-06-03 15:32:29 -07:00
2026-06-24 23:32:51 -07:00
2026-07-01 16:43:08 -07:00
2026-07-03 07:47:03 -07:00
2026-05-07 14:09:39 -07:00
2026-06-27 23:25:19 -07:00
2026-06-22 23:58:38 -07:00
2026-05-10 23:36:10 -07:00
2026-05-29 20:05:14 -07:00
2026-06-08 14:22:03 -07:00
2026-06-22 18:21:06 -07:00
2026-05-22 20:20:42 -07:00
2026-06-13 11:22:07 -07:00
2026-05-23 20:24:18 -07:00
2026-06-24 23:32:52 -07:00
2026-05-23 20:24:18 -07:00
2026-04-07 23:25:34 -07:00
2026-05-23 20:24:18 -07:00
2026-03-28 16:30:23 -04:00
2026-04-24 22:25:57 -07:00
2026-06-27 23:08:10 -07:00
2026-06-21 00:15:00 -07:00
2026-06-30 23:45:00 -07:00
2026-05-29 08:20:28 -07:00
2026-06-05 01:53:42 -07:00
2026-06-04 22:00:04 -07:00
2026-07-04 21:28:16 -07:00
2026-07-02 14:18:08 -07:00
2026-04-24 19:39:20 -07:00
2026-06-30 23:45:02 -07:00
2026-06-30 13:43:28 -07:00
2026-05-07 23:21:05 -07:00
2026-05-08 01:57:55 -07:00
2026-05-06 05:29:56 -07:00
2026-06-03 01:08:09 -07:00
2026-06-25 08:34:44 -07:00
2026-06-23 10:43:14 -07:00
2026-06-25 14:37:52 -07:00
2026-06-23 00:20:55 -07:00
2026-05-08 07:38:50 -07:00
2026-06-22 03:34:15 -07:00
2026-06-16 19:49:45 -07:00
2026-06-14 13:50:17 -07:00
2026-07-03 07:47:03 -07:00
2026-07-01 07:33:56 -07:00
2026-05-23 20:24:18 -07:00
2026-06-19 01:33:13 -07:00
2026-06-21 13:25:41 -07:00
2026-06-10 00:20:35 -07:00
2026-05-29 20:05:14 -07:00
2026-07-01 11:12:59 -07:00