Commit graph

9857 commits

Author SHA1 Message Date
Miodec
876b882834 impr(about): showing decimal places for typing stats if the number is small
Also no longer always showing millions - order of magnitude is now dynamic.
2023-10-09 13:36:08 +01:00
github-actions[bot]
cf2ff913eb
Prettier fix (#4708)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-10-07 21:02:58 -04:00
riso
e9ebca6174
feat(language): add English Shakespearean (risograph) (#4680)
* Add Shakespearean English

* Update _groups.json

* Fixes

* remove duplicate

* add comma. oops.

* Add requested changes

- Renamed lang
      - `shakespearean_english` >> `english_shakespearean`

- Added lang to `english` group
- Moved land under `english` group in list
2023-10-06 12:20:10 +01:00
orionsource
8f2d61c526
impr(quotes): add 6 french quotes (oriionn) (#4699)
* impr(quotes): Add 6 Orelsan's Quotes

* Update french.json
2023-10-06 12:09:24 +01:00
Miodec
5373984ec9 fix: old safari versions not being able to load the site due to using unsupported regex 2023-10-05 10:19:17 +01:00
Sanidhya Singh
82a24e4ee7
refactor(profile): notify that fields are too long before making a request to the server (sanidhyas3s) (#4694)
* impr: check profile length before sending to server

Length checks for GitHub and Twitter are now made before
sending server requests. Notification for the same is
displayed to the user.

Closes #4653

* the tiniest of nitpicks

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-10-03 13:20:51 +01:00
Miodec
84327f9028 chore: fix quote length script 2023-10-03 13:20:10 +01:00
Miodec
18a3ca5259 build: update version format 2023-10-03 13:15:56 +01:00
Miodec
deca5c587f fix(quotes): user reports 2023-10-03 13:14:47 +01:00
Miodec
64904f0c3a chore: hide section which is not working at the moment 2023-10-03 12:58:56 +01:00
Sanidhya Singh
4e9285af41
chore: add notification for automatically turning off auto switch theme (sanidhyas3s) (#4687)
extending on #4677
2023-10-03 12:27:46 +01:00
Yen Cheng
7708f624bc
chore: fix nord.css syntax error (ridemountainpig) (#4693) 2023-10-03 12:24:38 +01:00
Miodec
d8a80d8218 fix(themes): custom themes not working 2023-10-02 18:10:29 +01:00
Miodec
8e2dff43be chore: add alternative config schema for the transition period 2023-10-02 17:48:37 +01:00
Miodec
fc1e646a02 chore: release v23.40.1 2023-10-02 17:30:46 +01:00
Miodec
c6babffe8a fix(language): remove duplicate from bangla 2023-10-02 17:27:58 +01:00
Miodec
b54cac985f fix(language): remove duplicates from bangla 10k 2023-10-02 17:26:07 +01:00
Miodec
e977b7c09b fix: handling of newline and tab characters in quotes and custom mode
Fixed an issue where escaped newline and tab
characters were still replaced with actual new lines.
This required changing every escaped or double escaped new line character
to be replaced with an actual new line character.
Then, escaped newlines can remain escaped, meaning they will now appear as normal text.
Also updated length params of affected quotes.

Closes #4674
2023-10-02 17:19:02 +01:00
Miodec
d6d9935883 fix: normalize bangla word lists to resolve typing issues
Should close #4468
2023-10-02 16:40:15 +01:00
Miodec
d56850fc24 fix(funbox): layoutfluid not working correctly in some cases or with 2 layouts 2023-10-02 16:26:30 +01:00
Miodec
73aca5b570 refactor: replace underscores 2023-10-02 16:25:51 +01:00
W0LFB0MB
fa01558876
impr(sound): add support for various error sounds (W0LFB0MB) (#4679)
* Add files via upload

* Delete frontend/static/sound/error/triangle.wav

* Delete frontend/static/sound/error/damage.wav

* modified error sound code to support multiple sound options and added two error sound alternatives

* added compatability for previous users of the error sound, converts legacy true/false config values to 1 or off

* fixed opiton names and values in commandline

* fix: auto switch theme behavior & footer theme indicator (#4677)

* fix: auto switch theme behavior & footer indicator

Changing manually to a preset or custom theme now
turns auto switch theme mode off with a notification.
And now the auto switch mode does override the custom
theme as well (statement in settings also updated) if it
is the later one set.
Fixes #4659, that is the footer theme is now correctly
displayed with auto switch themes as well.

* removed unnecessary function

---------

Co-authored-by: Miodec <jack@monkeytype.com>

* fixed off config value

* moved compatibilty code to replaceLegacyValues

---------

Co-authored-by: Sanidhya Singh <sanidhyas3s@gmail.com>
Co-authored-by: Miodec <jack@monkeytype.com>
2023-10-02 16:09:30 +01:00
Ehan
426694afa1
impr(themes): update nord and purpurite (ehanahamed) (#4668)
* Update nord theme

* Update purpurite (now "purpleish") theme

* Update theme list

* Update Purpleish theme

* Update nord theme
2023-10-02 15:42:25 +01:00
JAY TAILOR
d2a6b896ee
impr(commandline): scroll active entry into view when searchbar is empty (JayTailor45) (#4663)
* fix: language selection scroll into view behaviour

* impr: improve animation logic

* impr: display selected language to center

* impr: add background hover for selected language

* impr: reuse existing keepActiveEntryInView function
2023-10-02 15:31:50 +01:00
Remilia Alucard
6096b0cde1
impr(quotes): add guilty gear quote (remalucard) (#4682)
* fixed quote?

* why

* why is this such a pain

* please just work

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-10-02 15:30:43 +01:00
aikoo7
c19db19a45
impr(quotes): add 6 quotes (aikooo7) (#4675) 2023-10-02 15:17:45 +01:00
Sanidhya Singh
5844f1da5a fix: auto switch theme behavior & footer theme indicator (sanidhyas3s, miodec) (#4677)
* fix: auto switch theme behavior & footer indicator

Changing manually to a preset or custom theme now
turns auto switch theme mode off with a notification.
And now the auto switch mode does override the custom
theme as well (statement in settings also updated) if it
is the later one set.
Fixes #4659, that is the footer theme is now correctly
displayed with auto switch themes as well.

* removed unnecessary function

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-10-02 13:48:26 +01:00
Miodec
59be910857 refactor: swap button placement 2023-10-02 12:02:12 +01:00
Miodec
47e10de46e fix(result): words history being stuck on the same words 2023-09-28 19:49:47 +01:00
Miodec
fcaf0d1da4 fix: keymap disappearing after one test 2023-09-28 17:45:33 +01:00
Miodec
9f1f53aa89 fix(typing): old safari versions deleting whole word when pressing backspace once(?????) 2023-09-28 16:55:34 +01:00
Miodec
08c6b2b4da fix(quotes): quote reports 2023-09-28 13:00:12 +01:00
Miodec
6667fe53ba refactor: add error logging to analytics 2023-09-28 12:32:36 +01:00
Miodec
e0bb96e008 refactor: test config
- added function which instantly loads current state and updates dom (used when showing test page)
 - focus is applied through main instead of by directly adding and removing a class
 - reworked performance by storing dom elements
 - improved animation smoothness by grabbing actual width of punc and num
 - removed unused code
 - not updating when not on the test page
2023-09-27 23:00:17 +01:00
Miodec
3c32eee9a5 refactor: not running test dependent functions if active page is not test 2023-09-27 22:08:14 +01:00
Miodec
897cfde4eb impr: changing keymap mode will no longer restart the test 2023-09-27 15:03:40 +01:00
Miodec
85124413eb refactor: clean up restart function
- reordered code
 - removed unused code
 - remove duplicated code
 - move code to other files which make more sense
2023-09-27 14:55:35 +01:00
Miodec
5fa300e3de refactor: update function name to make more sense 2023-09-27 14:53:54 +01:00
Miodec
ecbf5fa4f1 chore: add debug log 2023-09-27 13:08:15 +01:00
Miodec
4a1a7ea456 style: remove icon margins causing height change 2023-09-27 12:34:02 +01:00
Miodec
e9c4512fa6 refactor: throw if el not found 2023-09-27 11:52:10 +01:00
Miodec
cf1c93f551 impr: update title on page change 2023-09-27 11:16:34 +01:00
Miodec
bebf7b6f52 refactor: use form and button type submit in simple popups to improve tab navigation 2023-09-26 17:14:39 +01:00
Miodec
2aad78d262 refactor: focus button if popup has no inputs 2023-09-26 17:13:29 +01:00
Miodec
c695fb1eda chore: add one more guard check 2023-09-26 17:09:08 +01:00
Miodec
7440f70b04 style: move result ad below the "sign in to save result" message 2023-09-26 16:36:39 +01:00
Miodec
d7dfe9ef6c style: change focus visible outlines to be rem based instead of em
This ensures the thickness of the outline is consistent, no matter whats the font size.
2023-09-26 16:29:55 +01:00
Miodec
2a006ddf5f refactor: use button instead of div for settings group titles 2023-09-26 16:28:05 +01:00
Miodec
102d97c416 fix(settings page): account section link remained visible even when not signed in 2023-09-26 16:03:18 +01:00
Miodec
ad8ac3c402 refactor: reordered functions 2023-09-26 16:02:12 +01:00