* impr: detect development mode based on config instead of window.location
* Allow access to /configure on the backend using non-local ip
* Use webpack define plugin
* take BACKEND_URL from env
* 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
* 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>
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
* 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>
* 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
* 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>
- 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