monkeytypegame / monkeytypegame/monkeytype
Account auto-logout causing streak loss despite daily typing
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?
No
Does the issue happen when logged out?
Yes
Does the issue happen in incognito mode when logged in?
No
Does the issue happen in incognito mode when logged out?
No
Account name
DipakDubey
Account config
{"theme":"gruvbox_dark","themeLight":"serika","themeDark":"serika_dark","autoSwitchTheme":false,"customTheme":false,"customThemeColors":["#323437","#e2b714","#e2b714","#646669","#2c2e31","#d1d0c5","#ca4754","#7e2a33","#ca4754","#7e2a33"],"favThemes":[],"showKeyTips":true,"smoothCaret":"medium","codeUnindentOnBackspace":false,"quickRestart":"off","punctuation":false,"numbers":false,"words":50,"time":60,"mode":"words","quoteLength":[1],"language":"english","fontSize":2,"freedomMode":false,"difficulty":"normal","blindMode":false,"quickEnd":false,"caretStyle":"default","paceCaretStyle":"default","flipTestColors":false,"layout":"default","funbox":[],"confidenceMode":"off","indicateTypos":"off","compositionDisplay":"replace","timerStyle":"mini","liveSpeedStyle":"off","liveAccStyle":"off","liveBurstStyle":"off","colorfulMode":false,"randomTheme":"off","timerColor":"main","timerOpacity":"1","stopOnError":"off","showAllLines":false,"keymapMode":"off","keymapStyle":"staggered","keymapLegendStyle":"lowercase","keymapLayout":"overrideSync","keymapKeys":"minimal","keymapSize":1,"fontFamily":"Roboto_Mono","smoothLineScroll":false,"alwaysShowDecimalPlaces":false,"alwaysShowWordsHistory":false,"singleListCommandLine":"on","capsLockWarning":true,"playSoundOnError":"off","playSoundOnClick":"off","soundVolume":0.5,"startGraphsAtZero":true,"showOutOfFocusWarning":true,"paceCaret":"off","paceCaretCustomSpeed":100,"repeatedPace":true,"accountChart":["on","on","off","off"],"minWpm":"off","minWpmCustomSpeed":100,"highlightMode":"letter","typedEffect":"keep","typingSpeedUnit":"wpm","ads":"off","hideExtraLetters":false,"strictSpace":false,"minAcc":"off","minAccCustom":90,"monkey":false,"repeatQuotes":"off","resultSaving":true,"oppositeShiftMode":"off","customBackground":"","customBackgroundSize":"cover","customBackgroundFilter":[0,1,1,1],"customLayoutfluid":["qwerty","dvorak","colemak"],"customPolyglot":["english","spanish","french","german"],"monkeyPowerLevel":"off","minBurst":"off","minBurstCustomSpeed":100,"burstHeatmap":false,"britishEnglish":false,"lazyMode":false,"showAverage":"off","showPb":false,"tapeMode":"off","tapeMargin":50,"maxLineWidth":0,"playTimeWarning":"off"}
Current Behavior
I've maintained a 160-day typing streak, but over the last 3 days Monkeytype has been automatically logging me out without me manually signing out.
Because I'm logged out, my daily typing sessions are not linked to my account, so they don't count toward my streak. As a result, I lost my streak even though I typed every day.
This has happened multiple times in the past, not just recently.
Expected Behavior
My account should remain logged in unless I explicitly sign out.
If my session expires, Monkeytype should clearly notify me before I start a typing test so I can log in again.
At the very least, users shouldn't lose their typing streak because they were silently logged out.
Steps To Reproduce
- Log in to Monkeytype.
- Use the website normally and complete typing tests.
- Return the next day.
- Notice that the account has been automatically logged out.
- Complete a typing test while logged out.
- The typing session is not counted toward the daily streak.
Environment
- OS:
- Browser:
- Browser Version:
Anything else?
- Account: DipakDubey
- I had a 160-day typing streak before this issue occurred.
- This has happened multiple times over the past few months, not just during the last three days.
- I have already cleared my browser cache.
- I searched existing issues before creating this report.
- Losing a long streak because of an unexpected logout is frustrating, especially when I typed every day.
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 logout across days using the reported steps, comparing logged-in and logged-out behavior. Investigate the account session and the point where typing results are associated with the account. Done means sessions do not end unexpectedly, or users are warned before a test and their daily streak is protected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100