Commit graph

4104 commits

Author SHA1 Message Date
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
Miodec 04ae04dc5c impr(commandline): when searching, allow display and alias matching at the same time 2024-04-26 20:31:45 +02:00
Miodec 36df36be73 feat: add max line width
controls how many characters per line (estimated) to display during the test
literally bullied into adding it back, hope you love me again
2024-04-26 20:01:32 +02:00
Miodec 06ed908530 chore: comment unused import 2024-04-26 20:00:04 +02:00
Miodec 155c348850 style(typing test): align mini progress with the words, not the content width 2024-04-26 19:35:14 +02:00
Miodec ed9ec67264 style: remove forced display grid on full width elements
!nuf
2024-04-26 19:18:45 +02:00
Miodec 6d774ec767 revert: accidental test width change 2024-04-26 18:25:28 +02:00
Miodec 779d34c7ea fix(typing test): incorrect input placement causing weird scrolling behavior 2024-04-26 18:22:21 +02:00
Miodec 20d6c39cff impr(typing test): allow test words to breakout from the container
this completely reworks the way main content is structured

closes #5335
2024-04-26 16:57:08 +02:00
Miodec 68b3053f0c style(typing test): remove 70 character line width limit when using tape mode
part of #5335
2024-04-25 22:42:04 +02:00
Abdulbasit 1083910bcf
fix(language): typos in kurdish central 2k (#5330)
corrected some typos.
2024-04-25 13:02:49 +02:00
Miodec 76c85420a5 fix(profile): streak hover text saying that it can still be continued even though its already too late 2024-04-25 12:58:08 +02:00
Miodec 79e8566f95 refactor(config): remove "show live progress" and move it to "live progress style: off" 2024-04-25 12:58:08 +02:00
Apostolos Kyratzakos aa00a0be86
feat(language): add typescript (kyratzakos) (#5332) 2024-04-25 12:43:28 +02:00
Miodec 1b5bb7028e impr(typing test): limit line length to 70 characters 2024-04-24 18:34:24 +02:00
Miodec 0a5e7325e0 chore: bump up default font size 2024-04-24 15:28:02 +02:00
Miodec 42aa055eb4 fix(word generation): plus n funboxes causing custom tests to go over the limit 2024-04-24 14:57:41 +02:00
Miodec 99cc7042ea fix(custom text): limit sometimes being set incorrectly in simple mode 2024-04-24 14:54:02 +02:00
Jack 4039ed8b26
refactor: media queries (#5329) 2024-04-24 14:22:41 +02:00
Miodec c8e61d5941 style: lowercase about buttons for styling consistency 2024-04-24 09:59:15 +02:00
Jack ccc9a39a99
refactor: custom text logic and modal (#5327) 2024-04-23 16:58:00 +02:00
Miodec 727ff93611 impr(quote): add english quote (Ethanqg0) 2024-04-23 12:05:35 +02:00
Miodec 299fc35685 impr(loader): delay showing the loading bar by 125ms to avoid it flashing on screen for things that take a short time
!nuf
2024-04-23 12:01:12 +02:00
JojoCalabaza 59636e9d05
impr(quotes): remove inappropriate or controversial political quotes in Hebrew (JojoCalabaza) (#5323) 2024-04-23 11:59:49 +02:00
Helder Barboza 93219cfdc2
impr(language): update code_elixir (helderbarboza) (#5320)
* update strings to elixir

* remove duplicates

* remove parens

* remove one letter functions

* remove inexistant operator

* add parens back to zero-arity funs and types

* add exception modules

* add final new line

* remove parens for `SpecialForms` macros

---------

Co-authored-by: Helder Barboza <helder.fontes@sicoob.com.br>
2024-04-23 11:58:38 +02:00
cute-catgirl cc7b204350
impr(quotes): add English quotes (cute-catgirl) (#5318) 2024-04-23 11:56:43 +02:00
Miodec 9beda7debe refactor(custom text modal): use state instead of checking the dom directly all the time 2024-04-17 19:21:31 +02:00
Miodec a93e4eef11 impr(layout emulator): add urdu_phonetic 2024-04-17 13:45:17 +02:00
JojoCalabaza 208f47f455
impr(quotes): add Hebrew quotes (JojoCalabaza) (#5315) 2024-04-17 13:32:11 +02:00
Christian Fehmer 12146282e2
chore: update vitest to 1.5.0 (#5313) 2024-04-17 13:21:11 +02:00
Miodec a708eadb34 fix(stop on error): inconsistent error highlighting behavior 2024-04-15 13:32:26 +02:00
JojoCalabaza 1579aeca3d
impr(quotes): add Hebrew quotes (JojoCalabaza) (#5310) 2024-04-15 13:24:25 +02:00
ibrab000 c55d11fc6e
revert: remove layouts added by ibrab000 (#5306)
These layouts have been erased from the AKL discord server by me, and I want these layouts to also be erased from monkeytype.
2024-04-15 13:23:57 +02:00
github-actions[bot] e8484427d2
refactor: run prettier (#5308)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-04-15 13:22:26 +02:00
Tom Kuson e6ee5bbcc2
impr(language): add "@" to git keywords (#5302)
@ is a commonly used alias for HEAD.
2024-04-15 13:21:17 +02:00
Kshitiz Rohilla 23393fb46c
impr(quotes): add 5 English quotes (kshitizrohilla) (#5300) 2024-04-15 13:20:45 +02:00
Miodec 9c49341c16 fix(custom text): some saved book mode texts not working correctly
closes #5311
2024-04-14 17:18:45 +02:00
Miodec 039c95094a refactor(mobile config): use modal chaining
!nuf
2024-04-13 21:23:07 +02:00
Miodec 89920210d3 impr(account page): change tags, funbox and language filters to a multiselect dropdown
closes #5240
2024-04-12 15:35:03 +02:00
Miodec 05e06aec80 style: use negative to always span all no matter how many columns 2024-04-12 15:35:03 +02:00
Miodec 4e0cd63dcc style: improve styling of slim selects 2024-04-12 15:35:03 +02:00
Derry Tutt adb5412ed9
impr(quotes): add 2 english quotes (everypizza1) 2024-04-12 11:14:45 +02:00
sithydev :v af9be52711
feat(theme): add discord (sithydev) (#5297) 2024-04-12 11:12:11 +02:00
Miodec 76f41f39d7 fix(quotes): quote lengths script
!nuf
2024-04-11 12:32:17 +02:00
Miodec 5a4e4604da fix(quotes): use american spelling of "judgment" 2024-04-11 10:05:11 +02:00
Miodec dc005aba1b fix(modals): extra captcha popup appearing below some modals 2024-04-09 12:16:15 +02:00
Christian Fehmer 5e7a609689
fix(account page): buttons unreadable on hover on accounts/profile page (fehmer) (#5292) 2024-04-09 11:45:10 +02:00
Miodec f2714c0a43 fix(typing): allow repeated quote tests to be saved (again) 2024-04-09 01:03:25 +02:00
Miodec 1d79d87d89 fix(word generator): quotes breaking when repeat quotes is enabled 2024-04-08 19:13:53 +02:00
Eggflaw 4514ad02ae
fix(language): add unused japanese_romaji (Eggflaw) (#5290)
* Add japanese_romaji to _groups file

* Add japanese_romaji to _list file

* japanese_romaji.json: remove duplicates
2024-04-08 15:03:06 +02:00
Miodec e5797d7048 fix(quotes): quote lengths
!nuf
2024-04-08 14:54:24 +02:00
Miodec a6886084a1 fix(quotes): user reports 2024-04-08 14:54:01 +02:00
Miodec 9af105b1e3 impr(word generation): allow tests with plus n funboxes to be repeated
also simplifies the test repeat system a little bit

closes #5282
2024-04-08 14:14:12 +02:00
Miodec 163a0302e4 fix(ape): escaping parameters if they are part of the url
closes #5287
!nuf
2024-04-08 12:52:04 +02:00
Francis A 51aa1f1d0b
impr(language): update Traditional Chinese word list (rudnam) (#5284) 2024-04-08 12:22:29 +02:00
JornTumrongwit 357e67e2f3
impr(quotes): add English quotes (JornTumrongwit) (#5283) 2024-04-08 12:21:22 +02:00
Ohad Ben Dov 17476c871c
impr(quotes): add Hebrew quotes (#5262)
* Update hebrew.json

* Update hebrew.json

* Update hebrew.json

replaced a few of the quotes.

id: 31
"They opened a hand grenade in their hearts: click! Ashkenazic? Iraqi? Brother! Jews! Warriors!" - famous quote that sounds better in Hebrew.

id: 32
"We have learned from history that wherever there is a train there is life" 

id: 36
"Officials in the police and the prosecutor's office teamed up with the left-wing newspapers, I call them 'only not Bibi', in order to sew up illusory cases for me. The goal is to topple a strong right-wing prime minister and thus distance the national camp from the country's leadership" 

translation to the other quotes is in the description of the first commit message

* Update hebrew.json

fixed an error

* Update hebrew.json

updated some of the quotes.
here is the translation:

id: 31
"They opened a hand grenade in their hearts: click! Ashkenazic? Iraqi? Jews! Siblings! Warriors!"
-Menachem Begin



id: 32
"Words can lead to actions, but what can lead to actions is reality. Reality, not words!"
-Miri Regev

id: 33
"Honesty is strength, values are strength, cunning and corruption bring us down, generosity and love are the strongest forces in the world."
-Yair Lapid

id: 34
"The Jewish people did not excel at seeing dangers in time, time after time they surprised us - the last time in the most terrible way, and this will not happen under my leadership."
-Benjamin Netanyahu


id: 35
"Violence is eroding the foundation of Israeli democracy. She must be condemned, denounced, isolated. This is not the way of the State of Israel."
-Yitzhak Rabin

id: 36
"Factors in the police and the prosecutor's office teamed up with the left-wing newspapers, I call them 'just not Bibi', in order to sew up illusory cases for me. The goal is to topple a strong right-wing prime minister and thus distance the national camp from the country's leadership."
-Benjamin Netanyahu
2024-04-08 12:19:00 +02:00
Jack ff7816aac0
refactor: custom text modal rework (#5278)
* start work on saved texts popup

* passing options through, async fill to not block animation

* handle apply

* custom text modal start

* full save custom text modal refactor

* remove import

* full finish on saved texts modal

* fill when chain re-shows it

* fix issues where opening chains within chains would show two modals

* extract type

* add support for passing data between modals

* dont leave the popup if no words were found

* use modalchaindata instead of setting popup state directly

* handling set and append modes in chain data

* move tab insertion code into the custom text modal file

* use chain data instead of state module

* move event handlers to a different file / to the setup function

* move file

* rename file

* rename id

* remove unused line

* add generics to incoming and outgoing modal chain data

* rework the way custom text textarea is handled

* update long custom text warning

* remove variable

* remember to update the state
2024-04-05 13:18:26 +02:00
Christian Fehmer 3cbf0bda4c
feat: add incognito theme (fehmer) (#5272)
* feat: add incognito theme

* fix p and t being cut at the bottom
2024-04-05 13:09:51 +02:00
Vaughn Gugger e37bf192e3
impr(profile): add level percentage when hovering over progress bar (vjgtigers) (#5276) 2024-04-05 12:24:36 +02:00
Nad Alaba 2dbd7afa10
fix(indicate typos): undefined hints in stop on letter (#5281) 2024-04-05 12:19:04 +02:00
Aarnav Suwal 55d6da2971
impr(quotes): add 3 English quotes (aarnav593) (#5266)
* Added 2 short and 1 medium quote from different sources

* Delete .gitpod.yml

* Changed one quote, added one more, and changed the source ofn existing  a quo (5355)te to app more ild-friendly

* Corrected length of quote

* removed quote

* readded book title to quote source
2024-04-03 22:41:31 +02:00
Gauthier Fiorentino 4344194a23
fix(quotes): typo (Mintoo200) (#5279) 2024-04-03 22:27:23 +02:00
Miodec 5701f94b60 refactor: move array related function to the arrays file 2024-04-03 22:22:00 +02:00
Sanidhya Singh 39e611d276
refactor(utils): distribute color, numbers, strings and other group of functions into separate util files from misc.ts (sanidhyas3s) (#5254)
* fix: Prevent theme switch when opening theme commandline from the footer

fixes #5103

* refactor(utils/misc): move functions and adjust usages
also renamed some functions for clarity
for #5187

* refactor(utils/misc): move color utils into separate file & add docstring
for #5187

* refactor(utils/misc): separte out number-related utils and more
add docstring to the functions in `utils/numbers`
also, move `getDiscordAvatarUrl` back into misc
because it was causing mt to not open somehow
for #5187

* refactor(utils/misc): move get-text functions into separate file & add docstring for them
    for #5187

* refactor(utils/misc): move get-data type functions into separate file & add docstrings
    for #5187

* Fix cyclic dependency by moving function

* Move strings utils to separate file and other minor changes to utils

* Shift Date & Time util functions to a separate file and add docstrings

* Shift more string functions to string util file

* separate out Arrays functions from misc utils

* Rename some utility files and move some functions

* lowercase filename

* rename module imports

* move ddr stuff into its own file

* temp file rename

* file rename

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-04-03 22:12:48 +02:00
Miodec 8755f450c5 fix(word generation): A A or A B A word duplicates could sometimes appear when using lazy mode
closes #5238
2024-04-03 13:35:52 +02:00
Miodec 72fd518587 impr(word generation): use full width punctuation marks when typing in chinese
closes #5277
2024-04-03 13:04:29 +02:00
Miodec 82b74574c9 style: make version history modal wider 2024-04-03 00:31:13 +02:00
Miodec 254e016d38 chore: remove unused code 2024-04-02 18:39:25 +02:00
Miodec 0ce2f6afcf fix(settings): hide revoke all tokens section when signed out 2024-04-02 18:39:04 +02:00
Miodec 82b9323fbf refactor: rename simple popup to simple modal 2024-04-02 18:38:27 +02:00
Christian Fehmer 7635d37848
feat(authentication): add signin with github (fehmer) (#5239) 2024-04-02 18:33:20 +02:00
Vaughn Gugger a6ccb2cead
impr: changed fps text color from hardcoded values to match user theme (vjgtigers) (#5271) 2024-04-02 15:07:03 +02:00
Christian Fehmer 1890dbdff8
fix(account page): use same rounding for top percentage as on leaderboard (fehmer) (#5270) 2024-04-02 15:05:24 +02:00
github-actions[bot] 0df1ed163d
refactor: run prettier (#5265)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-04-02 15:01:25 +02:00
Sanchir Enkhbold 673b5b83a3
impr(quotes): add Mongolian quotes (sanchir2011) (#5258) 2024-04-02 15:00:55 +02:00
Christian Fehmer f7c37b0a1d
refactor: rewrite page constructor to use an object (fehmer) (#5253)
* refactor: rewrite page constructor to use an object

* rename pathname to path

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-04-02 14:59:43 +02:00
Nad Alaba 17295d7b43
fix(notifications): clear all notifications from the command line not hiding clear all button (NadAlaba) (#5257) 2024-04-02 11:55:54 +02:00
Miodec e497a192f9 chore: remove plushie banner 2024-03-31 13:19:46 +02:00
Nad Alaba c20964d185
fix(indicate typos): letters not displaying correctly in RTL languages or with ligatures when set to below (NadAlaba) (#5113) 2024-03-25 17:14:53 +01:00
Sanidhya Singh b0cf7bc4be
fix(custom text): preserve state of the textarea when applying (sanidhyas3s) (#5186) 2024-03-25 16:59:40 +01:00
refact0r 7c4435e14b
impr(theme): update catppuccin (refact0r) (#5247) 2024-03-25 12:53:27 +01:00
Vaughn Gugger a0403f79a5
impr(csv export): change main delimiter from | to , (vjgtigers) (#5249) 2024-03-25 12:44:57 +01:00
Gauthier Fiorentino 365572f652
impr(quotes): add French quotes (Mintoo200) (#5206) 2024-03-25 12:40:11 +01:00
Christian Fehmer a306ab4f32
impr(profile/account page): show leaderboard rank percentage (fehmer) (#5212) 2024-03-25 12:36:25 +01:00
anakojm 0baabb150c
impr(layout): update optimot to version 1.6 (anakojm) (#5236) 2024-03-25 12:06:49 +01:00
__filename 8083390c23
feat(quotes): add Mongolian quotes (filename24) (#5200) 2024-03-25 12:05:11 +01:00
Andrey Kuznetsov 8d77c88dc4
fix(language): russian_10k.json now contains 10000 words (#5232) 2024-03-25 11:59:29 +01:00
Johan de Jongh d1241d0a63
feat(language): add Xhosa (de-longhi) (#5231) 2024-03-25 11:58:18 +01:00
Miodec 7915df57a8 chore(animated modal): add method to get previous modal in chain 2024-03-24 23:02:05 +01:00
Miodec 6f75abef70 refactor(ape keys modal): use new modal system 2024-03-24 23:01:33 +01:00
Miodec a8a78eca6a refactor(animated modal): make setup async
!nuf
2024-03-24 19:07:33 +01:00
Miodec 5a6d2eca47 refactor: prefer for of instead of forEach 2024-03-24 19:07:33 +01:00
Miodec 47f3163267 fix(commandline): opening the commandline from the footer not showing custom themes 2024-03-24 19:07:33 +01:00
Miodec 6357489b1d fix(commandline): pressing esc always closing modal instead of going back in history 2024-03-24 19:07:33 +01:00
Miodec 7b86d5c606 fix(import export modal): import not working
!nuf
2024-03-24 19:07:33 +01:00
Miodec 6167506b89 refactor(word filter modal): use new modal system 2024-03-24 16:45:53 +01:00
Miodec 1bd6bf46f2 chore: wording 2024-03-23 11:14:30 +01:00
Estifanos Gashawtena abbed321c4
impr(login page): better error message (Estifanos12) (#5244)
* fix:create user email already exists message

* Update account-controller.ts

* Update account-controller.ts

* Update account-controller.ts

* Update account-controller.ts

* Update account-controller.ts

* Update account-controller.ts
2024-03-23 11:07:15 +01:00
Miodec e52cdef46c chore: plushie banner 2 2024-03-23 11:06:12 +01:00
Christian Fehmer fc3ac84147
fix: show command key tip correctly (fehmer) (#5234)
* fix: show command key tip correctly

* add spaces

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-03-23 10:19:20 +01:00
Christian Fehmer f3c6254933
fix: login disabled after logout (fehmer) (#5243) 2024-03-23 10:10:46 +01:00
Miodec 7f427a9643 refactor(simple modals): use new modal system 2024-03-22 20:53:22 +01:00
Miodec 234642a64d refactor: use a single object instead of multiple parameters
regex goes BRRRR
2024-03-22 20:50:18 +01:00
Miodec c905fcbed4 impr: focus first non hidden input instead of just the first one 2024-03-22 20:33:49 +01:00
Miodec c0500ce9c6 fix(commandline): languages sometimes didnt load in time, showing an error 2024-03-20 23:11:09 +01:00
Miodec e551e043af impr: automatically refocus the test when closing the command line on the test page 2024-03-20 20:56:50 +01:00
Miodec 57d9fc3b04 chore: focus words earlier to avoid flashing issues 2024-03-20 20:37:29 +01:00
Miodec 0b0fff939a refactor: dont hide out of focus warning if words are not focused 2024-03-20 20:29:43 +01:00
Miodec b7b2c1f406 refactor: use actual module instead of modifying the dom 2024-03-20 20:27:44 +01:00
Miodec 5a354ef25d refactor(quote search modal): use new modal system 2024-03-20 16:08:31 +01:00
Miodec e38f64e019 chore: use after animation to avoid animation issues 2024-03-20 15:45:36 +01:00
Miodec 33229ce057 chore: dont await function to fix animation issues 2024-03-20 15:38:21 +01:00
Miodec c6a47e8ef8 chore: clearing modal chain 2024-03-20 15:38:01 +01:00
Miodec c2b7204600 refactor(quote report modal): use new modal system 2024-03-19 16:09:23 +01:00
Miodec 28a4eac40e refactor(quote rate modal): use new modal system 2024-03-19 15:50:50 +01:00
Miodec 1a64a724c6 style: increase spacing a bit 2024-03-19 14:54:04 +01:00
Miodec 5f48827fb3 fix: incorrect param type 2024-03-19 14:49:15 +01:00
Miodec 2f0bc5af84 fix: make parameter optional 2024-03-19 14:35:38 +01:00