* Add SleepTimerTypes for countdown and chapter
* Add functionality for 'end of chapter' sleep timer
* Fix custom time for sleep timer
* Include end of chapter string for sleep timer
* Increase chapter end tolerance to 0.75
* Show sleep time options in modal when timer is active
* Add SleepTimerTypes for countdown and chapter
* Add functionality for 'end of chapter' sleep timer
* Fix custom time for sleep timer
* Include end of chapter string for sleep timer
* Increase chapter end tolerance to 0.75
* Show sleep time options in modal when timer is active
* Sleep timer cleanup
* Localization for sleep timer modal, UI updates
---------
Co-authored-by: advplyr <advplyr@protonmail.com>
* Add playback settings string to en-us
* Add playback settings UI for jump forwards and jump backwards
* Remove jump forwards and jump backwards settings
* Remove jump forwards and jump backwards en-us strings
* Update player UI to include player settings button
* Add label view player settings string
* Add PlayerSettingsModal component
Includes a toggle switch for enabling/disabling the chapter track feature.
* Add player settings modal component to MediaPlayerContainer
* Handle useChapterTrack changes in PlayerUI
* Add jump forwards and jump backwards settings to user store
* Add jump forwards and jump backwards label strings
* Add jump forwards and jump backwards settings to PlayerSettingsModal
* Update jump forwards and jump backwards to handle user state values in PlayerHandler
* Update jump backwards icon in PlayerPlaybackControls
* Add playback settings string to en-us
* Add playback settings UI for jump forwards and jump backwards
* Remove jump forwards and jump backwards settings
* Remove jump forwards and jump backwards en-us strings
* Update player UI to include player settings button
* Add label view player settings string
* Add PlayerSettingsModal component
Includes a toggle switch for enabling/disabling the chapter track feature.
* Add player settings modal component to MediaPlayerContainer
* Handle useChapterTrack changes in PlayerUI
* Add jump forwards and jump backwards settings to user store
* Add jump forwards and jump backwards label strings
* Add jump forwards and jump backwards settings to PlayerSettingsModal
* Update jump forwards and jump backwards to handle user state values in PlayerHandler
* Update jump backwards icon in PlayerPlaybackControls
* Add jump amounts to playback controls tooltips
* Fix merge issues and add new Material Symbols to player ui
* Alphabetize strings in en-us.json
* Update dropdown component with SelectInput to support menu overflowing modal
* Update localization for player settings
* Update en-us strings order
---------
Co-authored-by: advplyr <advplyr@protonmail.com>
This patch fixes the problem that toggling one of the options in the
user account dialog will automatically submit the form.
The problem got introduced as a combination of the recent accessibility
fixes where some elements got turned into HTML button elements to make
them keyboard accessible. Doing that, I did not realize that the default
type of a button is `submit` [1]. This causes no problems at most places,
but will cause problem within a form (e.g. the user account settings)
where toggling an option is now identical to clicking submit.
This patch fixes the issue by setting the `type` attribute to `button`.
Not only for the toggle switch, but also for a few other elements which
have been recently converted to buttons.
[1] https://www.w3.org/TR/2011/WD-html5-20110525/the-button-element.html#attr-button-type