Commit graph

3891 commits

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