Commit graph

4222 commits

Author SHA1 Message Date
Miodec a00a8bb94c fix: changing tape mode during the test causing overflow 2024-07-08 13:17:48 +02:00
Miodec d2caf248b3 fix: practice missed words generatic less words than expected
closes #5584
2024-07-08 11:32:03 +02:00
Miodec ae712b3135 fix: short tests not saving towards "session typing time"
closes #5585
2024-07-08 11:25:18 +02:00
Jack aac44aead3
refactor(caret): add lastwordelement, optimise top pos, letter width, letter height (#5567) 2024-07-05 19:18:15 +02:00
Miodec ffc47e861d style(typing test): fix newline/tab characters not working well with some fonts 2024-07-05 18:30:05 +02:00
Miodec 9fb4005452 impr(result page): modify navigation order to make sure tab focuses the next test button 2024-07-05 17:56:43 +02:00
Miodec b19be346f0 style(test result): fix line height of test type text 2024-07-05 17:42:55 +02:00
Miodec 39b52fac62 style(result page): fix replay play button margin 2024-07-05 17:40:38 +02:00
Miodec 6bbb11fa9e refactor(test config): use display instead of visibility for puncandnum
- this fixes an issue where punctuation and numbers buttons were focusable on the result page
 - also slightly reworks the way width animation works
2024-07-05 17:38:23 +02:00
Miodec 48b57320b2 style(core): add visibility prop to the invisible class
!nuf
2024-07-05 17:38:23 +02:00
Jack 6ccdadfe34
impr(test ui): changing tape mode no longer restarts the test (#5565)
move word wrapper class assignent to a function
make sure to update word wrapper classes when changing some settings
2024-07-05 16:13:09 +02:00
Truite Séchée cf855bd48d
impr(test config): allow keyboard navigation (@Truiteseche) (#5528) 2024-07-04 13:27:24 +02:00
Miodec 5ef6da0618 impr(shadow theme): dont dehighlight typed words in shadow theme
closes #5557
2024-07-04 12:31:12 +02:00
Miodec b631dc4143 impr: escape html when displaying custom text names 2024-07-03 17:34:54 +02:00
Miodec 8beddebbd4 fix: active word duplication in code quotes
closes #5505
2024-07-03 13:03:05 +02:00
Miodec d6a3cd08ea fix(test): tab-navigating away from the test words doesnt fade in the ui 2024-07-03 13:03:05 +02:00
Miodec 03937c72cd fix(word generator): repeated tests sometimes triggering generation error 2024-07-03 13:03:05 +02:00
Christian Fehmer ea650278ea
fix: error when loading account page and quickly navigating to another page (@fehmer) (#5555) 2024-07-03 12:03:50 +02:00
Christian Fehmer 4f29aa55aa
fix: mexican theme sub alt color (@fehmer) (#5552) 2024-07-02 22:58:51 +02:00
Miodec b8fce15490 impr(commandline): add vim keybinds for navigating up and down 2024-07-01 16:10:10 +02:00
Miodec bfaa7b2dc4 chore: quote lengths script 2024-07-01 16:04:00 +02:00
Christian Fehmer 6d1b4f38b6
fix: test history tags button flashing on load (@fehmer) (#5550) 2024-07-01 16:03:50 +02:00
Miodec 63aad7c42f fix(quotes): user reports 2024-07-01 16:03:19 +02:00
Alejandro Escanes 63b9f7605f
impr(quotes): add code_php quotes (aescanes) (#5509) 2024-07-01 14:13:21 +02:00
Christian Fehmer e61b377e9a
feat(theme): add terrazzo (@fehmer) (#5539)
* feat: add terrazzo theme

* typo

* update main color

* whoopsie

* review comments
2024-07-01 13:55:53 +02:00
Azim Akmatov 40b8a489bf
feat(languages): add kyrgyz_1k (akmatoff) (#5535)
* Add kyrgyz language 1k

* some more words and fixes

* remove duplicates

* FIx trailing comma, fix indentation
2024-07-01 13:54:43 +02:00
Aaron 0877723fdf
chore: replace twitter urls with x (unrealapex) (#5541)
* chore: replace twitter urls with x

* chore: fix twitter account url
2024-07-01 13:53:49 +02:00
Miodec 0b16dcefca impr(language): lowercase all assembly words for easier practice 2024-07-01 13:07:22 +02:00
github-actions[bot] aa46f78909
refactor: run prettier (#5548)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-07-01 12:40:34 +02:00
theiereman 2714af1eeb
impr(server): trim consecutive newlines when updating user profile (theiereman) (#5538) 2024-07-01 12:30:27 +02:00
Carles Mitjans 2da6e555cc
fix(themes): wrong theme added to favorites when using random theme (mitjans) (#5532)
* fix(theme): random theme switcher (mitjans)

Signed-off-by: Carles Mitjans <carles.mitjans.coma@gmail.com>

* refactor(theme): remove unnecessary clear of random theme (mitjans)

* chore: remove some words from the profanity list

---------

Signed-off-by: Carles Mitjans <carles.mitjans.coma@gmail.com>
Co-authored-by: Miodec <jack@monkeytype.com>
2024-07-01 12:18:13 +02:00
Christian Fehmer d0e9206c1b
fix(themes): mexican theme being unreadable (@fehmer) (#5536) 2024-06-27 13:32:35 +02:00
Christian Fehmer dbef3f40bd
fix: lazy mode not working for vietnamese (@fehmer) (#5534) 2024-06-27 13:29:53 +02:00
Carles Mitjans 3346b3891a
fix(test): apply highlight mode when loading (mitjans) (#5533) 2024-06-27 13:29:26 +02:00
Michael Navarro 29bd0df379
impr(notifications): message readability on hover (navazjm) (#5529) 2024-06-27 13:22:25 +02:00
Miodec 00d73be17f impr(dev options modal): add button to show test notifications
!nuf
2024-06-27 13:20:06 +02:00
Christian Fehmer 5da8c6ed8c
fix(test activity): calendar months misalignment in some cases (#5523) 2024-06-25 10:26:37 +02:00
theiereman e42f888ff1
impr(layout): add alt layer character to azerty (theiereman) (#5480)
* impr: Added two-step highlighting for accented characters that require the use of dead keys

* fixed azerty keymap

* using lazy mode to normalize accents

* added a larger accent map

* added alt gr characters on azerty layout

* Revert "added a larger accent map"

This reverts commit 5f2a443158.

* Revert "using lazy mode to normalize accents"

This reverts commit bec505f9fb.

* Revert "impr: Added two-step highlighting for accented characters that require the use of dead keys"

This reverts commit 6cea582260.

---------

Co-authored-by: Thomas EYERMANN <thomas.eyermann@custy.com>
2024-06-25 10:24:14 +02:00
Acas 23fb71c1ad
feat(layout): add vylet (MightyAcas) (#5525) 2024-06-25 10:23:16 +02:00
marcin grzebieluch f123617c33
impr(practice): shuffle words when practicing missed/slow words (grzebiel) (#5519)
* impr(practice): random shuffle words in all practice modes

* change self made shuffle into CustomText.setMode("shuffle")
2024-06-25 10:20:51 +02:00
Miodec b6069a78ac fix: scroll to top button appearing on load 2024-06-24 15:20:00 +02:00
Miodec c534453a0a fix(punctuation): make sure punctuation characters are placed before newline or tab characters
closes #5522
2024-06-24 14:22:17 +02:00
Miodec d384462496 fix(language): remove "childrens" 2024-06-24 14:18:53 +02:00
Connor b641017ab9
impr(quotes): add English quotes (connorcarey) (#5520)
* Added Gurren Lagann Quotes

* Fixed grammatical errors

---------

Co-authored-by: Connor Carey <cocarey@Connors-Android-Laptop.local>
2024-06-24 14:17:31 +02:00
Dejan Zdravkovic e6acf225dc
feat(language): add special lazy mode replacement to serbian (while1618) (#5518)
* adding serbian latin simplified

* fix words in serbian_latin_simplified

* prettier

* fix words

* serbian latin with lazymode
2024-06-24 14:11:27 +02:00
Nad Alaba 211253becb
fix(zipf): improve approximation of zipf distribution (@NadAlaba) (#5515)
* fix(zipf): improve approximation of zipf distribution

* rename

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-06-24 14:08:47 +02:00
BatMan d12da37050
impr(quotes): add Spanish quotes (Omaeda) (#5511) 2024-06-24 13:57:26 +02:00
Miodec bfc9500d32 fix(quotes): typo 2024-06-17 22:11:11 +02:00
Christian Fehmer 8e1aeb3159
feat(auth): allow removal of password authentication (@fehmer) (#5499) 2024-06-17 18:23:48 +02:00
Christian Fehmer d733996b09
impr(custom theme rename modal): automatically select input (@fehmer) (#5487) 2024-06-17 16:35:44 +02:00
Aurimas Anskaitis 768c225036
feat(layout): gallium v2 (AurimasAnskaitis) (#5500) 2024-06-17 15:48:39 +02:00
Miodec f4f83cf489 impr(dev): add button to cycle media query debug from the frontend
!nuf
2024-06-17 15:32:24 +02:00
Christian Fehmer b4ea7f119f
impr(dev): add endpoint to create test user/data (fehmer) (#5396)
!nuf
2024-06-17 15:21:55 +02:00
Miodec 57a6fd9bd5 fix(login page): pressing enter opening google login 2024-06-17 11:48:20 +02:00
Christian Fehmer f0ec0c04fd
fix: test activity graph showing 54 weeks (@fehmer) (#5497) 2024-06-16 23:29:08 +02:00
Miodec 92193f1dc5 impr: slightly rework the login page 2024-06-16 23:24:00 +02:00
Miodec 2c7e77be62 impr(login): start sign up button disabled
!nuf
2024-06-16 23:17:56 +02:00
Miodec 92a05f171c style: change label text color when checkbox is disabled 2024-06-16 23:08:44 +02:00
Miodec e1510b86ea style: disable user selection on checkbox labels 2024-06-16 22:08:08 +02:00
Miodec f9e955d319 chore: update title 2024-06-16 21:37:14 +02:00
Miodec 0042a76a2d impr(about page): add icons 2024-06-16 21:24:00 +02:00
Miodec c747bf4527 fix: incorrect import
!nuf
2024-06-16 18:48:38 +02:00
Miodec afe99b0abc chore: move file 2024-06-16 18:38:44 +02:00
Miodec a22dee8a72 refactor: rewrite share test modal to use new system 2024-06-16 18:32:51 +02:00
Miodec a84e9638af refactor: move files 2024-06-16 18:23:40 +02:00
Miodec 2a06e3a4f3 refactor: move files 2024-06-16 18:19:41 +02:00
Miodec fe63d3f194 chore: remove old, unused code 2024-06-16 18:18:11 +02:00
Miodec 3b4276bf7e fix: incorrect name value
!nuf
2024-06-16 17:00:41 +02:00
Miodec 050ba42f1a impr(keymap): remove iso key when using matrix keymap on iso layouts
closes #5495
2024-06-16 16:37:53 +02:00
Miodec 252b44653f feat(language): add armenian and armenian 1k 2024-06-16 16:13:14 +02:00
github-actions[bot] 6c3b194e4d
refactor: run prettier (#5493)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-06-16 16:07:40 +02:00
theiereman 98ff4b288b
impr: add character-counter class to avoid code duplication (theiereman) (#5482)
!nuf
2024-06-16 16:02:57 +02:00
Christian Fehmer ccd2b1ef28
impr: add button to remove custom theme background (@fehmer) (#5488)
* impr: add button to remove theme background (@fehmer)

* update notification if custom background cannot be loaded. Always update remove button visibility

* update error message
2024-06-16 15:41:36 +02:00
Christian Fehmer 90e234f77a
fix: typed letters not visible in tts funbox if highlight=off (@fehmer) (#5496) 2024-06-16 15:37:09 +02:00
Miodec 120b660efc refactor: rework auth state change function
also renames a function
also extracts sign in out button code to its own file
2024-06-13 14:15:44 +02:00
Miodec 50b658b722 refactor: dont use deprecated function 2024-06-13 14:14:23 +02:00
Miodec e290b529b7 refactor: avoid root module level function calls (except entry file) 2024-06-13 11:26:43 +02:00
Miodec 20eaec60d9 test: mocking isAuthenticated to false 2024-06-13 00:48:19 +02:00
Miodec 5351c4eca5 refactor: move function call 2024-06-13 00:34:32 +02:00
Miodec 7deb58cf88 refactor: github version checking 2024-06-12 20:04:12 +02:00
Miodec 26785515e9 fix: remove unused imports
!nuf
2024-06-12 18:00:40 +02:00
Miodec b9f0365241 revert: "refactor: start without focus class"
This reverts commit a587efad69.
2024-06-12 18:00:10 +02:00
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
Miodec 5306d6fe2c fix: remove pending crown from results that wont be sent to the server 2024-05-28 18:16:38 +02:00
Miodec bc3ecb25eb impr(result): add new crown states (error, warning, ineligible, normal) 2024-05-28 17:11:10 +02:00
Miodec aa2466a0d1 feat(result): disallow stop on error letter from getting new pbs 2024-05-28 17:10:51 +02:00
Miodec 4a29e6a1be chore: remove unnecessary import 2024-05-28 13:44:23 +02:00
Miodec cd11d7ced7 impr(result saving): better error message when result schema is incorrect
this should reduce confusion, especially when deploying updates
2024-05-28 13:43:01 +02:00
Miodec 468460fc27 impr(british english): add more words to the replacement list 2024-05-28 13:38:12 +02:00
Miodec cebc4d76ad chore: quote lengths script 2024-05-28 11:55:07 +02:00
Miodec 353077c7aa fix(quotes): user reports 2024-05-28 11:54:44 +02:00
Miodec 898278b3eb docs: missing paragraph element
fixes #5443
2024-05-28 11:06:14 +02:00
Miodec 8e057e3cb6 impr(server): move password update from client to server
this allows us to make sure to invalidate user tokens on password change

!nuf
2024-05-28 11:06:14 +02:00
Nad Alaba f9d1016e47
fix(layout): fix arabic 101 & arabic 102 layouts (#5449) 2024-05-28 10:46:47 +02:00
Nad Alaba df3e9ff123
impr(results filters): allow deselecting options in multiselect dropdowns of results filters (NadAlaba) (#5445)
* handle @ts-expect-error differently

* allow deselecting in multi-select dropdown of results filters

* mark the all option element as selected when all options are selected

* filter by option.value instead of option.filter

Since ResultFilters is being populated with (option.value)s,
without this change the `selected` property of tags options
will not be set to true.

* make mutli-select dropdowns scroll to top by default

* style .ss-max like .ss-value-text

* fix mistyped group name of language and tags
2024-05-28 10:41:19 +02:00
Nad Alaba f4d121c250
fix(crt): shrinking xp bar and hints not glowing (NadAlaba) (#5447)
* fix xp Bar shrinking in width when crt is enabled

* fix hints not glowing in crt mode
2024-05-28 10:34:48 +02:00
Gauthier Fiorentino 367569f9b6
impr(quotes): add French quotes (#5441) 2024-05-28 10:29:02 +02:00
Miodec b626fdd643 impr(french input): when typing œ and æ, replace them with oe and ae
closes #5437
2024-05-24 12:41:12 +02:00
Miodec c421f22065 fix(account page): bad performance in safari
closes #5424
2024-05-23 13:30:21 +02:00
Christian Fehmer b19ff0d9bd
fix: too many decimals showing on profile page for some users (fehmer) (#5433) 2024-05-23 12:56:55 +02:00
Miodec 57b06eff18 fix: missing code flow paths for psa banners
!nuf
2024-05-23 11:18:23 +02:00
Miodec 007fcf7e8c fix(login page): failing popup signin not resetting input fields
closes #5430
2024-05-23 11:09:57 +02:00
Christian Fehmer c942e1da5a
fix: maintenance banner is blocked by ublock (fehmer) (#5413)
* fix: maintenance banner is blocked by ublock (fehmer)

* use addPsa for all non-ad banners
2024-05-23 11:02:47 +02:00
Léo Cazenave 627f1349e9
fix(layout): update Ergo‑L layout to 1.0 version (Nuclear-Squid) (#5421) 2024-05-23 10:55:40 +02:00
Md. Shahnewaz Siddique 0a54470a2c
impr(quotes): add Bangla quotes (shahnewaz-labib) (#5429)
* added bangla quotes

* added bangla quotes
2024-05-23 10:54:51 +02:00
Miodec d9d338a215 chore: quote lengths script 2024-05-20 13:05:43 +02:00
Miodec e1e592e09b fix(quote): user reports 2024-05-20 13:05:43 +02:00
github-actions[bot] 40d0a36f4d
refactor: run prettier (#5419)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-05-20 12:26:39 +02:00
ykahveci 47ab028608
fix(leaderboard modal): language dropdown resets after reopening lb (ykahveci) (#5418)
* fix(leaderboard modal): language dropdown resets after reopening lb

* refactor(leaderboard modal): removed repetition in lang selector
2024-05-20 12:26:22 +02:00
Christian Fehmer 4589bbf679
feat: maintain hashed blocklist of banned usernames, emails and discordids (fehmer) (#5371)
* feat: maintain blocklist of banned usernames and email (fehmer)

* update privacy policy

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-05-20 12:21:14 +02:00
Kevin Alavik e99e283191
feat(layout): add Swedish Colemak (kevinalavik) (#5410) 2024-05-20 11:51:28 +02:00
Christian Fehmer 1f3ffd897f
fix(account page): add missing "no funbox" filter (fehmer) (#5405) 2024-05-20 11:50:07 +02:00
ElijahRosal 1997b57481
fix(quotes): Fixing 'e' in a quote in english.json (ElijahRosal) (#5402)
* Update english.json

* Update english.json

* Update english.json

* Update english.json

* Update english.json

---------

Co-authored-by: ElijahRosal <elijah,rosal04@gmail.com>
2024-05-20 11:48:14 +02:00
Christian Fehmer 65dffce716
fix: copy words command not working (fehmer) (#5400) 2024-05-20 11:46:34 +02:00
Christian Fehmer 85502eae53
fix: input history not available in zen mode (fehmer) (#5399) 2024-05-20 11:44:57 +02:00
Christian Fehmer 02d4c2a1fd
fix: signup only working after one retry (fehmer) (#5406) 2024-05-20 11:44:23 +02:00
Harsh Natuskar 66f6b7c355
feat(theme): add floret (hurrrsh) (#5392)
* Create floret.css

* Update _list.json

* Update _list.json

* Update floret.css
2024-05-15 16:12:51 +02:00
Miodec 37c1efd177 fix: incorrect import
!nuf
2024-05-15 15:54:00 +02:00
Miodec 4f1ead4237 fix(test): newlines not being displayed correctly 2024-05-15 15:49:51 +02:00
Miodec 527cd5b690 refactor: move function 2024-05-15 15:49:51 +02:00
ElijahRosal 4fbdaa0e6f
impr(quotes): add english quote (ElijahRosal) (#5380)
* Update english.json

* Update english.json

* Update english.json

* Update english.json

---------

Co-authored-by: ElijahRosal <elijah,rosal04@gmail.com>
2024-05-15 15:31:34 +02:00
Christian Fehmer 59615fb02c
feat(account page): add test activity graph (fehmer, Singh233) (#5309)
* wip

* wip frontend

* cleanup

* wip

* refactoring

* wip

* first working version

* wip

* update calendar with new result

* add migration script

* dates are hard

* fix naming inconsistencies

* requested changes on migration

* timezones

* update date-fns, use date-fns/utc

* resolve cyclic dependency by extracting test activity calender into new file

* cleanup

* fix increment

* fix

* tests

* test coverage

* test migration

* migration more logging

* migration add unique index on uid if missing

* update legend styling

* 53 columns

* wip

* move dropdown and legend to the top
add dropdown border
yeet hotpink
invisible filler boxes
remove year from month format

* responsive update

* lowercase months

* handle current year, fix tests

* handle year change

* make days square again

* handle newly created users correctly

* move css

* add wrapper for easier styling
rework some font sizes/widths
reorder styles

* media queries

* align

* rework styling once more

* dont commit debug

* add days full to fill the space a bit

* show partial months

* hover on 0 tests

* start dynamic calendar on sunday

* no activity

* hover

* remove label on fillers

* remove label on fillers

* fix months, update tests for months

* adjust tests to new requirements

* cleanup

* fix migration

* impr(commandline): add "add/remove quote to favorites" commands

closes #5368

* chore: remove daily lb which is no longer in the backend

* fix: dropdown element flashing for couple frames on page load

* feat(language): add japanese romaji 1k (nthngnssmnnglss)

* fix: optional chaining

!nuf

* fix(words generator): infinite custom text tests not working correctly

* chore: missing languages in list and group files

* fix(language): remove duplicates

!nuf

* add readline sync to confirm

* gh action complaints

* unnecessary check

* premium only

* add years to drop down only if premium

* Update setup-tests.ts

* test fix

* cleanup

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-05-15 15:23:36 +02:00
Tushar Sadhwani 42ddc256bd
impr: update command line shortcut key tip on mac firefox (tusharsadhwani) (#5385)
* fix: command line shortcut on mac

* only show ctrl for firefox

* prettier

* pretty properly
2024-05-15 15:21:53 +02:00
Nad Alaba 5cd8b0e6e4
fix(xp): displayed level-xp not calculated correctly, animations sometimes not playing correctly (NadAlaba) (#5379)
* new xp details calculation based on same level-xp-formula

* fix displayed xp on profile page

* fix xp-bar width on account-button

* change ordering to minimize code duplication

* animate xp bar between different levels when (endingLevel-startingLevel<1)

* refactoring and commenting on levels functions

* fix flash level animation

the animation of flashLevel() was not visible because the css property
'transition',
which was set to 0.125s in order to highlight the level on hover,
was conflicting with the parameters of jquery animate()

* annotate a clever trick and give more suitable variable names

* update function and variable names

* rename function

* naming

* reeename

* reeeeEeeeEeeeename

* rererereeeeeeeeeeeeee

name

* fix function names in comments

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-05-15 15:17:06 +02:00
Miodec 10d491c2c1 fix(tape mode): words sometimes not appearing on the right side 2024-05-15 15:00:16 +02:00
Miodec 9d14014659 chore: quote lengths script 2024-05-13 15:03:41 +02:00
Miodec 779673e08a fix(quotes): user reports 2024-05-13 15:03:23 +02:00
Miodec f29ccb7c40 refactor: current quote state
remove current quote from word generator and quote controller
only use the one inside test words

closes #5368
2024-05-13 13:27:53 +02:00
Christian Fehmer 059c9e271b
test: update to vitest 1.6.0, use v8 coverage provider (#5389) 2024-05-13 13:25:21 +02:00
Miodec 0158292524 style(blind mode): dont highlight letters to the right of the caret when blind mode and stop on letter are enabled
closes #5387
2024-05-13 12:10:28 +02:00
Miodec c9c4d7fdc1 fix(tape mode): words sometimes moving to the left, outside the window 2024-05-13 12:10:28 +02:00
Miodec 49f694a1a0 style(account page): move joined and streak hover messages to the right
closes #5376
2024-05-13 12:10:28 +02:00
Miodec 7b7c4ae6b9 impr(account): replace "custom custom" with just "custom" in the result history table 2024-05-13 12:10:28 +02:00
Tanish f1a1432066
fix(9009): removed double colorful-error-color (Taz03) (#5384)
!nuf
2024-05-13 11:56:43 +02:00
K0stov 6c32717be8
impr(remove fancy typography): add low quotation mark (K0stov) (#5381)
The low quotation mark is common in Eastern European languages. It functions the same as American “/British ‘.
2024-05-13 11:51:49 +02:00
StickminBruv e6d020abb7
feat(themes): add cy red (StickminBruv) (#5375)
* Create cy_red.css

Going to add error colors soon

* Update _list.json

Added theme to list

* Update _list.json

Added a comma to fix one of the checks

* Update _list.json

Added bracket to fix a check

* Update cy_red.css

Added brand new error colors to comply with "red theme, red error" thing

* Update _list.json

Fixed bracket i think

* Update _list.json

Added a "
bruh moment

* Update _list.json

Added a comma
2024-05-13 11:48:32 +02:00
wiichicken 8b95874cae
style(custom test duration popup): use special elements to highlight keys for consistency (wiichicken) (#5374) 2024-05-13 11:08:21 +02:00
ethan 86f16c31b9
impr(quotes): add 2 quotes and fixed a typo in chinese simplified(extoplasm) (#5373)
* added two quotes in chinese_simplified.json

* Update chinese_simplified.json

miscounted length of first quote

* updated quotes, added more

* Update chinese_simplified.json

miscounted quote lengths (again) (oops)

* accidentally did forward slash when doing newline

* fix length

* added 2 quotes and fixed a typo in quote id: 4

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-05-08 14:34:52 +02:00
Miodec c11f6aed89 fix(language): remove duplicates
!nuf
2024-05-08 14:24:32 +02:00
Miodec b941423343 chore: missing languages in list and group files 2024-05-08 12:49:48 +02:00
Miodec 95f5e6c427 fix(words generator): infinite custom text tests not working correctly 2024-05-08 12:43:55 +02:00
Miodec 39dd905b47 fix: optional chaining
!nuf
2024-05-08 00:13:57 +02:00
Miodec aef3aef8cd feat(language): add japanese romaji 1k (nthngnssmnnglss) 2024-05-08 00:13:57 +02:00
Miodec 97b2766a9e fix: dropdown element flashing for couple frames on page load 2024-05-08 00:13:57 +02:00
Miodec f9c3f16f8a chore: remove daily lb which is no longer in the backend 2024-05-08 00:13:57 +02:00
Miodec 38fb774dd3 impr(commandline): add "add/remove quote to favorites" commands
closes #5368
2024-05-08 00:13:57 +02:00
Jack Hartwig 9c652d29e8
fix: issue where '\n\n' was not rendering correctly in custom text (SpaceWaffles5827) (#5370)
* fix: issue where '\n\n' was not rendering correctly in custom text

* fix: prettier styling
2024-05-07 10:13:14 +02:00
Miodec e9a83d5a62 fix: bailed out tests triggering inconsistent duration check 2024-05-06 23:36:34 +02:00
Miodec 90a888f73f fix(leaderboard modal): language selection dropdown position when scrolling 2024-05-06 15:33:45 +02:00
ethan 9b41131e01
fix(quotes): replace /n with \n (extoplasm) (#5356)
* added two quotes in chinese_simplified.json

* Update chinese_simplified.json

miscounted length of first quote

* updated quotes, added more

* Update chinese_simplified.json

miscounted quote lengths (again) (oops)

* accidentally did forward slash when doing newline

* fix length

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-05-06 14:32:17 +02:00
Md. Shahnewaz Siddique 8705b1cf1b
fix(word generation): use correct fullstop and digits for bangla (shahnewaz-labib) (#5355)
* fix: add "।" instead of "." if bangla word

* fix: convert to bangla numerals
2024-05-06 14:32:02 +02:00
github-actions[bot] ca15ca6786
refactor: run prettier (#5363)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-05-06 14:31:17 +02:00
Md. Shahnewaz Siddique e88601d344
fix(word generation): display proper period and numbers for hindi (#5366) 2024-05-06 14:21:10 +02:00
Miodec 7fd31dcc72 fix(bar timer progress): not animating for the first second of the test 2024-05-06 14:04:42 +02:00
Miodec 9714ac95c5 fix: enter not working as space in 58008 funbox if quick restart was set to enter 2024-05-06 13:35:43 +02:00
Miodec bc7ca45a12 chore: add supporter 2024-05-06 11:34:02 +02:00
Miodec 80e0af764f fix(result saving): dont save results if the tab was manually slowed down 2024-05-05 18:10:40 +02:00
Miodec 413a74bb84 impr(numbers util): add roundTo1 function 2024-05-05 18:05:18 +02:00
Miodec a6a4e09366 style: improve banners 2024-05-04 21:31:49 +02:00
Miodec d06203cf2d fix(timer progress): mini and bar style not animating when shown 2024-05-04 19:31:36 +02:00
Miodec 790fc8cb38 impr(large test stats): better positioning on all screen sizes 2024-05-04 19:28:06 +02:00
Miodec 856beb434e fix(url handler): escape html 2024-05-04 14:12:23 +02:00
Miodec 876f6c0a0d add supporters 2024-05-03 23:29:53 +02:00
Miodec 1a0e9ecfc6 fix(challenge): loading challenges from the URL 2024-05-03 13:07:23 +02:00
Miodec 5d6cf32f1a fix(challenge): ive got the power not loading correctly 2024-05-03 12:44:56 +02:00
Miodec 53d1a10d95 chore: add custom text data debug log 2024-05-03 12:44:32 +02:00
Miodec b21e392038 fix(live burst): burst number visible when enabling live speed 2024-05-02 20:07:01 +02:00
Jack 79f77b80eb
refactor: live stats (#5352) 2024-05-02 17:33:17 +02:00
Tom Kuson 38faa62913
impr(language): add common force option flags to git words (tjkuson) (#5348) 2024-05-02 15:04:05 +02:00
github-actions[bot] 839ae7cf48
refactor: run prettier (#5343)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-05-02 14:58:55 +02:00
Iaroslav 3121ad1c32
impr(language): remove non-words from russian 375k (SheezZarR) (#5341) 2024-05-02 14:58:35 +02:00
cobie8708 0b2f5ccd64
impr(quotes): add english quote (cobie8708) (#5338) 2024-05-02 14:50:25 +02:00
ethan 802699162c
impr(quotes): created and added quotes in chinese simplified (extoplasm) (#5333)
* added two quotes in chinese_simplified.json

* Update chinese_simplified.json

miscounted length of first quote

* updated quotes, added more

* Update chinese_simplified.json

miscounted quote lengths (again) (oops)
2024-05-02 14:49:34 +02:00
Miodec 7f04503921 impr(max line width): setting the value to 0 will now always align the words to the width of the container 2024-04-30 21:00:02 +02:00
Miodec db8b20f36f chore: change default config value of singleListCommandline to on 2024-04-30 20:57:35 +02:00
Miodec 2600f12716 refactor: move the full-width-padding class to a higher parent to avoid having to use it
instead, just use full-width inside that parent

!nuf
2024-04-30 20:17:29 +02:00
Miodec 1c94868357 chore: quote lengths script 2024-04-30 16:51:46 +02:00
Miodec eb59db33b9 fix(quotes): user reports 2024-04-30 16:51:24 +02:00
Miodec 302d1ce144 fix(word generation): time mode tests causing errors when repeated 2024-04-30 16:10:27 +02:00
Miodec 7cfd434fca style: default live wpm/burst/acc to mini style when using bar timer 2024-04-30 15:41:34 +02:00
Miodec 3dda3f905c fix(zen mode): test automatically stopping after 100 words 2024-04-30 13:38:58 +02:00
Miodec 4eccfd632c style: fix set width causing clipping when changing browser size 2024-04-30 13:11:20 +02:00
Miodec f1fe249da1 impr(test config): fix punctuation/numbers animation sometimes not working 2024-04-30 13:03:34 +02:00
Miodec b95c2e8575 impr(test page): make desktop test config visible on narrower widths 2024-04-30 12:53:44 +02:00
Miodec f03bab29d6 chore: add supporter 2024-04-30 11:00:42 +02:00
Miodec 6a58e98457 chore: add wordset debug log 2024-04-29 20:19:32 +02:00
Miodec a30c442081 chore: update message 2024-04-29 18:10:53 +02:00
Miodec a57b6c272f fix(word generation): hasTab / hasNewline state sometimes being incorrect when using plus n funbox
closes #4698
2024-04-28 16:32:56 +02:00
Jack 6579f68955
refactor: word generation (#5344) 2024-04-28 15:40:02 +02:00
Miodec e632df7442 style: fix an outline sometimes appearing around the result 2024-04-28 14:16:55 +02:00
Miodec 25fd805004 impr(custom text): add shuffle mode
with this, you can ensure you will encounter each word at least once
2024-04-27 11:43:38 +02:00
Miodec f541f7c579 chore: remove unused import 2024-04-27 10:57:47 +02:00
Miodec 6abf0aa9b2 fix(commandline): manual mode being broken
closes #5339
2024-04-27 01:24:22 +02:00
Miodec 607da30faa style: use new content-grid system on the result page
fixes result ad causing overflow on some widths
2024-04-27 00:26:54 +02:00
Miodec 05a9b555d9 revert(comandline): debouncing input
it makes searching feel unresponsive
2024-04-27 00:14:52 +02:00
Miodec 7c3d9893e2 chore: remove rogue console.log 2024-04-27 00:02:59 +02:00
Miodec 4ed3b7d6c8 style(typing result): improve styling on narrow screens
also fix random elements causing grid issues
2024-04-27 00:02:08 +02:00
Miodec 6497aa6d25 impr(commandline): debounce the input to reduce commands flashing when typing 2024-04-27 00:01:22 +02:00
Miodec 2c4577035a impr(commandline): increase search result accuracy 2024-04-26 23:44:25 +02:00
Miodec c7e86b5062 impr(commandline): add 'wpm' alias to min speed command 2024-04-26 23:34:03 +02:00
Miodec 510b887a97 fix(config): max line width not being loaded from config 2024-04-26 23:15:22 +02:00