Commit graph

3900 commits

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