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-07-04 21:28:19 -07:00
2026-05-13 10:00:00 -07:00
2026-05-04 21:21:22 -07:00
2026-07-04 13:43:59 -07:00
2026-06-29 21:02:34 -07:00
2026-07-01 11:12:59 -07:00
2026-07-01 07:33:56 -07:00
2026-06-30 18:15:10 -07:00
2026-04-30 22:55:48 -07:00
2026-06-22 15:23:43 -07:00
2026-05-14 02:23:45 -07:00
2026-05-18 03:10:52 -07:00
2026-05-21 08:43:57 -07:00
2026-06-27 17:22:12 -07:00
2026-06-25 12:25:13 -07:00
2026-05-22 17:24:38 -07:00
2026-05-12 21:55:43 -07:00
2026-06-14 13:50:17 -07:00
2026-04-08 16:14:32 -07:00
2026-06-27 23:53:51 -07:00
2026-04-23 00:06:03 -07:00
2026-04-02 09:58:04 -07:00
2026-06-14 14:27:45 -07:00
2026-07-04 21:28:19 -07:00
2026-06-26 09:32:53 -07:00
2026-04-23 23:02:36 -07:00
2026-04-03 18:33:23 -07:00
2026-05-08 18:44:16 -07:00
2026-06-30 19:21:53 -07:00
2026-04-29 07:10:52 -07:00
2026-06-27 23:47:21 -07:00
2026-06-28 02:04:31 -07:00
2026-04-08 14:38:36 -07:00
2026-06-02 14:14:24 -07:00
2026-07-03 21:45:21 -07:00
2026-07-02 11:38:31 -07:00
2026-06-28 21:00:00 -07:00
2026-06-17 17:57:19 -07:00
2026-05-21 08:43:57 -07:00
2026-05-20 20:27:11 -07:00
2026-05-07 18:35:45 -07:00
2026-05-14 18:35:30 -07:00
2026-07-02 23:53:26 -07:00
2026-05-14 05:55:16 -07:00
2026-05-19 18:56:24 -07:00
2026-06-14 13:50:17 -07:00
2026-06-29 14:59:16 -07:00
2026-05-13 06:29:35 -07:00
2026-04-12 07:00:49 -07:00
2026-05-15 07:50:34 -07:00
2026-06-20 21:02:51 -07:00
2026-04-28 22:43:51 -07:00
2026-05-29 20:05:14 -07:00
2026-04-29 07:10:52 -07:00