monkeytypegame / monkeytypegame/monkeytype

Quick restart isn't respected after switching to long test

Open
#8,059 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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
  1. Set quick restart key to tab
  2. Set Test duration to 0
  3. Press tab
  4. Notice how the test hasn't restarted
Environment
  • OS: Arch Linux
  • Browser: Firefox
  • Browser Version: 150.0.3
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.