Commit graph

10493 commits

Author SHA1 Message Date
Christian Fehmer
a1f883b99f
feat: add copy missed words to result screen (fehmer) (#5086)
* feat: Add copy missed words to result screen

* remove margin

* update icons

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-02-19 14:57:20 +01:00
Andrey Kuznetsov
67881cace8
fix(language): typos in russian_10k.json (kae) (#5082)
* Update russian_10k.json

- fixed typos
- removed duplicates

* - fixed extra typos

* remove duplicates

* fix(language): typos in russian_10k.json
2024-02-19 14:53:13 +01:00
Christian Fehmer
bac837d823
fix: use selected typing speed unit on personal best popup (fehmer) (#5070)
* fix: Use selected typing speed unit on personal best popup

* refactor

* refactor

* test coverage

* use Format in more places

* Make config mockable

* dependency injection

* wip

* fix

* test

* touch
2024-02-19 14:46:02 +01:00
Miodec
4d5085d351 perf: speed up settings page loading 2024-02-19 14:22:49 +01:00
Miodec
e94b9cb821 fix(typing): first space sometimes soft locking the website 2024-02-19 13:25:02 +01:00
Miodec
0cc1e2a07e fix(language): remove some unnecessarily capitalised words in german 1k 2024-02-19 12:50:13 +01:00
Miodec
d6ab4bfb2c chore: omit ips 2024-02-19 00:43:35 +01:00
Miodec
54cb9c9e17 fix: password error when using gmail auth 2024-02-18 18:34:23 +01:00
github-actions[bot]
fc925a7e55
refactor: run prettier (#5077)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
Co-authored-by: Jack <jack@monkeytype.com>
2024-02-18 01:52:41 +01:00
Miodec
6cb8f52cf2 chore: fix build error 2024-02-18 01:52:03 +01:00
Miodec
6032c967ed chore: add proper types for wordset and section 2024-02-17 18:45:50 +01:00
Miodec
aec04bc8cc chore: remove grecaptcha types
it didnt work anyway
2024-02-17 18:44:14 +01:00
Miodec
c3d0b23087 chore: fix tsc error 2024-02-17 18:43:15 +01:00
Miodec
b7594ab684 chore: move withobjectid to backend types 2024-02-17 18:42:51 +01:00
Miodec
763aecad93 chore: add no mixed operators rule 2024-02-17 17:24:41 +01:00
Jack
3e0be2e210
refactor: replace select2 with slim-select (#5065)
* i cant figure this oooout

* fix: closing commandline causing settings page update

* remove log

* fix event looping issues
rerendering selects when updating settings

* remove comment

* move section back to where it should be

* update styling

* move redrawing to settings group

* no need to save to a variable

* types

* fix styles

* search placeholder

* fix structure

* fix styles

* using slim for the rest of selects

* disabled styling

* use slim

* styling

* use slim

* multi select styling

* use slim

* use slim

* use slim

* use slim

* remove everything else related to select2

* last select2 mention

* comment

* fix(settings page): font family buttons not working

* fix: input indicators remaining visible after leaving the login page (underscoore) (#5062)

* chore: update node version to 18.19.1 (#5060)

* impr(quote): add Code C quotes (penguin-teal) (#5053)

* fix: question mark appearing next to unrated quotes

* removed unnecessary link

---------

Co-authored-by: Ajay kumar <ajaykumar.bit.1995@gmail.com>
Co-authored-by: Christian Fehmer <fehmer@users.noreply.github.com>
Co-authored-by: penguin-teal <130006737+penguin-teal@users.noreply.github.com>
2024-02-17 12:12:15 +01:00
Miodec
197f2c36cf fix: question mark appearing next to unrated quotes 2024-02-15 23:14:11 +01:00
penguin-teal
8fd3889dc8
impr(quote): add Code C quotes (penguin-teal) (#5053) 2024-02-15 21:26:11 +01:00
Christian Fehmer
6cf2e4f5f5
chore: update node version to 18.19.1 (#5060) 2024-02-15 21:23:29 +01:00
Ajay kumar
46b336f538
fix: input indicators remaining visible after leaving the login page (underscoore) (#5062) 2024-02-15 21:19:16 +01:00
Miodec
0a9a6e6ef1 fix(settings page): font family buttons not working 2024-02-15 20:25:17 +01:00
Miodec
f9b537be1e fix: closing commandline causing settings page update 2024-02-15 20:16:18 +01:00
Miodec
83d935709b chore: add note about dark mode extensions 2024-02-14 23:47:08 +01:00
Christian Fehmer
a72aa04c53
fix: leaderboard consistency being null (#5055) 2024-02-14 23:28:51 +01:00
Miodec
29fce99ba3 chore: release v24.7.0 2024-02-14 19:10:17 +01:00
Miodec
c04458cb90 refactor: ape client types
fully type query, payload and return data with generics
2024-02-14 17:29:52 +01:00
Miodec
69683494e3 chore: upgrade jest-environment-node to fix tests not running 2024-02-14 14:43:35 +01:00
Miodec
41c625e266 chore: upgrade mongodb driver 2024-02-14 12:51:09 +01:00
mokshsinghji
24975e5d01
fix: pressing space too early with the dark note theme doesnt highlight the word as incorrect (mokshsinghji) (#5052) 2024-02-14 12:41:42 +01:00
Jack
8bf3edaeb2
fix: backend/package.json & backend/package-lock.json to reduce vulnerabilities (#5051)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
- https://snyk.io/vuln/SNYK-JS-NODEMAILER-6219989
- https://snyk.io/vuln/SNYK-JS-REQUEST-3361831
- https://snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-02-14 12:13:39 +01:00
Denis Alex
933df63ecc
feat(theme): Added tangerine theme (devdenisalex) (#5047)
* Create tangerine.css

* Update _list.json

* Update _list.json

* Update tangerine.css

* Update tangerine.css

* Update tangerine.css

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-14 12:09:59 +01:00
Christian Fehmer
0fef619d06
refactor: null-safe usage of Auth.currentUser (fehmer) (#5048)
* fix: error on leaderboard when no user is present

* refactor simple popups

* popups, commandline

* fixes?

* more

* more

* review comments

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-13 19:03:50 +01:00
Jack
381bdb826d
refactor: settings groups (#5049)
* update function name

* update function name

* using data properties instead of classes

* using data property

* regex goes brrrrrrr

* button not .button

* fix sliders loading incorrectly and numbers missing

* regex missed this one

* and this one

* using button instead of .button

* use button element

* regex goes brrr once morrrrrr

* remove testing code
2024-02-13 18:22:58 +01:00
Christian Fehmer
85fd0628cc
fix: unknown function called in capsLock detection (#5050) 2024-02-13 18:22:38 +01:00
Jack
8f7b82b9d9
Revert "feat(theme): add tangerine theme (devdenisalex) (#5045)" (#5046)
This reverts commit cbc8930e85.
2024-02-13 13:13:14 +01:00
Denis Alex
cbc8930e85
feat(theme): add tangerine theme (devdenisalex) (#5045)
* Create tangerine.css

* Update _list.json

* Update _list.json

* Update tangerine.css

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-13 13:12:38 +01:00
Miodec
145065e092 chore: move tsrules to the ts override to fix json lint errors 2024-02-13 13:03:20 +01:00
Miodec
d735578189 chore: possibly fix linting errors 2024-02-13 12:48:39 +01:00
Miodec
c445a46b15 fix: add missing button to the settings page
also fixes incorrect modes notice with certain config combinations
2024-02-13 12:29:53 +01:00
Miodec
ee3f9d43a8 chore: ignoring line
for some reason when i use ts-expect-error its saying unnecessary,
but when i remove it i get an error
2024-02-12 16:52:57 +01:00
Jack
084d42c62e
refactor: enable @typescript-eslint/strict (#5028)
* enable rule

* eslint --fix

* fixes

* --fix

* fixes

* fixes

* fixes

* extract into const
2024-02-12 16:46:56 +01:00
Miodec
dbc5898e49 chore: quote lengths script 2024-02-12 13:34:13 +01:00
Miodec
71a60f786d fix(quotes): quote reports 2024-02-12 13:32:47 +01:00
Christian Fehmer
5c725f7ee3
fix: leaderboard discord properties being null (fehmer) (#5032) 2024-02-12 13:04:05 +01:00
Dmitry
bfdc436eae
fix(quotes): double quote characters in belarusian quotes (#5038)
* Update belarusian.json

* Update belarusian_lacinka.json
2024-02-12 12:55:23 +01:00
Dmitry
19dedd0667
impr(language): add Belarusian 5k, 10k, 25k, 50k, 100k (#5037)
* Added Belarusian 5k, 10k, 25k, 50k,100k files

* Update _groups.json

* Update _list.json
2024-02-12 12:54:45 +01:00
Ajay kumar
a1ad69ac56
docs: update firabse section (underscoore) (#5036) 2024-02-12 12:53:00 +01:00
Zach Brehm
086adffe3d
impr(quotes): add 5 code_r quotes (zachbrehm) (#5035)
* Create code_r.json

Created initial quote file for R code and added two quotes for tidyverse functions.

* Formatting text in code_r.json

Fixed formatting to allow for new lines. Was unaware of how this worked before consulting the python quotes.

* Added quotes to code_r.json

Added two additional quotes to ensure that there is at least one in every size group.

* Fixed  code_r.json

* Fixed quote lengths.

Fixed the quote lengths for ID1 and ID2. I'm unclear and which shema ares are invalid, will investigate further.
2024-02-12 12:52:17 +01:00
penguin-teal
67245ddafa
fix(language): mistyped word in code c (#5034)
Remove extra "strlen_s" concatenated onto the "strlen"
2024-02-12 12:51:47 +01:00
Punit Bhesota
22594c5ba5
impr(quotes): add Hindi quotes (punitbhesota) (#5033)
* Updated hindi.json

Added 3 new Hindi quotes

* Updated hindi.json
2024-02-12 12:51:13 +01:00