Commit graph

10488 commits

Author SHA1 Message Date
Christian Fehmer
0dcf6c0d15
fix: fix wrong usage of DB.getLocalPB (#5132) 2024-02-26 14:13:14 +01:00
mizaagi
becb66dab6
feat(theme): add anti hero theme (mizaagi) (#5018)
* Create anti_hero.css

* Update _list.json

* updated colors

* Update anti_hero.css

fix color scheme

* Update _list.json

fix color scheme

* Update anti_hero.css

hopefully the final change to this theme.

* Update _list.json

hopefully the final change to this theme.

* update text color

* Update anti_hero.css

New error color fix

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-26 13:53:37 +01:00
Christian Fehmer
47576df773
chore(dev): wait for backend to be ready before starting frontend (#5121) 2024-02-26 13:48:05 +01:00
Denis Alex
db34b13b48
impr(quotes): add Dutch quotes (devdenisalex) (#5125)
* Update spanish.json

* Update spanish.json

* Update dutch.json

* Update dutch.json

* Update dutch.json
2024-02-26 13:40:06 +01:00
Ashin Berish
5ff0c3fdec
fix: ctrl+backspace replay bug (ashinberish) 2024-02-26 13:38:41 +01:00
Christian Fehmer
2ff0c60072
fix: personal bests not shown correctly on user tags (fehmer) (#5119) 2024-02-26 13:12:16 +01:00
Ajay kumar
f15bc397a9
refactor: replace $.each calls with for loops (underscoore) (#5112)
* docs:updated navigation to authentication

* impr: Clearing all the fields on Sign Up page after logged out

* refactor: Replace $.each calls with for loops #5107

* refactor: replace $.each calls with for loops (underscoore) #5112

* fix hover bug

* rename obj

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-02-26 12:40:13 +01:00
Christian Fehmer
b20df42f2f
test: replace jest with vitest on frontend (fehmer) (#5105)
* test: replace jest with vitest on frontend

* vscode config

* use prettier to format modfifications on save
2024-02-26 12:23:50 +01:00
aarnav593
002770ee26
feat(language): add english medical (aarnav593) (#5108)
* Update _list.json

added medicine as a language

* Create medicine.json

* Update medicine.json

* Added words to english_medical

200 words

* Rename medicine.json to english_medical.json

* changed medical to english_medical

* added english_medical to English group

* Update english_medical.json

fixed naming error

* fixed duplicate words in english_medical.json

tried creating pull request, returned an error. fixed errors.

* Update english_medical.json

saving work

* Update english_medical.json

added nearly 500 medical words

* Update english_medical.json

fixed a few duplicates

* Update english_medical.json

fixed some more duplicates

* Update english_medical.json

fixed typo

* Update english_medical.json

fixed duplicates again; added two new words (cerebellum and brain stem)

* Added some more words

more to come

* added more

keeping em coming

* Update english_medical.json

* Update english_medical.json

* Update english_medical.json

* Update english_medical.json

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-26 12:14:38 +01:00
Miodec
c3f7f0de6a impr(dev): showing notifications with unhandled errors 2024-02-25 22:44:59 +01:00
Miodec
a8285c068e fix(caching): remove precaching and navigation fallback
should fix email handler being broken
2024-02-25 13:38:15 +01:00
Miodec
829174983a fix: firebase not defined in email handler 2024-02-25 13:09:24 +01:00
Miodec
fd6d1cbbf8 impr(hosting): add precaching to static pages 2024-02-25 11:49:45 +01:00
Miodec
91c30cd889 fix(caret): underline caret too low 2024-02-23 21:24:45 +01:00
Miodec
01aefa91b4 chore: add 404 for static resources 2024-02-23 20:43:12 +01:00
Miodec
a1ba4a9652 fix: dont rewrite static assets to index
should fix resources not giving 404 errors
2024-02-23 19:43:33 +01:00
Miodec
6db321c8fc fix: correctly handling 404 errors when getting quotes 2024-02-23 19:27:12 +01:00
Miodec
d19a95e548 chore: remove trace 2024-02-23 13:14:42 +01:00
Miodec
8076acf333 impr(typing): always allow lazy mode when in custom mode, no matter the current language selection
closes #5071
2024-02-22 23:14:44 +01:00
Christian Fehmer
81b388af4a
impr: remove usage of jQuery getJSON (fehmer) (#5109)
* impr: remove usage of jQuery getJSON

* use generic

* throwing if nothing found

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-02-22 23:05:37 +01:00
myakinx
fd4f1e51e4
fix(language): Update turkish_5k.json (myakinx) (#5100)
* Update turkish_5k.json

Changed Words: 
“mahallesi” to “mahalle”
“sıralarında” to “sıra”
“geçmişi” to “geçmiş”
“standı” to “stand “
“tahminler” to “tahmin”
“dinle” to “dinlemek”
“kısaltmalar” to “kısaltma”
“aminoasit” to “amino asit”
“geldi” to “gelmek”
“fotojeni” to fotojenik”
“jonglör” deleted because it was not included in the Turkish Dictionary.
“numarası” to “numara”
“onanması” to “onanma“
“prospektüsü” to “prospektüs”
“molekülü” to “moleküllü”
“düştü” to“düşmek”
“işareti” to “işaret”
“toplamı” to “toplam”
“vardır” to “var”
“süblimasyon” to “süblimleşme”
“aralığı” to “aralık”
“yakalandı” to “yakalanmak”
“kyanit”  deleted because it was not included in the Turkish Dictionary.

* Update turkish_5k.json

* Update turkish_5k.json
2024-02-22 23:01:10 +01:00
Miodec
8b0c61415d impr(caret): better placement, cleaned up some animations, fix right to left issues 2024-02-22 19:22:00 +01:00
Miodec
b03ea666c8 refactor: replace jquery event with vanilla event 2024-02-22 17:52:59 +01:00
Miodec
7e73d47f09 impr: better bug hunter badge description 2024-02-22 17:30:31 +01:00
Miodec
6dbc7371ee fix: jquery being undefined 2024-02-22 17:21:55 +01:00
Miodec
0b25148fb9 chore: yeet service workers when in dev environment 2024-02-22 17:13:53 +01:00
Miodec
f1c620ee51 chore: include index 2024-02-22 16:26:18 +01:00
Miodec
2db6a88644 fix: email handler not working 2024-02-22 16:10:08 +01:00
Miodec
67f0df76c2 fix: input history button alignment 2024-02-22 15:25:40 +01:00
Miodec
8ec149cbfe chore: release v24.8.0 2024-02-22 15:11:29 +01:00
Sachin Kumar
1429c2ca8c
impr: save pbs for numbers mode separately (notreallystatic, miodec) (#4946) 2024-02-22 15:07:42 +01:00
Miodec
3e591635e5 refactor: pretty fix 2024-02-22 13:07:28 +01:00
Miodec
c7e122f640 impr: authentication error messages 2024-02-22 12:59:08 +01:00
Miodec
34161ddffa fix: unfriendly error message when authentication fails on the client side
closes #5079
2024-02-22 12:33:59 +01:00
Nipul Mallikarachchi
bebd11a35e
impr(quotes): add JavaScript quote (NipulM) (#5099) 2024-02-22 11:54:16 +01:00
Nipul Mallikarachchi
9017312a95
impr(quotes): add 3 english quotes (NipulM) (#5098) 2024-02-22 11:53:50 +01:00
Jack
8f6bfbb708
build: replace webpack with vite (#5096) 2024-02-22 02:24:20 +01:00
Exploration
c29220323b
feat(theme): add macroblank theme (TheExploration) (#5088) 2024-02-21 13:42:33 +01:00
Denis Alex
6ef08d4707
impr(quotes): add Spanish quotes (devdenisalex) (#5094)
* Update spanish.json

* Update spanish.json
2024-02-21 12:51:06 +01:00
Christian Fehmer
edd535c700
fix: leaderboard tables having different column width (fehmer) (#5091)
* fix: leaderboard tables having different column width

* up the date width a bit

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-21 12:50:12 +01:00
Jack
01790d8a3a
refactor: shared user types (#5080)
* move user to shared definitions

this includes whatever user can have on it, tags, presets and so on

* profiles, mail and others

* fix logic

* yeet

* same as master for now

* tsc fixes

* remove comment

* fix tests

* chore: omit ips

* fix(language): remove some unnecessarily capitalised words in german 1k

* fix(typing): first space sometimes soft locking the website

* perf: speed up settings page loading

* 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

* 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

* 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>

* impr(funbox): add 46 group languages to wikipedia funbox (RealCyGuy) (#5078)

* impr: provide all-time LB results during LB update (fehmer) (#5074)

Try to provide LB results during the LB update. There is a very small time-frame where
already running queries might fail during the update. For now we keep the 503 error in this
cases and monitor how often this happens on production.

* impr(funbox): add ` (grave accent, 96) and ~ (tilde, 126) to specials (#5073)

* impr: add testWords and wordsHistory to copy result stats (#5085)

* feat: add testWords and wordsHistory to copy result stats

* fix

* add fe ts dep

---------

Co-authored-by: Christian Fehmer <fehmer@users.noreply.github.com>
Co-authored-by: Andrey Kuznetsov <akuznetsov@outlook.com>
Co-authored-by: Cyrus Yip <cyruscmyip1@gmail.com>
Co-authored-by: fitzsim <fitzsim@fitzsim.org>
2024-02-19 17:15:15 +01:00
Christian Fehmer
06c50deb3a
impr: add testWords and wordsHistory to copy result stats (#5085)
* feat: add testWords and wordsHistory to copy result stats

* fix
2024-02-19 15:02:51 +01:00
fitzsim
7c0425eb90
impr(funbox): add ` (grave accent, 96) and ~ (tilde, 126) to specials (#5073) 2024-02-19 15:00:56 +01:00
Christian Fehmer
bf2c4cc5bb
impr: provide all-time LB results during LB update (fehmer) (#5074)
Try to provide LB results during the LB update. There is a very small time-frame where
already running queries might fail during the update. For now we keep the 503 error in this
cases and monitor how often this happens on production.
2024-02-19 14:59:30 +01:00
Cyrus Yip
d1b663a5be
impr(funbox): add 46 group languages to wikipedia funbox (RealCyGuy) (#5078) 2024-02-19 14:58:43 +01:00
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