Commit graph

3163 commits

Author SHA1 Message Date
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
Miodec fd35be0bae perf: setting transition on background only instead of all properties 2023-09-26 15:42:57 +01:00
Mohanad Fteha 619bc23331
fix: confidence mode not saved after changing stop on error mode (mohanadft) (#4667)
* fix: save confidence mode after setting stopOnError and vice versa

* refactor: save to local storage if values updated

* fix: save freedomMode when it's reset
2023-09-26 15:38:28 +01:00
Miodec 89e8fef2b3 feat(funbox): add backwards funbox
closes #4661
2023-09-26 14:36:51 +01:00
Miodec 12e83c53f4 impr(typing): preventing arrow navigation and text selection of the test input
closes #4671
2023-09-26 14:18:34 +01:00
Miodec 7599cbb82e fix: notification bubble remaining visible when header was hidden
closes #4670
2023-09-26 14:05:34 +01:00
Miodec 8516ad6309 style: fix modern dolch light low contrast
closes #4666
2023-09-26 13:58:44 +01:00
Johan le stickman dc19e87396
impr(quotes): add french quotes (johan-perso) (#4654) 2023-09-26 13:51:59 +01:00
alyoro bb4eaee9ee
fix(quote): delete unecessary double tabs in Java quote (alyoro) (#4665)
* Deleting unecessary double tabs at the end of line in Java quote

* Updated length of the quote
2023-09-26 13:51:16 +01:00
Shuja-Mahmood c147624222
fix(qote): typo (Shuja-Mahmood) (#4664) 2023-09-26 13:44:06 +01:00
Miodec c39fdb0263 fix: tab navigation not working on the result page in safari 2023-09-25 16:32:21 +01:00
Miodec 64772e63c7 fix: alerts notification bubble showing in the wrong spot 2023-09-25 15:57:52 +01:00
Miodec 18b4e62f13 chore: release v1.17.14 2023-09-25 14:15:45 +01:00
Miodec 1f218fcf8e chore: fix quote length script 2023-09-25 14:13:44 +01:00
Miodec df98b84a5d refactor: replace set columns with repeat auto-fit and minmax 2023-09-25 13:48:30 +01:00
Miodec 0aab73ad67 refactor: change icon buttons to text buttons for consistency 2023-09-25 12:57:50 +01:00
Miodec ef4964ca1a chore: more consistent casing 2023-09-25 12:54:45 +01:00
Miodec d79f38dd87 chore: quick fix for an issue added in a previous commit 2023-09-25 12:54:45 +01:00
Miodec 3dd5c880b7 fix: ape key not shown after generation
Fixed by making the close function async and resolving the promise on animation finish

Closes #4657
2023-09-25 12:54:45 +01:00
Shuja-Mahmood aee1cc1581
impr(custom text): add checkbox to toggle control character replacing (Shuja-Mahmood) (#4648) 2023-09-25 12:51:29 +01:00
Miodec 2508d9d556 docs: update discord username
Closes #4660
2023-09-25 12:22:14 +01:00
Miodec 454983bb6f fix(quotes): quote reports 2023-09-25 12:08:40 +01:00
Miodec 8be6c8bf78 style(login page): fix title spacing 2023-09-25 11:50:24 +01:00
Miodec 1cfd282eff style: show underline for links 2023-09-25 11:50:24 +01:00
Miodec 413c6d72d6 refactor: redo the way focus is handled for popup 2023-09-25 11:50:24 +01:00
Miodec ff31b17687 style: make focus invisible on popup wrappers 2023-09-25 11:50:24 +01:00
Christian Fehmer 5439d3966f
impr: increase favicon quality by using svg (fehmer) (#4652) 2023-09-25 11:41:04 +01:00
Dario Götz c42765e6ed
fix(layout): incorrect mine layout middle row (dariogoetz) 2023-09-25 11:10:24 +01:00
Dario Götz 871c50cc59
impr(layout): add noted layout (dariogoetz) 2023-09-25 11:08:46 +01:00
Bastian Kappeler 61c3740f1d
impr(layout): add german dvorak imp (Bastkapp) (#4651)
Layout from: Dvorak by Nizo
https://github.com/theNizo/DvorakByNizo
2023-09-23 13:58:43 +01:00
PlumpDolphin 541d612ff3
impr(quote): add korean quotes (plumpdolphin) (#4637)
* new file:   frontend/static/quotes/korean.json

* Added 10 additional Korean quotes

* Removed temporary comments on Korean quotes JSON

* Update korean.json

Resolved improper length values on some quotes
2023-09-23 13:57:47 +01:00
Miodec 2f59f7888c style: fix overflow on safari
I love you Vastus for finding this

Closes #4635
2023-09-23 13:40:13 +01:00
Miodec 56b483c1e8 refactor: rename centerContent to contentWrapper 2023-09-23 12:17:49 +01:00
Miodec c76b2f40e8 refactor: use id instead of class 2023-09-23 12:17:49 +01:00
Miodec 54ceadd488 refactor: fix refactoring issue 2023-09-23 12:17:49 +01:00
Miodec 3d1486ff12 style: allow button transition
This now looks good when crossing the width breakpoint
due to the transitions only being applied to the color property.
2023-09-23 12:17:49 +01:00
Christian Fehmer 3be55de92c
chore: update jQuery to 3.7.1 (fehmer) (#4649)
* chore: update jQuery to 3.7.1

* add version number to easing.js file

* review comments
2023-09-21 13:06:11 +01:00
Sisisit cf11fdc7cd
impr(quote): add thicc english quote (Sisisit) (#4646) 2023-09-21 12:02:41 +01:00
Miodec 54457006ec refactor: use button instead of div
Reduce css.
Remove keypress event listeners.
Remove tabindex overrides.
Moved sign in tip below the buttons so that tab navigation makes sense.
2023-09-20 18:38:58 +01:00
Miodec 00d7af00f9 style: rework footer buttons 2023-09-20 17:53:17 +01:00
Miodec 6a8d4a48fa refactor: remove unnecessary style 2023-09-20 11:57:47 +01:00
Miodec f28d7451e7 refactor: use nesting 2023-09-20 11:57:00 +01:00
Miodec c97a5d7502 refactor: fix version button wrapped in two buttons 2023-09-20 11:54:03 +01:00
Miodec db9264986d style: fix scroll to top button covering footer 2023-09-20 11:45:15 +01:00
Miodec 5a7d659669 style: remove unnecessary transition 2023-09-20 11:43:27 +01:00
Miodec 4e507f23bd refactor: use main instead of a div 2023-09-20 00:01:35 +01:00
Miodec 724403d361 refactor: use nav instead of a div 2023-09-19 23:53:13 +01:00
Miodec 6610542d5f refactor: use footer instead of a div with an id 2023-09-19 23:51:20 +01:00
Miodec 46c0555202 chore: missing class 2023-09-19 23:47:33 +01:00
Miodec d1cb222735 chore: rename file 2023-09-19 23:45:52 +01:00
Miodec 5a06954f02 refactor: use button instead of div 2023-09-19 23:44:48 +01:00
Miodec a68af7cb56 chore: unnecessary event handler 2023-09-19 23:43:09 +01:00
Miodec 13d041e055 chore: remove tabindex 2023-09-19 23:40:28 +01:00
Miodec 431999ecc5 style: specify which properties should transition 2023-09-19 23:36:07 +01:00
Miodec 82024ff412 style: update anchor focus style 2023-09-19 23:35:53 +01:00
Miodec 513dfc63ff chore: use textButton for now to fix theme issues 2023-09-19 23:32:47 +01:00
Miodec 412d415207 refactor: use header instead of div with id 2023-09-19 23:31:13 +01:00
Miodec cbff23e125 style: improve no text badge styling 2023-09-19 23:28:18 +01:00
Miodec 6c5368beed style: fix loading indicator appearing in the wrong spot 2023-09-19 23:26:25 +01:00
Miodec 9399085251 style: lower gap 2023-09-19 23:18:03 +01:00
Miodec 87566574c9 style: remove property 2023-09-19 23:17:00 +01:00
Miodec 70197b7780 refactor: use nesting instead 2023-09-19 23:16:27 +01:00
Miodec cb449cfd2b chore: rename file 2023-09-19 23:08:28 +01:00
Miodec 13e08a716e refactor: use button instead of div 2023-09-19 22:57:52 +01:00
Miodec 3ca50f93fb style: remove transition on focus 2023-09-19 22:53:33 +01:00