gsxdsm
b77e12351e
FN-7872: add custom terminal shortcut buttons to the Preferences panel
Lets users define, edit, and remove custom terminal shortcut buttons (label + injected key sequence) from the terminal Preferences panel, persisted client-side.
- Add a customShortcuts list to terminalPreferences (kb-terminal-preferences localStorage) with add/edit/remove management
- Add decodeTerminalShortcutSequence to decode \n, \t, \r, \e/\x1b, and \\ escapes for injected sequences
- Render custom shortcut buttons in TerminalModal's shortcut panel, injecting via the focus-preserving sendLiteralShortcut path
- Add management UI (add/edit/remove) for custom shortcuts in the terminal Preferences panel, styled in TerminalModal.css
- Extend TerminalModal and terminalPreferences test coverage for the new custom shortcut behavior
- Document custom terminal shortcuts in docs/dashboard-guide.md
- Add a minor changeset for @runfusion/fusion
Files changed:
.changeset/fn-7872-terminal-custom-shortcuts.md | 7 +
docs/dashboard-guide.md | 7 +-
.../dashboard/app/components/TerminalModal.css | 106 +++++++++++
.../dashboard/app/components/TerminalModal.tsx | 202 ++++++++++++++++++++-
.../components/__tests__/TerminalModal.test.tsx | 183 +++++++++++++++++++
.../utils/__tests__/terminalPreferences.test.ts | 68 +++++++
.../dashboard/app/utils/terminalPreferences.ts | 140 +++++++++++++-
7 files changed, 708 insertions(+), 5 deletions(-)
Fusion-Task-Id: FN-7872
Fusion-Task-Lineage: 9b2df0da-0eb7-4cec-a42b-767e23ff4c2c
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-12 13:06:08 -07:00
..
2026-05-13 10:00:00 -07:00
2026-07-06 19:03:06 -07:00
2026-06-29 21:02:34 -07:00
2026-07-01 11:12:59 -07:00
2026-06-30 09:04:03 -07:00
2026-05-14 02:23:45 -07:00
2026-05-18 03:10:52 -07:00
2026-05-17 19:11:59 -07:00
2026-06-27 17:22:12 -07:00
2026-06-25 12:25:13 -07:00
2026-05-13 06:29:33 -07:00
2026-05-13 16:29:37 -07:00
2026-06-27 23:53:51 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-06-09 12:51:20 -07:00
2026-07-04 21:28:19 -07:00
2026-06-26 09:32:53 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-05-08 18:44:16 -07:00
2026-06-30 19:21:53 -07:00
2026-04-29 07:35:23 -07:00
2026-06-27 23:47:21 -07:00
2026-07-11 22:16:48 -07:00
2026-06-02 14:14:24 -07:00
2026-06-29 14:41:52 -07:00
2026-07-11 18:07:00 -07:00
2026-06-17 17:57:19 -07:00
2026-05-20 19:58:49 -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-07-11 20:37:26 -07:00
2026-05-13 06:29:35 -07:00
2026-04-24 19:39:20 -07:00
2026-06-25 23:35:31 -07:00
2026-07-11 18:07:00 -07:00
2026-07-12 13:06:08 -07:00
2026-04-29 02:23:09 -07:00
2026-05-29 20:05:14 -07:00
2026-04-29 07:35:23 -07:00