monkeytypegame / monkeytypegame/monkeytype
Quick restart isn't respected after switching to long test
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 20.7k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
Did you clear cache before opening an issue?
- I have cleared my cache
Is there an existing issue for this?
- I have searched the existing open and closed issues
Does the issue happen when logged in?
Yes
Does the issue happen when logged out?
Yes
Does the issue happen in incognito mode when logged in?
Yes
Does the issue happen in incognito mode when logged out?
Yes
Account name
RobiRabbit
Account config
No response
Current Behavior
After switching to a long test, pressing the quick restart key doesn't restart the test, and when trying to press it mid test it won't show the expected notification which says that quick restart is disabled in long tests.
Everything works fine after reloading.
Expected Behavior
Pressing the quick restart key before the test has started should restart it, pressing it mid test should show a notification.
Steps To Reproduce
- Set quick restart key to
tab - Set
Test durationto0 - Press
tab - Notice how the test hasn't restarted
Environment
- OS: Arch Linux
- Browser: Firefox
- Browser Version: 150.0.3
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Firefox with the quick restart key set to Tab and Test duration set to 0, then compare behavior before and after switching to a long test. Trace the quick-restart handling and its notification path; done means restarting works before the test starts and the disabled-in-long-tests notification appears mid-test without requiring a reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100