Repository navigation
feat(hotkeys): Show scopes and app hotkeys on the landing page - #1400
Conversation
- Bump @tanstack/react-hotkeys to ^0.15.1 for scopes. - Replace the platform labels section with a live hotkey scopes demo. - Move the platform and layout toggles into the recorder demo, which now uses app hotkeys and has a ? cheat sheet. - Rework the keydown listener cards and show the patched listener beside them. - Describe what Hotkeys is in the hero, and update the library tagline.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
tanstack-com | cde9a17 | Commit Preview URL Branch Preview URL |
Oct 19 2026, 06:08 PM |
|
Found a small dismissal bug in the new cheat sheet demo that needs a follow-up.
|
@tanstack/react-hotkeysto^0.15.1, the release that adds scopes. No other site code needed changes for it.<HotkeysProvider scope="dialog" exclusive>, and a live board sits on the right. E opens the dialog, the board's hotkey lines get "Suspended" tags, and ⌘S saves the issue instead of the board.defineAppHotkeys, saves rebinding throughuseCustomHotkeys, and opens a?cheat sheet built fromuseAppHotkeyList.keydownlistener. Hovering a card highlights the line that patches it.libraries.tsandhotkeys.tsxto mention scopes and rebinding.Notes
The scopes demo's hotkeys listen on the board element, so it takes a click before J and E work. That keeps its J from also moving the list in the hero demo. While the dialog is open, its exclusive scope pauses every hotkey on the page, so the dialog closes when focus leaves the board.