Commit graph

1851 commits

Author SHA1 Message Date
Shuja-Mahmood
7c971e5d84
feat(custom text): add text file opening (Shuja-Mahmood) (#4596) 2023-09-11 18:22:39 +01:00
Miodec
9f05da905a impr(typing): lazy mode now keeps the word casing 2023-09-11 18:11:26 +01:00
Seth Falco
ecbc20f316
fix: use appropriate fallback fonts (SethFalco) (#4620) 2023-09-11 16:09:34 +01:00
Miodec
f63cbe427e chore: update message 2023-09-05 16:14:55 +02:00
Miodec
513983f1e2 refactor(leaderboard): rework avatar loading, fix duplicate avatar requests 2023-09-04 18:39:01 +02:00
Miodec
6db23d6f6f refactor: debounce scroll event to avoid too many requests too quickly 2023-09-04 18:16:52 +02:00
Miodec
eb995b775c fix(leaderboards): soft lock after running out of data 2023-09-04 18:09:35 +02:00
Miodec
d39cfd1b27 refactor: rename variable 2023-09-04 15:28:06 +02:00
Miodec
449f7c6e37 chore: remove comment 2023-09-04 14:45:46 +02:00
Miodec
2a478a0440 impr(badge): add all year long badge, awarded on 365 day streak 2023-09-03 13:03:26 +02:00
Miodec
6c4009d248 style: update badge margins to be based on the icon 2023-09-03 12:57:04 +02:00
Miodec
0eac662313 refactor: add param to show unknown badges 2023-09-03 12:40:41 +02:00
Miodec
5d518fbbee perf: using head method to lower bandwidth use a bit 2023-09-03 12:13:52 +02:00
Miodec
ec9430a84a fix: avatars blocking UI rendering and causing freezes
Avatar fetch was being awaited.
This means that if the request to discord takes a long time,
the UI would be frozen.

Closes #4599
2023-09-01 19:28:48 +02:00
Miodec
35d3855338 fix: remove debugging console logs 2023-09-01 11:43:26 +02:00
Miodec
87e882b94d feat(security): add revoke all tokens button
With this, user can sign out all sessions if they think their account has bee compromised.
2023-08-31 14:05:21 +02:00
Miodec
0de54f889b impr(replay): show live wpm when viewing test replay 2023-08-31 14:05:21 +02:00
Miodec
cfed190f36 impr(profile): add reminder about lb opt out
Added a reminder which mentions that results are not validated by the anticheat
for accounts that opted out of the leaderboard
2023-08-31 14:05:21 +02:00
Miodec
69961185e0 fix(typing): limit word length using input length, not char index
This fixes an issue where long korean words would not be finishable.
Char index includes compose characters, meaning the word was stopped too early.

This will very likely close #4389
2023-08-31 14:05:21 +02:00
Miodec
17c5eecf56 refactor: reworked how theme controller applies themes 2023-08-31 14:05:21 +02:00
Miodec
7ebb197b59 refactor: use variable defined above 2023-08-31 14:05:21 +02:00
Miodec
24cd3758e3 fix(commandline): remove underscores from custom theme names 2023-08-31 14:05:21 +02:00
Miodec
c6304c2d9b chore: trim email when requesting forgot password email 2023-08-29 16:44:45 +02:00
Miodec
6f4e3144fe refactor: inverted logic 2023-08-24 13:45:15 +02:00
Shuja-Mahmood
7a375299df
impr(quote search): add pagination to search results (Shuja-Mahmood) (#4577)
* Added page navigation for quotes search

* using fixed width icons

* style adjustment

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-08-24 12:42:22 +02:00
Miodec
70b403eaed refactor: remove unnecessary import/export 2023-08-23 11:30:39 +02:00
Miodec
2aa178aede fix(commandline): missing preset commands
Added a missing beforeList() call to make sure presetc commands populate

Closes #4555
2023-08-23 11:30:39 +02:00
bhanu prasad
6be5578e8f
refactor: replace 'substr' with 'slice' (#4575)
* chore(deps): synchronize package-lock.json

Ran
up to date, audited 1936 packages in 2s

162 packages are looking for funding
  run `npm fund` for details

18 vulnerabilities (2 moderate, 14 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details. without making explicit package changes. Synchronizing the package-lock.json file to maintain consistency.

* refactor: replace 'substr' with 'slice'

'substr' is deprecated. To ensure long-term code compatibility and clarity, it has been replaced with 'slice'. This adjustment aligns the codebase with current best practices.
2023-08-22 15:16:40 -05:00
Miodec
200ff9d9a5 fix(custom mode): replace space-like characters with spaces
Also replacing more zero width characters with an empty string

Closes #4568
2023-08-22 12:41:26 +02:00
Jack
38c9d0c82a
refactor: add response data generic type (#4567)
* remove unnecessary type

* remove unnecessary type

* data should always be returned

* added datatype generic

* renamed EndpointData to Endpoint

* replaced two defaults with one

* rename type

* removed logs

* renamed generic
2023-08-21 16:48:17 +02:00
Danish arora
0086398073
impr: show min speed if not qualified for daily lb (HyperDanisH, Miodec) (#4519) 2023-08-21 14:06:32 +02:00
Christian Fehmer
43de3021a5
fix: crt funbox causing webkit browsers to go into refresh loop (fehmer) (#4557)
* fix: Fixed CRT funbox causes webkit browsers to go into refresh loop #4553

* review comments

* updated message, increased notification duration

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-08-21 11:04:15 +02:00
Miodec
4de3965d0c style: adjust settings page media query 2023-08-20 10:13:33 +02:00
Miodec
ed16e804b9 fix: incorrect results table header widths 2023-08-17 23:07:35 +02:00
Miodec
0bd561bf80 refactor: make sure the version popup can handle new format 2023-08-17 17:09:02 +02:00
Yen Cheng
9f987a613a impr(result): display input history heatmap in the selected speed unit (ridemountainpig) (#4542) 2023-08-17 14:23:56 +02:00
Miodec
9b65a314b9 fix: missing slovak character in lazy mode 2023-08-17 14:23:56 +02:00
Miodec
acf84dd9a2 fix: morse sometimes showing undefined
Fixed by replacing accented letter with their non-accented versions

Closes #4526
2023-08-17 14:23:56 +02:00
Christian Fehmer
e4c782f9d9 refactor: use class in typing-speed-unit (ferhmer) (#4518) 2023-08-14 14:27:00 +02:00
Miodec
288ee052f4 style: fixed line height change added in normalize.css 2023-08-14 14:27:00 +02:00
Miodec
af6af98ae1 refactor: single list commandline generation 2023-08-14 14:27:00 +02:00
Miodec
deb0293b67 style: added icons to practice commands 2023-08-14 14:27:00 +02:00
Miodec
a752a1a8cd refactor: using usual function syntax
Im not exactly sure what was the point in reassigning the show function
2023-08-14 14:27:00 +02:00
Miodec
174525c6be fix: quick single list commandline not being reverted
This fixes an issue where it was impossible to revert back to the "normal"
commandline state by deleting the leading `>` character in the commandline
2023-08-14 14:27:00 +02:00
Miodec
029266c70b impr(test): base the size of large live wpm and timer on browser width 2023-08-14 14:27:00 +02:00
Miodec
2ac2ad75db style: slight refactor on settings groups 2023-08-14 14:27:00 +02:00
Miodec
208770bc52 style: updated settings page media queries 2023-08-14 14:27:00 +02:00
Miodec
8b95078223 impr(test): stop on letter now supports indicate typos
The typos will now be correctly shown to the right of the caret
2023-08-14 14:26:59 +02:00
Miodec
d2fc78b319 style: updated nav and general media queries 2023-08-13 12:34:54 +02:00
Miodec
ce43ebf26c refactor: removed code that will never run 2023-08-13 12:34:54 +02:00