Skip to content

Add a keyboard shortcut for Run tests - #1

Closed
melonpuff wants to merge 1 commit into
mainfrom
feat/add-run-test-hotkey
Closed

melonpuff wants to merge 1 commit into
mainfrom
feat/add-run-test-hotkey

Conversation

@melonpuff

Copy link
Copy Markdown
Owner

Running the code meant leaving the keyboard for the Run tests button, which a candidate presses many times in an interview. The editor now takes Cmd+Enter as a shortcut for that button, and Ctrl+Enter where there is no Command key. The shortcut follows the button's disabled state, so it never starts a second run or fires while paused, and it does nothing once the interview has ended, where the button is left enabled under the ending overlay.

Running the code meant leaving the keyboard for the Run tests button,
which a candidate presses many times in an interview. The editor now
takes Cmd+Enter as a shortcut for that button, and Ctrl+Enter where
there is no Command key. The shortcut follows the button's disabled
state, so it never starts a second run or fires while paused, and it
does nothing once the interview has ended, where the button is left
enabled under the ending overlay.
@melonpuff melonpuff closed this Sep 27, 2026
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.

1 participant