|
@@ -1,12 +1,29 @@
|
|
|
## 1.2.0
|
|
|
-- **Features / Changes:**
|
|
|
- - Added a persistent cache to save lyrics in. Up to 500 of the most listened to songs are cached throughout sessions for 3 weeks to save time and reduce server load.
|
|
|
- - Added filtering algorithm to lyrics fetching to yield more accurate results
|
|
|
- - Improved accessibility of hotkey inputs
|
|
|
- - Remade the toggle buttons in the config menu to look cool and still be just as accessible
|
|
|
+- **Added features:**
|
|
|
+ - Keep the volume synced between tabs
|
|
|
+ - Set an initial volume level once per tab
|
|
|
+ - Hide the cursor after a set amount of inactivity while hovering over the video
|
|
|
+ - Show a thumbnail overlay over the video element (or open the thumbnail in a new tab) automatically and/or manually, depending on configuration
|
|
|
+ - `?si` parameter is removed in YT's share menu too now
|
|
|
+- **Changes / Fixes:**
|
|
|
+ - Improved the config menu
|
|
|
+ - Created new toggle input (because checkboxes don't come close to looking as good)
|
|
|
+ - Added an `advanced mode` option that reveals a set of hidden settings, and lots of new settings that were previously not configurable
|
|
|
+ - Improved styling and layout of menu substantially, especially when using different languages
|
|
|
+ - Now an option to open the config menu is shown on YT too
|
|
|
+ - Made a bunch of features not require a page reload anymore
|
|
|
+ - Fixed tooltip that is set on the wrong element
|
|
|
+ - Fixed queue buttons not being shown when navigating with tab key
|
|
|
- **Internal Changes:**
|
|
|
- - Implemented new class BytmMenu for less duplicate code and better accessibility, and to enable the improved configuration menu
|
|
|
- - Plugin interface now has access to the classes [`BytmDialog`](https://github.com/Sv443/BetterYTM/blob/0f2563541289e383a87b1dd34e6b3f86baf34c63/contributing.md#bytmdialog) and [`NanoEmitter`](https://github.com/Sv443/BetterYTM/blob/0f2563541289e383a87b1dd34e6b3f86baf34c63/contributing.md#nanoemitter), and functions [`createHotkeyInput()`](https://github.com/Sv443/BetterYTM/blob/0f2563541289e383a87b1dd34e6b3f86baf34c63/contributing.md#createhotkeyinput) and [`createToggleInput()`](https://github.com/Sv443/BetterYTM/blob/0f2563541289e383a87b1dd34e6b3f86baf34c63/contributing.md#createtoggleinput)
|
|
|
+ - Improved script performance
|
|
|
+ - Implemented new [SelectorObserver](https://github.com/Sv443-Network/UserUtils#selectorobserver) instances to improve overall performance by quite a lot
|
|
|
+ - Implemented rising-edge debounce for SelectorObserver instances to massively improve responsiveness
|
|
|
+ - Added a cache to save lyrics in. 1000 of the most listened to songs are saved throughout sessions for 30 days to save time and reduce server load.
|
|
|
+ - Implemented new class BytmDialog for less duplicate code, better maintainability, the ability to make more menus easier and for them to have better accessibility
|
|
|
+ - Expanded plugin interface
|
|
|
+ - Added function to register plugins (see [contrib guide](https://github.com/Sv443/BetterYTM/blob/develop/contributing.md#registerplugin))
|
|
|
+ - Plugins are now given access to the classes [`BytmDialog`](https://github.com/Sv443/BetterYTM/blob/0f2563541289e383a87b1dd34e6b3f86baf34c63/contributing.md#bytmdialog) and [`NanoEmitter`](https://github.com/Sv443/BetterYTM/blob/0f2563541289e383a87b1dd34e6b3f86baf34c63/contributing.md#nanoemitter), and the functions [`createHotkeyInput()`](https://github.com/Sv443/BetterYTM/blob/0f2563541289e383a87b1dd34e6b3f86baf34c63/contributing.md#createhotkeyinput) and [`createToggleInput()`](https://github.com/Sv443/BetterYTM/blob/0f2563541289e383a87b1dd34e6b3f86baf34c63/contributing.md#createtoggleinput)
|
|
|
+ - Added an experimental fuzzy filtering algorithm when fetching lyrics to eventually yield more accurate results (hidden behind advanced mode because it's far from perfect)
|
|
|
|
|
|
<div class="pr-link-cont">
|
|
|
<a href="https://github.com/Sv443/BetterYTM/pull/52" rel="noopener noreferrer">See pull request for more info</a>
|