Commit graph

3666 commits

Author SHA1 Message Date
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
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
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
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
c04458cb90 refactor: ape client types
fully type query, payload and return data with generics
2024-02-14 17:29:52 +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
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
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
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
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
Miodec
941b613626 chore: using a cdn for jquery in the email handler 2024-02-12 12:16:54 +01:00
Miodec
8c8d2847e8 fix: ad placeholders always visible 2024-02-09 15:25:02 +01:00
penguin-teal
35dc5049cd
impr(quotes): add code_assembly quotes (#5030) 2024-02-09 11:07:11 +01:00
Ruan Buhr
c110c80772
impr(quotes): add css quotes (ruanbuhr) (#5022)
* CSS Quotes id Issue Fixed

* prettier

---------

Co-authored-by: Ruan Buhr <26440873@sun.ac.za>
Co-authored-by: Jack <jack@monkeytype.com>
2024-02-09 11:04:32 +01:00
alexkar598
20f09958a2
fix(quote): grammar mistake in french quote (alexkar598) (#5025) 2024-02-08 20:23:56 +01:00
Miodec
e31613533c refactor(types): result types
move to shared types (#4774)
add types to ape client (#4786)
2024-02-08 17:57:45 +01:00
Miodec
15c697802d refactor(types): leaderboard types
move to shared types (#4774)
add types to ape client (#4786)
2024-02-08 17:44:46 +01:00
Miodec
b5465be75b fix(keymap): react mode not working 2024-02-08 16:55:35 +01:00
Miodec
b80a26483c chore: testing for null too 2024-02-08 16:31:47 +01:00
Miodec
67940204a1 impr: increase the transition smoothness when opening the account page 2024-02-08 15:16:17 +01:00
Miodec
7068d6be5c style: fix loading bar alignment 2024-02-08 15:15:36 +01:00
Miodec
fc78378833 chore: exposing jquery on local dev 2024-02-08 15:15:18 +01:00
Miodec
09c91f5ad0 fix: missing spinner when loading the account page 2024-02-08 15:01:18 +01:00
Miodec
d54345937f fix: account page preloader not centered on page 2024-02-08 14:52:59 +01:00
Jack
cdfc7833e3
refactor(types): shared config and preset types (#5024)
* build: include all shared types files instead of just one

* move config property value types to a shared file

* backend build issues

* shared preset and config types
preset and config ape types

* typo

* ignoring unused warnings

* fixed merge
2024-02-08 14:32:04 +01:00
Miodec
67c10a9d41 fix: presets taking very long to apply when on the settings page
closes #5023
2024-02-08 14:31:16 +01:00
Miodec
aa011b6b99 build: include all shared types files instead of just one 2024-02-08 13:49:11 +01:00
Absalon43
78bb715885
feat(sounds): add fist fight and rubber keys (Absalon43) (#4984)
* Add files via upload

* feat: add support for fist fight and plastic toy sounds

* feat: add support for fist fight and plastic toy sounds

* chore: remove extra semicolon

* feat: less busy punch sound

* feat: add punch misses as error sound

* fix: update punch sounds and make them less aggresive

* fix: Change name of plastic toy to rubber keys

---------

Co-authored-by: arthur-d42 <64164367+arthur-d42@users.noreply.github.com>
Co-authored-by: arthur-d42 <arthurdiness@gmail.com>
2024-02-08 12:01:18 +01:00
Andrew Guo
2642e139cf
fix(popups): ape key popup close button not working (andGuo) (#5020) 2024-02-08 11:53:56 +01:00
penguin-teal
388f2e21f7
impr(quotes): add Code C quotes (penguin-teal) (#5015) 2024-02-08 11:44:30 +01:00
Miodec
315b7f70bb refactor(types): server configuration types
add types to ape client (#4786)
2024-02-07 23:45:48 +01:00
Miodec
15af21cbf3 refactor(types): update namespace naming 2024-02-07 23:32:05 +01:00
Miodec
4f5f28a92d refactor(types): ape keys types
move to shared types (#4774)
add types to ape client (#4786)
2024-02-07 23:13:10 +01:00
Miodec
efb972a659 refactor(types): public types
move to shared types (#4774)
add types to ape client (#4786)
2024-02-07 22:29:16 +01:00
Miodec
65120db1f0 refactor(types): PSA types
move to shared types (#4774)
add types to ape client (#4786)
2024-02-07 19:06:06 +01:00
Jack
f456e1e615
refactor: enable no-floating-promises rule (#5007)
* enable rule

* backend

* fixes

* more fixes

* mooore fixes

* fixes

* fixed double void

* change some voids to await

* await -> void

* remvoe void

* missing return

* awaiting config update
2024-02-07 18:49:12 +01:00
Miodec
3233de860d fix: resolve circular dependency by moving new function to a utils file 2024-02-07 17:20:38 +01:00
Miodec
1ee058882f impr(types): add frontend config API response types
part of #4786
2024-02-07 17:13:04 +01:00
Miodec
c65b13e8aa chore: using new function from the previous commit 2024-02-07 17:10:18 +01:00
Miodec
4bbe321dfe impr: add function to merge partial config onto default config 2024-02-07 17:09:02 +01:00
Christian Fehmer
848e851973
test: fix typescript setup in tests (#5014) 2024-02-07 16:32:48 +01:00
Christian Fehmer
9d7e5b1ddb
test: add jquery and mocks to frontend tests (#5013) 2024-02-07 16:11:07 +01:00
Miodec
c57992343c refactor: update type name, make it dynamically generated 2024-02-07 13:50:45 +01:00
Christian Fehmer
97e2baa915
refactor: import jquery and jquery plugins using webpack (fehmer) (#4880)
* refactor: import jquery and jquery plugins using webpack

* move select import to index

* moved imports to the top

* unnecessary types

* ignoring requires in this file

* importing html2cavnas as needed instead of globally

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-07 13:12:12 +01:00
Miodec
0309fc3268 fix: not being able to login if user config is empty 2024-02-07 10:48:53 +01:00
Miodec
6c1c22787d fix(account page): results with isPb set to false still showing up as personal bests 2024-02-07 09:23:52 +01:00
Miodec
983be00861 refactor: not using any 2024-02-06 15:32:25 +01:00
Jack
83a4c0e6aa
refactor: enable strict-boolean-expressions rule (#4992) 2024-02-06 14:01:45 +01:00
Adam Mehaney
a0d8e3a9f2
impr(language): add 'buffer' to list of keywords in luau language (adammehaney) (#5005)
* Add 'buffer' to list of keywords in code_luau.json

* impr(language): add 'buffer' to list of keywords in luau language
2024-02-06 13:43:31 +01:00
Miodec
8c794aa058 fix: funboxes not applying on repeated tests
closes #5003
2024-02-05 15:24:34 +01:00
Miodec
bfda00166c impr: clearing funbox in the middle of the test finish animation
this will make sure funboxes like mirror clear while neither the test or result page are visible
2024-02-05 15:24:10 +01:00
Nipul Mallikarachchi
63c3b6773f
impr(quotes): add 2 russian quotes (NipulM) (#5002)
* impr(quotes): add 2 russian quotes (NipulM)

* update russian.json

correcting minor spelling mistakes.
2024-02-05 15:16:32 +01:00
Miodec
ca87feb26c fix: quote reports 2024-02-05 15:16:08 +01:00
Miodec
b8e647d38d impr(reporting): dont allow reporting for suspected cheating if user has opted out of leaderboards 2024-02-05 15:16:08 +01:00
Miodec
7326ff0985 impr(reporting): dont allow reporting for suspected cheating if user has opted out of leaderboards 2024-02-05 15:16:08 +01:00
Walter White
fed310ee9c
fix(language): cleaned russian 375k (mb6ockatf) (#4997) 2024-02-05 14:16:58 +01:00
anakojm
cf70ec93ec
feat(layout): add ergo‑l (anakojm) (#5001) 2024-02-05 14:13:00 +01:00
Andrey Kuznetsov
a6be3926a6
fix(language): typos in russian 10k (kae) (#4998)
* Update russian_10k.json

- fixed typos
- removed duplicates

* - fixed extra typos

* remove duplicates
2024-02-05 14:12:21 +01:00
Ale-Flash
5a525cbfd0
fix(language): remove non-italian words from italian 7k (Ale-Flash) (#5000)
removed non-Italian words such as crêpe that cannot be written with an Italian keyboard and other nonexisting words
2024-02-05 14:10:37 +01:00
Patel Prince
554d64f742
feat(lang): add gujarati 1k language (prince-patel23) (#4994)
* feat(languages): add Gujarati language support

BREAKING CHANGE: This commit introduces support for the Gujarati language in Monkeytype. Users can now practice typing in Gujarati.

* feat(languages): enable noLazyMode for Gujarati language

This commit adds the "noLazyMode": true property in the Gujarati.json file.

* feat(lang): add gujarati_1k language

Adds support for the gujarati_1k language with approximately 1000 words.

BREAKING CHANGE: None

* feat(lang): add new words to Gujarati_1k language

Adds a batch of new words to the Gujarati language.

* feat(lang):littel bit formating to Gujarati language

* fix(lang): remove duplicate word from Gujarati language

Addresses an issue by removing a duplicate word in the Gujarati language file.

* fix(lang): remove additional duplicate word from Gujarati language

Resolves an issue by eliminating another duplicate word in the Gujarati language file.

* fix(lang): remove one duplicate word from Gujarati language

Resolves an issue by eliminating another duplicate word in the Gujarati language file.

* pretty fix

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-02-05 13:41:22 +01:00
Miodec
94a4be3f6f refactor: use new functions
my dumbass forgot to save all files
2024-02-05 13:17:50 +01:00
Miodec
68fa0b65a5 test: add langauge string function tests 2024-02-05 13:16:40 +01:00
Miodec
acce544b19 refactor: add util functions for handling language strings 2024-02-05 13:16:05 +01:00
Miodec
7e33b4891e chore: upgrade jest 2024-02-05 13:01:09 +01:00
Miodec
5cea19e299 chore: add todos 2024-02-05 12:37:30 +01:00
Miodec
6fddc7c070 fix: weird behavior when using quote mode with a language that doesnt have a base (200) list 2024-02-05 12:36:39 +01:00
Jack
d9eb4b980d
fix(custom text): saving a book mode test completely breaking saved book mode tests (#4990)
* rename functions

* add set functions

* use new set functions (still need to fix type errors)

* make parameter not optional

* fix type errors
2024-02-01 15:17:13 +01:00
Miodec
1f302c3dd9 chore: quote lengths script 2024-02-01 12:46:24 +01:00
Miodec
a163c81474 fix(quotes): address quote reports 2024-02-01 12:45:54 +01:00
Jack
8b48347764
refactor: result types (#4980)
* further shared improvements
 - moved more types to shared
 - reworked the way results are typed

THIS COULD CHANGE LOGIC, TEST THIS

* removed comment

* update the way completed event is built on the client

* remove unnecessary property

* comment

* move hash check higher

* remove todo

* fix incorrect type

* updated type
remove field if undefined
2024-02-01 11:54:25 +01:00
Miodec
0920010f5e fix(account page): results being put in the wrong histogram bucket 2024-02-01 11:32:51 +01:00
Miodec
f57bac8071 fix(account page): account activity showing undefined tests completed on hover 2024-01-31 16:13:58 +01:00
Miodec
9e394beb41 fix: keymaps not showing 2024-01-31 13:51:37 +01:00
Jack
0124ee6345
chore: upgrade axios from 0.21.4 to 1.6.4 (#4986)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6032459
- https://snyk.io/vuln/SNYK-JS-AXIOS-6124857
- https://snyk.io/vuln/SNYK-JS-AXIOS-6144788

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-01-31 13:05:45 +01:00
Miodec
48184bbb24 chore: update supporters 2024-01-30 22:51:25 +01:00
Oleksii Zaitsev
217aa4a24e
refactor: quotes types (zaitsev-oleksii) (#4981)
* refactor: quotes types

* refactor: quotes types - void -> null

* refactor: quotes types - removed redundant code
2024-01-30 22:33:53 +01:00
Miodec
1a2e16884c fix(account page): rounding wpm instead of flooring when generating the speed histogram 2024-01-30 21:30:23 +01:00
Patel Prince
476992238d
chore: fix bcp 47 property in gujarati (#4983)
formatting the words , and change the property from "bcp 47": "gu" to "bcp 47": "gu-IN".
2024-01-30 13:44:43 +01:00
duunr
76c9d2db15
feat(layouts): add seht-drai, ints, rollla, wreathy (snypetofpaper) (#4982)
* Add seht-drai, ints, rollla, wreathy

* Fix CTGAP
2024-01-30 13:43:42 +01:00
Nivaldinho-jpg
3eb716b295
impr(quotes): added 23 portuguese quotes (nivaldinho-jpg) (#4888)
* Update portuguese.json

Added more quotes

* Update portuguese.json

Removed one quote

* Update portuguese.json

Fixed quote lenght (82 and 83)

* Update portuguese.json

* Update portuguese.json

* Update portuguese.json

Updated quote IDs

* Update portuguese.json

* Update portuguese.json

updated quote ids
2024-01-30 13:42:46 +01:00
Kacper Wyczawski
231a050b82
docs(privacy-policy): Remove incorrect duplicated date (kacperwyczawski) 2024-01-29 17:46:13 +01:00
Jack
0751375ab6
refactor: shared types (miodec) (#4978)
* rework shared types

* revert one small change
2024-01-29 15:53:42 +01:00
Jack
ee629db5b5
build: enable noUncheckedIndexedAccess compiler rule (Miodec) (#4958)
* added rule to backend and fixed all the errors

* setup frontend and start fixing some warnings

* more fixes

* fixes

* fixes

* fixes

* more refactoring

* fixes

* pain

* more pain

* ouch

* mooore

* 10 hours later

* ugghhh

* another one

* last element can be undefined duh

* smol one

* absolute typescript gigachad

* moooore fixes

* chart stuff

* almost done

* its... done

* remove console log

* use for of instead
2024-01-29 13:27:36 +01:00
Fynn
3c03478402
feat(quotes): add Kotlin quotes (Fynn-Pritzkau) (#4942)
* added 3 Kotlin quotes

* fixed length of quotes

* Added 5 new quotes

* fixed length of quotes

* Added 3 new quotes to code_kotlin.json

* Corrected length of quotes

---------

Co-authored-by: fynn.pritzkau <fynn.pritzkau@unitechnik.com>
2024-01-29 12:42:23 +01:00
Patel Prince
d7a85191d3
feat(languages): add Gujarati (prince-patel23) (#4967)
* feat(languages): add Gujarati language support

BREAKING CHANGE: This commit introduces support for the Gujarati language in Monkeytype. Users can now practice typing in Gujarati.

* feat(languages): enable noLazyMode for Gujarati language

This commit adds the "noLazyMode": true property in the Gujarati.json file.
2024-01-29 12:41:02 +01:00
Dlurak
b402230a24
feat(language): add code v (Dlurak) (#4957)
* Add the V programming language

* Change from `code_swift` to `code_V`

* Add way more words

All keywords, all types and some built in functions are now included
2024-01-29 12:39:07 +01:00
Miodec
b0f365e453 chore: pretty-fix 2024-01-29 12:34:41 +01:00
dirk-hub
4fb519d88b
fix(docker-compose): use the user "node" for the frontend container (dirk-hub) (#4963)
Co-authored-by: dirk <dirk.gitlab@gmx.de>
2024-01-29 12:29:19 +01:00
Christian Fehmer
9007039ac3
chore: errors shown in frontend tests in vscode (fehmer) (#4961) 2024-01-24 20:40:37 +01:00
Miodec
f099ccfe3b fix: email enumeration vulnerability 2024-01-24 13:09:45 +01:00
Eduard Stefanescu
0413c426d9
feat(quote): add more romanian quotes (StefanescuEduard) (#4960) 2024-01-24 12:47:29 +01:00
Derrick
1d6d910006
impr(quotes): add 5 Korean quotes (drrckchng) (#4959) 2024-01-24 12:43:22 +01:00
Ikaro Felix
bc49354740
impr(quotes): add Portuguese quotes (ikarofelix) (#4956) 2024-01-24 12:39:28 +01:00
Miodec
487d0feacc impr(typing): remember lazy mode choice when typing arabic in local storage
closes #4948
2024-01-22 15:03:42 +01:00
Dmitry
62c23e78b7
feat(quotes): add belarusian lacinka quotes (Dmskrzh) (#4938)
* Added "belarusian_laticnka.json"

* Update belarusian_lacinka.json

Changed "belarusian" to "belarusian_lacinka"
2024-01-22 21:46:16 +08:00
Eduard Stefanescu
32d1c13408
feat(language): add more romanian word lists (StefanescuEduard) (#4950)
Replace unused romanian double quotes with nornal quotes
2024-01-22 21:35:09 +08:00
Christian Fehmer
56ab68a383
fix(theme): dark note not replacing words with dots in some highlight modes (fehmer) (#4951) 2024-01-22 21:32:03 +08:00
github-actions[bot]
8ce99c935a
refactor: run prettier (#4949)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-01-22 21:29:57 +08:00
Nad Alaba
c16eb6d9c1
fix(quotes): fix grammatical and spelling errors of arabic quotes (#4947) 2024-01-22 21:29:41 +08:00
Victor Garcia
bec5ddfa87
fix(quote): typo in spanish quote (TortitasT) (#4943)
* fix: typo in spanish quote id 154

* fix: spanish quote id 154 length
2024-01-22 21:20:49 +08:00
Miodec
24ce17bd64 fix: typescript errors
idk where they came from
2024-01-18 23:51:55 +01:00
Miodec
e958803dd2 fix(profile): time untill streak is available calculated incorrectly (L-E-Freeman, Miodec)
Closes #4735
2024-01-18 23:05:49 +01:00
Dmitry
ee77e5bebf
feat(language): add belarusian lacinka (Dmskrzh) (#4935)
* Added language files

"belarusian_lacinka" and "belarusian_lacinka_1k"

* Update _groups.json

Added group "belarusian_lacinka"

* Update _list.json

Added "belarusian_lacinka" and "belarusian_lacinka_1k"

* Update belarusian_lacinka.json

Changed nolazymode to false

* Update belarusian_lacinka_1k.json

Changed nolazymode to false
2024-01-18 22:04:13 +08:00
Moon
1ef7f106d2
impr(quotes): add 8 new English quotes (LifeAdventurer) (#4916)
* impr(quotes): add 8 new English quotes

* fix: add missing 'is' in quote

* update quote 7029

* follow the reviewer instructions to remove quote

* resolve conflict

* fix: quote length error
2024-01-18 22:03:25 +08:00
Miodec
06b9c018a9 chore: quote lengths script 2024-01-18 15:02:54 +01:00
Miodec
e7282be367 fix(quotes): reports 2024-01-18 15:02:27 +01:00
Dmitry
49c8307572
feat(layout): add belarusian (Dmshrzh) (#4937)
Added Belarusian layout
2024-01-18 10:56:29 +01:00
Dmitry
a54135d7e0
fix(quotes): belarusian quotes (Dmshrzh) (#4936)
* Update belarusian.json

Added dots at the end of sourses and changed sources of quotes 3, 48, 49, 50

* Update belarusian.json

Changed « » to \" \"
2024-01-18 10:55:40 +01:00
Anas saifi
2c01de48f0
impr(quotes): add Hindi quotes (#4895)
* Added 10  hindi quotes

* fixed length count

* added new theme (mystic_night)

* Delete frontend/static/themes/mystic_night.css

* Delete frontend/static/themes/_list.json

* fixed conflicting issues

* Added missing _list.json

* fix indentation

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-01-18 10:53:40 +01:00
Gabriel Santana Paredes
9b79f2b053
impr(language): add more words to Scala (Hombre-x) (#4933)
* impr(language): add new words to Scala

* Update code_scala.json
* Added Scala common words

Some new words include:

- Typeclases (Functor and Monad)
- Types (Double, Option, Either, IO, ZIO, etcetera...)
- Scala 3 grammar keywords (given and using)
- Operators (:::, <=, >=, ===, etcetera...)
- Combinators (flatMap, foldLeft, traverse, etcetera...)

* fix(languages): removed duplicate on Scala

* Update code_scala.json
* fix: removed duplicated word "@main"

* fix(language): removed duplicate on Scala

* Update code_scala.json
* fix: removed duplicated word "@main"
2024-01-18 10:49:41 +01:00
Nipul Mallikarachchi
c0b6fbfefc
impr(quotes): add portuguese quote (NipulM) (#4932)
* Added English quote

* Added Portuguese quote
2024-01-18 10:48:34 +01:00
ProBottler
1327852092
impr(quotes): add 1 English quote (ProBottler) (#4930) 2024-01-18 10:45:34 +01:00
Jack
3b42ee4f0f
Revert "impr(quotes): add english quote" (#4929) 2024-01-15 17:55:42 +01:00
Dmitry
cdcd59ac26
feat(quotes): add belarusian quotes (Dmskrzh) (#4928) 2024-01-15 17:52:13 +01:00
Dmitry
57937d0993
feat(language): add Belarusian (Dmskrzh) (#4927)
* Added belarusian.json language file

* Update _groups.json

Added "belarusian"

* Update _list.json

Added "belarusian"
2024-01-15 13:39:45 +01:00
Richard Davison
71eba39fe1
Open feat(layouts): add graphite_angle_vc (rdavison) (#4926) 2024-01-15 13:25:20 +01:00
github-actions[bot]
4d402e9c5d
refactor: run prettier (#4925)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-01-15 13:20:28 +01:00
Miodec
b64dc497be fix(layout emulator): not returning default char if no alt char was defined
closes #4922
2024-01-15 13:19:55 +01:00
Nipul Mallikarachchi
77b47a7609
impr(quotes): add english quote (NipulM) (#4918) 2024-01-15 12:42:23 +01:00
Christian Fehmer
150a610928
test: add test to remove accents in lazy mode (#4917) 2024-01-15 12:41:28 +01:00
José Ángel López
adbfffdc55
feat(language): add Euskera (jlopezestrada) (#4885)
* feat: create euskera.json

* feat: add euskera to _groups.json

* feat: add euskera to _list.json

* fix: remove duplicates in euskera.json

* fix: change a word in euskera.json

* fix: change a word with special ñ character in euskera.json

Changed a special "ñ" character word "Iruña" into more common one without it.

* fix: move Euskera to the bottom of languages in _groups.json

* fix: move Euskera to the bottom of languages in _list.json
2024-01-15 12:37:59 +01:00
ebblies
c524e47048
feat(layouts): add lastimosa, omniroll, rain, uranus (ebblies) (#4912)
* Update _list.json

Added graphite_angle_kp layout

* lowercase

* feat(layouts): add ibrab000 layouts

* Update _list.json

* Update _list.json

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-01-15 12:34:20 +01:00
Ed
8ea5e7bb06
impr(quotes): add Spanish quotes (EDUJOS) (#4886) 2024-01-15 12:33:14 +01:00
Christian Fehmer
de82a67ab2
fix: ligatures not displayed correctly with dark_note theme (fehmer) (#4914) 2024-01-15 12:29:55 +01:00
M4Dd0x is here !
ffd4331f73
fix: console error when viewing replay (m4dd0c) (#4907) 2024-01-15 12:13:55 +01:00
Miodec
1c8b5ffc82 fix(lazy mode): not working for arabic accents 2024-01-11 23:08:10 +01:00
Miodec
22373a751f fix(wikipedia funbox): word generation returning to random words after the first section 2024-01-11 18:17:06 +01:00
Miodec
b93f14b5cd fix(account page): incorrect streak distance string when using offset
part of #4735
2024-01-11 15:23:38 +01:00
Miodec
2e77cb38ff impr(custom text): disallow saving empty custom texts
closes #4904
2024-01-10 17:37:48 +01:00
Miodec
eba4b92305 fix(custom text): not being able to delete custom text if content is empty
part of #4904
2024-01-10 17:35:39 +01:00
Miodec
84fe80bbc1 fix(layout emulator): emulator returning stringified event codes (like "Escape") 2024-01-10 17:22:35 +01:00
farkon00
0566280bc4
impr(layout emulator): add support for alt layer emulation (farkon00) (#4817)
* impr: add AltGr support to the keyboard emulator

* Added a polish layout

* fix: fix caps lock and punctuation behavior for layout emulator

* Add AltGr version of Ґ to the Ukrainian layout

* Fixed the backquote key not working for the layout emulator

* Renamed polish layout to polish programmers

* Made layout emulator use both alts for modifications on mac
2024-01-10 15:48:16 +01:00
Miodec
7843ce0478 impr(punctuation): add japanese punctuation 2024-01-10 15:37:41 +01:00
ebblies
cbb4524fae
feat(layouts): add graphite_angle_kp (ebblies) (#4905)
* Update _list.json

Added graphite_angle_kp layout

* lowercase

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-01-09 12:51:53 +01:00
Julian Barg
06e22c3a78
impr(quotes): Added English quote. (julianbarg) (#4891) 2024-01-09 12:30:17 +01:00
Tim Martin
e84491ce39
fix(languages): remove "customis*" from American English languages (t-mart) (#4892) 2024-01-09 12:26:19 +01:00
Christian Fehmer
a528182e59
fix: remove invalid java keyword (#4894) 2024-01-09 12:25:08 +01:00
Christian Fehmer
730dd20ec6
fix(lazy mode): proper handling of german umlaute in lazy mode (fehmer) (#4864)
* fix: Proper handling of german umlaute in lazy mode

* fix: Proper handling of german umlaute in lazy mode

* use additional accents from language file

* refactoring

* add tests

* update property name

* update validation script

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-01-08 17:01:20 +01:00
Christian Fehmer
6aa7a72727
test: configure testing for frontend code (fehmer) (#4879)
* test: configure testing for frontend code

* remove test coverage thresholds, cleanup
2024-01-08 15:26:57 +01:00
Kael
ef2f6930e7
feat(layouts): add engrammer (KaelWD) (#4902) 2024-01-08 15:22:06 +01:00
Nikhil Harry
4a4b54188e
impr(quotes): add quotes in various languages (sleeepstorm) (#4837)
* Added three Spanish quotes.

* Added 4 spanish quotes

* Update spanish.json

* Added a comma causing the failure

* Add 2 hindi quotes

* Add 2 Go Quotes

* Fixed length values on Go quotes.

* added a second hindi quote

* added comma
2024-01-08 15:17:39 +01:00
Kacper Wyczawski
cc0f96f636
impr(language): add more F# words (kacperwyczawski) (#4901) 2024-01-08 15:15:42 +01:00
Meet Patel
cbed2ef7cf
feat(font): add CommitMono (#4887) m2x07 2024-01-08 15:04:23 +01:00
Jack
09b770dba9
refactor: char counting (#4903) Miodec
* refactor: char counting

* fix: remove unnecessary export

* fix: remove console logs

* refactor: extract to separate functions

* refactor: remove double spread

* always pushing when test is active

* remove unnecessary variable
2024-01-08 14:40:25 +01:00
Miodec
6e5fe1ba66 chore: add supporter 2023-12-22 12:58:33 +01:00
MasterRon
b59287cf31
feat(layouts): add semimak jqc (MasterRon) (#4866)
* add semimak_jqc

* feat(layout): add semimak jqc
2023-12-20 16:08:59 +01:00
yunfachi
3ad1d6b601
fix(funbox): missing background image and extra scrolling in space balls (yunfachi) (#4872)
* fix: update background image in space_balls (yunfachi)

* fix: hide the scrollbar caused by page rotation in space_balls (yunfachi)
2023-12-20 16:08:23 +01:00
Miodec
1e14e184ee chore: quote lengths script 2023-12-19 14:54:47 +01:00
Miodec
cb74a85e5e fix(quotes): quote reports 2023-12-19 14:54:18 +01:00
Miodec
6ee981b2f9 impr: throttle connection state notifications
now the banner/notification will only show once per 10 seconds

closes #4875
2023-12-19 14:23:08 +01:00
Miodec
30f0241df9 fix(layout emulator): first key of layout always not working
closes #4833
2023-12-19 12:42:41 +01:00
Moon
fc8046dfb7
impr(quotes): add new English quotes (LifeAdventurer) (#4854)
* impr(quotes): add 10 new English quotes

* replace ellipsis with ...
2023-12-19 12:35:17 +01:00
yunfachi
b65aca954c
feat(languages): add code nix (yunfachi) (#4874) 2023-12-19 11:54:53 +01:00
yunfachi
cdcf4e5146
n fix(languages): remove bad and nonexistent russian words (yunfachi) (#4873) 2023-12-19 11:54:07 +01:00
github-actions[bot]
8951c1039e
refactor: run prettier (#4870)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-12-18 13:29:22 +01:00
Christian Fehmer
e4e7408795
fix: apply lazy mode to funboxes using pullSection (fehmer) (#4869) 2023-12-18 13:28:59 +01:00
Alejandro Gutiérrez López
63a6a7532c
impr(quotes): add Spanish quotes (KANGRIZ) (#4850)
* impr(quotes): add Spanish quotes (Spanish.json)

Added Spanish quotes, ID 148 to 150 (3 in total).
Comes from all different authors/sources.

* Update spanish.json

* Update spanish.json

* change quote id: 148 to another quote

* character length correction

* delete quote id 148
2023-12-15 11:49:17 +01:00
Miodec
c95acf9a47 chore: quote lengths script 2023-12-14 12:23:16 +01:00
Miodec
8aaa53a660 fix(quotes): user reports 2023-12-14 12:23:16 +01:00
Pablo
8bbc24bd19
feat(languages): add rockstar code language (pablos123) (#4843) 2023-12-11 13:04:15 +01:00
Boris Nezlobin
e8b92ed802
fix(about): "amount" to "number" (borisnezlobin) (#4856) 2023-12-11 12:55:34 +01:00
Brandon Flores
bb2711e21e
fix(quotes): english quote 5510 (brainandforce) (#4838) 2023-12-05 11:38:02 +00:00
Miodec
91e5a2f6fd chore: quote lengths script 2023-12-04 16:38:27 +00:00
Miodec
f985c3c8d0 fix(quote): quote reports 2023-12-04 16:38:14 +00:00
zft9xgy
e077be788a
impr(quotes): add Spanish quotes (zft9xgy) (#4831)
Co-authored-by: zft9xgy <zft9xgy@icloud.com>
2023-12-04 13:23:42 +00:00
Moon
712913e04a
impr(languague): add more words in code_c++ language (LifeAdventurer) (#4830) 2023-12-04 13:23:09 +00:00
Moon
3a5e8e830c
impr(quotes): add English quotes (LifeAdventurer) (#4827)
* impr(quotes): add 4 new English quotes

* fix: quote id not unique

* casing

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-30 16:46:19 +00:00
Miodec
896680c80b refactor: update wording on the quore report popup
also highlighted one sentence in red
2023-11-30 13:59:28 +00:00
Miodec
080c79865e chore: quote lengths script 2023-11-30 13:56:29 +00:00
Miodec
c041088535 fix(quotes): quote reports 2023-11-30 13:56:14 +00:00
Miodec
bc56cbc9e1 impr: blocking quick restart for long tests on result page
Quick restart is already disabled for long tests during the test.
This also disables it on the result page,
to make sure the user really wants to close
the result after a long time typing.
2023-11-30 13:29:02 +00:00
Christian Fehmer
bd2d360fc2
impr: remove unnecessary rest call to users/tags (fehmer) (#4826) 2023-11-30 13:22:12 +00:00
Miodec
5e350274f8 feat(layout): add japanese hiragana 2023-11-29 13:18:54 +00:00
Miodec
004977a895 style: reduce media query margin 2023-11-28 15:36:26 +00:00
Miodec
70ea09ac45 style: fix extra empty space at the bottom of the settings page 2023-11-28 15:32:20 +00:00
Miodec
afbdc96c7a style: center align tip on the settings page 2023-11-28 15:31:42 +00:00
Saccadence
dc0e52a383
impr(quotes): add english quote (Saccade) (#4816) 2023-11-28 13:20:42 +00:00
Miodec
de191141f0 fix(custom text words filter): dropdowns remaining visible after closing popup
closes #4811
2023-11-27 14:41:10 +00:00
Miodec
1d29929438 impr(custom text): not allowing empty custom text 2023-11-27 14:27:30 +00:00
Miodec
779ec58dab refactor: use button elements instead of divs
also use data- prefix for custom attributes
2023-11-27 14:19:21 +00:00
Samuel Breznjak
9a74bf692e
feat(language): add serbian latin (ekmas) (#4815)
* feat: added latin variation of serbian language

* fix: renamed serbian to serbian_cyrillic

* fix: added both variations to groups and list

* fix: added _ and fixed spelling

* fix: renamed serbian_cyrillic to serbian
2023-11-27 13:17:12 +00:00
FortPile
4fa6647b9c
fix(funbox): fix Wikipedia funbox sometimes producing double spaces (FortPile) (#4814)
* fix: prepone non-ascii characters removal

* also replacing fancy symbols

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-27 13:16:27 +00:00
Miodec
f0e26b5491 fix(quote): quote report 2023-11-27 13:06:42 +00:00
github-actions[bot]
de50b67147
Prettier fix (#4812)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-11-27 12:56:52 +00:00
Christian Fehmer
bd2058fae0
fix: crt mode not working on some buttons (fehmer) (#4810)
- apply box-shadow on buttons
- fix lavender theme hiding buttons on hover
- update crt mode specific themes not to use nested css
2023-11-27 12:56:33 +00:00
Moon
f5073385a6
impr(quotes): add English quote (LifeAdventurer) (#4809) 2023-11-24 15:51:14 +00:00
Abdulbasit
29f996d7ef
impr(language): replace kurdish central 45k with kurdish central 4k (Abdulbasit0123) (#4808)
* Delete frontend/static/languages/kurdish_central_45k.json

Most of the words in this file were not typeable at all. There were more than 100 unsupported and strange characters across them which were not even in Kurdish Sorani Keyboard/Layout. So, I Deleted it, and I am going to add another cleaner 4k words file.

* Adding kurdish 4k words

Adding kurdish_central_4k

* Update _list.json

I deleted the kurdish_central_45k file, and Added kurdish_central_4k instead, so updated this file too.

* Update _groups.json

I deleted kurdish_central_45k file, and added kurdish_central_4k instead, so I updated this file too.
2023-11-24 15:50:23 +00:00
Miodec
fa9d9ed523 fix(quotes): quote reports 2023-11-23 16:47:18 +00:00
Mario D'Andrea
c9d19047ad
impr(quotes): add Italian quotes (ormai) (#4807)
* Fix incomplete quote

* impr(quotes): add Italian quotes
2023-11-23 16:46:26 +00:00
Miodec
cf120260f4 chore: quote lengths script 2023-11-22 15:33:31 +00:00
Miodec
43445f4262 fix(quotes): quote reports 2023-11-22 15:32:53 +00:00
Miodec
7c8c37a989 style: fix icon spacing 2023-11-22 15:05:46 +00:00
Miodec
ff80d6eea8 refactor: use button and form elements instead of classes 2023-11-22 15:02:23 +00:00
Miodec
f2ef439dfd style: increase margin 2023-11-22 15:01:55 +00:00
Miodec
f4e5574c91 fix: button not styled correctly 2023-11-22 14:58:56 +00:00
Miodec
f5576adc9a refactor: use button element instead of class 2023-11-22 14:51:12 +00:00
Miodec
5ea9c712c5 fix: unnecessary media query 2023-11-22 14:46:18 +00:00
Serdar Bilici
f8f5271516
impr(language): update turkish 1k (s3rdarb) (#4806)
* Update turkish_5k.json

correction for misspelled words and a few additions and deletions

* Update turkish_5k.json

fixed typos and added new words for improvement

* Update turkish.json

Typo fixes

* Update turkish.json

* Update turkish.json

* Update turkish.json

* Update turkish.json

* docs: Turkish 1K changes

ln 782 was too long compared to other words and hampers the overall flow. Changed to shorter form

ln 1024 Typo corrected
2023-11-22 14:31:13 +00:00
Miodec
978d066fd9 refactor: use button instead of div 2023-11-21 14:36:32 +00:00
Miodec
b7f8c946df refactor: use button instead of div 2023-11-21 14:22:56 +00:00
Miodec
a195b959d2 refactor: use button instead of anchor
also disabling button while waiting for response
2023-11-21 14:19:58 +00:00
Miodec
1ab6c82c0c style: lower roundness of focus border on links 2023-11-21 14:14:22 +00:00
Miodec
610ed5a9d2 style: thicken up the result chart lines a little bit 2023-11-21 14:06:22 +00:00
Miodec
9779c70acd style: use theme color for chart gridlines
this makes sure that they are always visible
2023-11-21 14:05:55 +00:00
Christian Fehmer
1d4d7dab87
feat: Allow more results for premium users (fehmer, Miodec) (#4778)
* feat: Unlimited history for premium users UI

* disable button while loading, show spinner

* optional chaining

* add isPremium to /users, remove check from frontend

* add /results max batch size to configuration

* result batching ui v1

* rename variables, update button based on state, update text

* Return allowed results in /results if limit is partly overshooting the max limit

* use br instead of margin

* let result batches code handle button disabling

* hide title

* limit max width

* hide section when below batch size

* update limit color based on the % of limit used

* bring back loaded bar

* remove unused css

* fix alignemtn

* remove text for now

* add result getting log

* always hiding for non premium users for now

* Add server configuration users.premium.enabled, throw error on /results if premium user exceeds regular limit and premium is globally disabled

* Disable premium feature globally by default

* cleanup open todos

* Don't use premium user max limit on /results if premium feature is disabled on server

* fix merge issue

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-20 16:17:20 +00:00
Miodec
643451b9cc chore: quote lengths script 2023-11-20 15:17:13 +00:00
Miodec
3a38996c58 fix(quote): quote reports 2023-11-20 15:16:55 +00:00
Leo Wang
2f4eb103da
impr: add backtick in javascript language when punctuation is enabled (ascodeasice) (#4801)
* refactor: logic for adding bracket in code language

* feat: add tick-wrapped words in javascript

* feat: add tick to javascript with punc
2023-11-20 15:03:04 +00:00
Christian Fehmer
4b3059bdc7
refactor: Import shared types back into MonkeyTypes namespace (fehmer) (#4800)
* impr: Import shared types back into MonkeyTypes namespace, partially reverts #4769

* down to 6 errors

* fixes

* cleanup
2023-11-20 14:56:28 +00:00
Miodec
cb6d61e1ca fix: use hebrew quotes
also making sure that these are interchangable with other quote characters
2023-11-17 16:16:32 +00:00
Miodec
4947633cc2 chore: remove duplicates 2023-11-17 15:57:14 +00:00
Miodec
eac100dee0 chore: remove duplicates 2023-11-17 15:53:27 +00:00
Miodec
41aa5c61e2 refactor: fix accessibility of edit profile button
done by converting the popup to a form
converting class button to a button type submit
listening to form submit
2023-11-17 15:35:44 +00:00
Miodec
9380542e96 refactor: add text button class for consistency 2023-11-17 15:12:19 +00:00
Miodec
abe8383591 refactor: use a button element instead of a class 2023-11-17 15:11:59 +00:00
Miodec
a4efbdd714 refactor: use button element instead of a class 2023-11-17 14:59:35 +00:00
Miodec
b2377bc4d4 style: make sure checkbox cant shrink 2023-11-17 14:53:32 +00:00
Miodec
d879b3af36 fix(update custom theme popup): broken checkbox 2023-11-17 14:52:12 +00:00
Miodec
931f56f2b9 chore: quote lengths script 2023-11-17 14:33:57 +00:00
Miodec
7e40b31858 fix(quote): quote reports 2023-11-17 14:33:37 +00:00
toma-demagn
fbe835b0a7
impr(pace caret): only update pace caret on repeated tests if wpm was higher (toma-demagn) (#4798)
* Update pace-caret.ts

Changed the logic for lastTestWpm when repeating a test

* Update pace-caret.ts

Prettier reformat of file
2023-11-17 13:18:50 +00:00
Ryan Lundqvist
572dcd54d9
impr(quotes): add one English quote (ryanlundqvist) (#4799)
* impr(quotes): add one English quote

* impr(quotes): Fixed wrong length for English quote
2023-11-17 13:06:13 +00:00