Commit graph

3940 commits

Author SHA1 Message Date
Miodec
48872a024b chore: remove old plushie banner 2024-06-12 17:47:08 +02:00
Miodec
3f8f1b9fd6 refactor: move focus call to the focus file 2024-06-12 17:46:27 +02:00
Miodec
a587efad69 refactor: start without focus class
everything else is not focused initially (it gets focused in js)
so this change is for consistency
2024-06-12 17:45:59 +02:00
Miodec
d8cda00b27 chore: add comment 2024-06-12 17:36:14 +02:00
Miodec
54f6e630a6 refactor: remove unnecessary line 2024-06-12 17:35:48 +02:00
Miodec
4dc137fe21 refactor: remove unnecessary code 2024-06-12 17:25:37 +02:00
Miodec
995f71d4ed refactor: move skeleton save to async modules 2024-06-12 17:23:50 +02:00
Miodec
9b739f6e64 refactor: move error event handlers to a dedicated event handlers file 2024-06-12 16:50:44 +02:00
Miodec
79874fe4e9 chore: upgrade vite-plugin-pwa
also change injectRegister parameter
2024-06-12 16:38:20 +02:00
Miodec
2d6d84a4d7 fix: update twitter link
!nuf
2024-06-12 16:27:21 +02:00
Miodec
0f89730d38 impr(finnish 10k): remove bad word 2024-06-12 12:36:32 +02:00
Christian Fehmer
d5b3103967
fix: unable to rename freshly created theme (fehmer) (#5486) 2024-06-12 10:24:52 +02:00
Miodec
0715352c5a fix(typing test): expert mode not working 2024-06-11 18:10:50 +02:00
Miodec
4e46f6bc9f fix(typig test): blind mode not highlighting missed characters as correct
(turns out that "old unused code" was actually quite important)
2024-06-11 14:25:28 +02:00
Miodec
28a397ecf2 fix(tape mode): letter scrolling not working 2024-06-11 12:58:06 +02:00
Miodec
04a64c6662 fix(typing test): line jumping too late 2024-06-11 12:52:44 +02:00
Miodec
cfbac0f153 fix(typing test): highlight mode next, next 2 and next 3 dont dehighlight typed words
closes #5395
2024-06-11 12:28:28 +02:00
Miodec
6a768b40b4 feat(funbox): add plus zero funbox. only the current word is visible 2024-06-11 12:25:26 +02:00
Miodec
d6c17664ee refactor: await word addition, call some UI functions after word addition 2024-06-11 12:25:26 +02:00
Miodec
faf7efa043 refactor: move test finish/fail logic, add all words generated check 2024-06-11 12:25:26 +02:00
Miodec
148fa1e519 refactor: move tape scrolling function call to the ui file 2024-06-11 12:25:26 +02:00
Miodec
0e8274f93d refactor: checking if all words were generated before stopping the test 2024-06-11 12:25:26 +02:00
Miodec
fb721344a7 refactor: throw if word element is nullish instead of assuming its always there which could cause issues 2024-06-11 12:25:26 +02:00
Miodec
eab8eefd4b refactor: extract code so that it can be used in other places 2024-06-11 12:25:26 +02:00
Miodec
2e78d9f066 refactor: remove old, unnecessary code 2024-06-11 12:25:26 +02:00
Miodec
60570459cb refactor: only calling ui functions when on the test page 2024-06-11 12:25:26 +02:00
Miodec
ee340f4e22 impr(type): more accurate type on a function parameter
!nuf
2024-06-11 12:25:26 +02:00
Walter White
323185d558
fix(russian 375k): delete unwanted words (#5483) 2024-06-11 12:23:57 +02:00
acalanato
452795f01f
feat(lang): add portuguese 5k (acalanato) (#5462) 2024-06-11 12:23:21 +02:00
Basil
b7f05d7b5d
feat(layouts): add cascade layout (HamNuggets) (#5481)
* feat: add cascade layout

* fix(layouts): fix silly mistake (HamNuggets)
2024-06-10 16:48:39 +02:00
Raffael Di Pietro
7a15565923
impr(quotes): add French quotes (Augustin68) (#5463) 2024-06-10 16:31:23 +02:00
SANDHIYA G
76eb104f37
feat(theme): add lilac mist (sandyg6) (#5415)
* feat(theme):Add lilac_mist

* feat(theme): Add updated lilac_mist.css

* Update _list.json

* feat(theme): Add theme lilac_mist

* Add lilac_mist.css

* Add Updated _list.json

* Add updated lilac_mist.css

* increase color separation

darker text
pinker main
lighter sub

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-06-10 16:18:35 +02:00
Jack
f72f58f3f9
fix: font awesome regular not working (Miodec, fehmer) (#5477)
!nuf
2024-06-07 13:51:32 +02:00
Christian Fehmer
a8c7134f80
fix: year selector flashing in the top left on page load (fehmer) (#5476) 2024-06-07 12:33:53 +02:00
Christian Fehmer
fad3f6e8d1
impr: optimize use of fontawesome (fehmer) (#5423)
!nuf
2024-06-07 11:29:04 +02:00
Nad Alaba
a1c805cc28
fix: backspace to previous word in stop on letter leaving type hints (NadAlaba) (#5466)
* fix: fix backspace to previous word in stop on letter (NadAlaba)

* revert to calling updateWordElement() in all cases after backspacing
2024-06-05 15:25:48 +02:00
Tarun
37c256b037
impr(quotes): add hindi quote (atypicalesper) (#5475)
* Update hindi.json

The translation is "In the journey of life, when no friend was seen far and wide, in panic, I made loneliness a companion, turning an enemy into a fellow traveller."

* Update hindi.json

the translation for the added quote is "In the journey of life, when no friend was seen far and wide, in panic, I made loneliness a companion, turning an enemy into a fellow traveller."
2024-06-05 15:21:53 +02:00
ethan
e038873b5c
fix: misaligned tooltip in terms-of-service (extoplasm) (#5474) 2024-06-05 15:20:37 +02:00
Miodec
8e8fdf8720 fix(style): right to left languages causing test word offset 2024-06-04 13:30:14 +02:00
Miodec
85007b7412 fix(style): weird shifting behavior when typing test that is only one line 2024-06-03 18:02:24 +02:00
Miodec
2890dc7db1 fix(funbox): memory not allowing typing at all
closes #5457
2024-06-03 17:30:07 +02:00
Christian Fehmer
01076986be
fix: test activity graph bugs (fehmer) (#5468) 2024-06-03 13:00:30 +02:00
Qihan Liu
eac0f7c6af
impr(quotes): correct typos and added quotes in simplified chinese (faq0) (#5465)
* Update chinese_simplified.json

Corrected 2 typos,
added some quotes,
edited the length group.

* fix PR check issues

edited one length of a quote
2024-06-03 12:15:26 +02:00
celestars
2265472028
impr(quotes): Add English quote (celestars) (#5452) 2024-06-03 11:52:38 +02:00
Christian Fehmer
24909fda1c
feat: detect custom background image not available (fehmer) (#5460)
* feat: detect custom background image not available (fehmer)

* settings page not updating custom background input if config changes

* cleanup
2024-05-30 13:04:55 +02:00
Miodec
595000ad4f fix(caret): incorrect placement on page load 2024-05-29 19:52:41 +02:00
Miodec
b2a8604994 fix(presets): punctuation and numbers modes not being enabled in certain situations
this was done by moving the setter functions to be called after setting the mode config

closes #5454
2024-05-29 15:00:06 +02:00
Nad Alaba
2c0002c919
fix(xp): hide decimal point if displayed xp is < 1000 (NadAlaba) (#5448)
* fix(xp): hide the decimal point if displayed xp is an integer < 1000 (NadAlaba)

* fix tests to match new rounding behavior

* if you failed the test change the test

* revert abbreviateNumber() and test changes and move previous changes to formatXp()
2024-05-29 14:48:54 +02:00
Miodec
57ff186f91 build: add @shared alias pointing to the shared directory 2024-05-29 14:29:47 +02:00
Miodec
a279744ef3 refactor: update crown type names 2024-05-28 18:20:31 +02:00