Skip to content

refactor: Replace react-hotkeys with custom hook#35425

Merged
diondiondion merged 9 commits intomainfrom
dion/replace-react-hotkeys
Jul 21, 2025
Merged

refactor: Replace react-hotkeys with custom hook#35425
diondiondion merged 9 commits intomainfrom
dion/replace-react-hotkeys

Conversation

@diondiondion
Copy link
Copy Markdown
Contributor

@diondiondion diondiondion commented Jul 18, 2025

Fixes MAS-364
Fixes #30436, #19592

Changes proposed in this PR:

@diondiondion diondiondion force-pushed the dion/replace-react-hotkeys branch from ac86fe0 to 33ed884 Compare July 18, 2025 19:38
@diondiondion diondiondion force-pushed the dion/replace-react-hotkeys branch from 33ed884 to fe9a11a Compare July 21, 2025 08:41
@diondiondion diondiondion requested a review from a team July 21, 2025 08:41
@diondiondion diondiondion marked this pull request as ready for review July 21, 2025 08:42
Copy link
Copy Markdown
Contributor

@ChaosExAnima ChaosExAnima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this feels like a good candidate for tests. are you able to write some to cover some of these hotkeys?

ChaosExAnima
ChaosExAnima previously approved these changes Jul 21, 2025
Copy link
Copy Markdown
Contributor

@ChaosExAnima ChaosExAnima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, and thank you for making the story!

@diondiondion diondiondion enabled auto-merge July 21, 2025 14:25
@diondiondion diondiondion added this pull request to the merge queue Jul 21, 2025
Merged via the queue into main with commit 4de5cbd Jul 21, 2025
31 of 33 checks passed
@diondiondion diondiondion deleted the dion/replace-react-hotkeys branch July 21, 2025 15:01
@diondiondion diondiondion added to backport PR needed to be backported and removed to backport PR needed to be backported labels Jul 21, 2025
Comment on lines +129 to +141
cheat: sequence(
'up',
'up',
'down',
'down',
'left',
'right',
'left',
'right',
'b',
'a',
'enter',
),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎮

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace react-hotkeys

4 participants