Commit graph

3856 commits

Author SHA1 Message Date
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