* rearragned vars so they're declared before use
* s/var/const/
* fixed mixed tabs/spaces
* 1 unused var
* turned all of the incomplete jsdocs into regular comments
used `sass-migrator` and some manual intervention to migrate all of the
`@import`s to `@use` statements.
1. needed to prefix all of the `styles/main.scss` imports to use a
relative path (i.e. `../../../../styles/main.scss`
2. needed to add a `@use "container"` to `styles/tab-container` so it
could resolve its `@extend`s
- not sure if this was just an ordering issue or what, but it works
* Fixed: Various player-related features not working correctly after Twitch's Friday update. Closes#1685
* Fixed: The current category not being detected correctly when viewing a channel.
* Fixed: The setting to hide bits not hiding the get bits button from the top navigation bar.
currently, the Get Bits button is still shown when unchecking 'Display
Bits' under Chat > Bits and Cheering >> Appearance. it looks like aria
attributes changed & it no longer has `data-test-selector`. updated to
use `data-a-target="top-nav-get-bits-button"`
note: i couldn't get the 'Show the Get Bits button.' option under
Apperance > Layout >> Top Navigation to work independently of the option
under Chat > Bits and Cheering. not sure what's up with that.
adds a toggle under `Channel > Appearance >> General` to hide the "gift
a sub" buttons from the channel header (right under the player) and from
the channel goals.
because i have poor impulse control sometimes
<3 tyvm; i love the extension
* Fixed: The video player appearing as the incorrect size when a custom chat width is set, portrait mode is enabled, or swap sidebars is enabled.
* Fixed: Channel page tweaks being removed when Twitch refreshes the channel page for whatever reason they're doing that.
* API Fixed: Elemental not correctly detecting new elements in some situations.
* Fixed: Channel points reward messages not appearing in chat correctly for some users. (Closes#1650)
* Fixed: Clicking on a stream's up-time not being able to find the ID of the current broadcast.
* Maintenance: Update the `twitch_data` module to have better typing and better use of promises.
* API: Change the `createElement` method to create SVG elements with the proper namespace.