Add keyboard navigation to new account selector #375
Reference in New Issue
Block a user
Delete Branch "feature/hotkey-navigation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follows a similar pattern that I spotted in the Hey app.
Uses two separate stimulus controllers to get the job done, first one sets up a hotkey using the @github/hotkeys package, and the second is responsible for moving the focus to the next or previous link.
The buttons don't have to be hidden and could actually be moved to the footer as per the UI designs, but just wanted to focus on the keyboard navigation functionality here in a re-usable way.
Relates to #365