* 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: 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
Reworked checkboxes to not use any custom elements.
Instead, the native element is styled.
This fixes tab navigation, and makes them easier to use in general.
* Added highlight modes next word, next two words and next three words
* updating active element to make sure change is visible when applied from the commandline
---------
Co-authored-by: Miodec <jack@monkeytype.com>
* Updated the overlay text of the screenshot button to be more descriptive.
* Update result-screen.ts
added save as alias
* Update sourcecode.txt
reverted change to aria-label
* strings rename
* added alias
* renamed to min speed
* missing string rename
* wpm to speed rename
* converted displayed and inputted values for pace caret to the currently active speed unit
* accepting active speed unit in the commandline for min speed and min burst
* taking input in the currently selected unit for min burst
* displaying min burst in the selected unit
* converting min speed to the current unit
* Added configuration for typing speed unit, removed alwaysShowCPM
* review comments
* fix live-burst, activityChart and results-pb label
* Added support for typing speed unit in account histogram chart
* trigger build
* Update account.ts
* Fix chart scaling and wpm/rawWpm hovers on result page
fix chart scaling and bucket size on account page
* refactor histogramChartData to support 0.5 steps
* Revert dynamic scaling on accounts/result graph
* Refactor histogramChartData to an int[]
* Fix cutoff in account history
* Fix labels on result page
* Limit result chart label to two decimals
* renamed show average wpm to show average speed
* fix scaling on accounts history graph (again), not adding an easteregg 🤫
* hiding by default
* fix scaling on accounts history graph episode three
* move typingSpeedUnit related functions out of Misc
* updating account page if typing speed unit changes
* updating result page if changing units on the result page
* missing buton change
---------
Co-authored-by: Miodec <jack@monkeytype.com>