Commit graph

10798 commits

Author SHA1 Message Date
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
Miodec b17803918b chore: migration log 2024-05-17 22:20:54 +02:00
Miodec c164b84291 chore: better migration script logs 2024-05-17 16:57:27 +02:00
Miodec 4d76537871 chore: release v24.20.1 2024-05-15 16:34:35 +02:00
Christian Fehmer d9e975b286
fix: migration breaking tests (fehmer) (#5397)
!nuf
2024-05-15 16:20:09 +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 d1c4ce8cd9 chore: release v24.20.0 2024-05-13 15:13:59 +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
Christian Fehmer a9f11719a3
fix(self hosting): remove extra quotations on firebase/recaptcha config (#5383)
!nuf
2024-05-13 12:26:46 +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
Christian Fehmer 0dab2ecd7e
impr: build docker images for linux/arm64 on release (#5369)
!nuf
2024-05-13 11:53:46 +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
Miodec 08e8f7b1fd chore: release v24.19.0 2024-05-06 14:44:13 +02:00