Skip to content

feat(scraps): add hotkey module#111444

Merged
natemoo-re merged 24 commits into
masterfrom
scraps/kbd
Mar 26, 2026
Merged

feat(scraps): add hotkey module#111444
natemoo-re merged 24 commits into
masterfrom
scraps/kbd

Conversation

@natemoo-re

@natemoo-re natemoo-re commented Mar 24, 2026

Copy link
Copy Markdown
Member

This PR centralizes the existing hotkey utils into an official @sentry/scraps/hotkey module that exposes our custom useHotkeys() hook with a Kbd and Hotkey component.

This opens the door to better primitives down the line like global registration, a help menu, and more.

See Hotkey Story

@natemoo-re natemoo-re marked this pull request as ready for review March 26, 2026 20:09
@natemoo-re natemoo-re requested a review from a team as a code owner March 26, 2026 20:09
Comment thread static/app/components/core/hotkey/keyMappings.ts Outdated
@natemoo-re natemoo-re enabled auto-merge (squash) March 26, 2026 21:21
@natemoo-re natemoo-re disabled auto-merge March 26, 2026 21:21
Comment thread static/app/components/core/hotkey/hotkey.tsx Outdated
@natemoo-re natemoo-re enabled auto-merge (squash) March 26, 2026 22:11
@natemoo-re natemoo-re merged commit 4193a56 into master Mar 26, 2026
69 checks passed
@natemoo-re natemoo-re deleted the scraps/kbd branch March 26, 2026 22:19
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants