* 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>
* Ability to set group
* Ability to set more advanced permissions
* Modified TextInputWithLabel to provide an ability to specify a different placeholder then the name
- Implement /auth/openid/mobile-redirect this will redirect to an app-link like audiobookshelf://oauth
- An app must provide an `redirect_uri` parameter with the app-link in the authorization request to /auth/openid
- The user will have to whitelist possible URLs, or explicitly allow all
- Also modified MultiSelect to allow to hide the menu/popup
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