SirStendec
254d297f79
Use ref-counting with socket topic subscriptions to make it easy to tell when we should and shouldn't actually unsubscribe. Add route awareness to FineWrapper so that we can unregister the MutationObserver when we know we won't be suddenly finding an instance that we're looking for. Have the channel bar register for the channel pubsub topic. Fix minimize navigation showing the navigation bar over top of theater mode.
2018-03-14 13:58:04 -04:00
SirStendec
c559790f87
Fix FFZ settings not showing up in chat settings menu. Fix overlay extensions not hiding properly. Fix #384 . Update subscriber notifications.
2018-03-11 14:04:55 -04:00
SirStendec
95933dc649
Fix Minimize Navigation. Update the outdated home page of the menu.
2018-03-07 18:18:22 -05:00
SirStendec
8ba8e054a5
Add an error catcher and error state for the chat scroller to hopefully allow chat to recover when React forgets how to DOM.
2018-03-03 16:38:50 -05:00
SirStendec
a0606a49a4
Add error handlers to some of the React chat components. Don't delay initialization completion while we wait up to 60 seconds for the emote menu extension.
2018-03-01 13:40:24 -05:00
SirStendec
fb1ea38f1b
Make changes to how forceUpdate() is called to hopefully reduce errors with React being stupid and not understanding how the DOM works. Also don't display an empty message for a resub with no attached message.
2018-03-01 04:13:52 -05:00
SirStendec
67053e3804
Add a Prime Reminder on sub buttons. Super easy, the data was already there. Also add the Prime crown to the icon font.
2018-02-28 17:01:15 -05:00
SirStendec
e49dd9b216
Update the gray theme from Twitch's CSS. Update the changelog.
2018-02-27 01:57:13 -05:00
Lordmau5
7dcac76954
Add option to change the amount of volume change per scroll step ( #380 )
...
* Add variable scroll amount option
* Also fix 2 linting errors
2018-02-27 01:45:14 -05:00
SirStendec
f2479495ce
Fix rendering of chat action messages. (msg.type is now msg.messageType because Twitch). Remove debug logging from channel_bar.
2018-02-27 01:41:19 -05:00
SirStendec
eb967e115f
More fixes for the React 16 update.
2018-02-22 18:38:13 -05:00
SirStendec
0ae6e5021d
A ton of stuff. Initial migration to React 16. Initial changes for Rooms support. Add support for clip champ badge. Start using .gql source files that are compiled during import so we don't need to include GraphQL-tag in builds.
2018-02-22 18:23:44 -05:00
SirStendec
f0bcf7f53e
Update the gray theme. Make the settings menu draw a sub-page list if a page has no content. Update changelog.
2018-02-08 18:28:30 -05:00
SirStendec
3ca7d1d955
Add setting to hide live indicator. Fix clicking box-art with channel avatars displayed over thumbnails. Fix width of Chat on Videos with custom chat width. Update hide vodcasts to hide reruns. Fix performance issues and text wrapping in the directory.
2018-02-08 18:28:06 -05:00
SirStendec
8e27f2e6a3
Change multi-badge tooltips to put two badges on each line for a nicer display. Fix replacing badges while also setting per-user badge overrides.
2018-02-02 18:51:38 -05:00
SirStendec
2efbd1ae59
Change how user-specific badge overrides are rendered so that a transparent image badge looks correct no matter what badge style is enabled.
2018-02-02 18:19:42 -05:00
SirStendec
7cc6bf576f
Fix a typo with room-specific user-specific emote sets. Add a suppress_logs argument to registering emote sets to avoid spam from the GameWisp add-on.
2018-02-02 18:11:37 -05:00
SirStendec
c9430e1aad
Fix generation of CSS for transparent image badges added by FFZ or other extensions.
2018-02-02 16:29:41 -05:00
SirStendec
aee458badd
Allow data.image
rather than data.urls
in generateOverrideCSS
for badges.
2018-02-02 16:18:03 -05:00
SirStendec
5d53dd7071
Update changelog. Add handling for ritual messages, as well as a setting to disable them. Disabled ritual messages still render their message in chat, just not the system messages like "X is new here! Say hello!"
2018-02-02 16:00:58 -05:00
SirStendec
7a92d7968f
Make badge tooltips better. Add support for overriding image, title, and color to per-user badges. Automatically regenerate badge CSS when loading new badge data unless told not to. Also fix a minor bug in directory/following that can occur if we're rendering a host card before host data has been processed.
2018-02-02 16:00:01 -05:00
SirStendec
b79e910100
If we need to refetch a query in .ensureQuery
or .getFromQuery
because the results don't have the data we have requested, make a shallow copy of the query document to ensure a cache miss from Apollo's transformDocument
method.
...
This ensures that Apollo uses our newly modified query document when performing the actual request.
2018-02-02 15:57:22 -05:00
SirStendec
5429f4d329
More fixes for the Apollo update. It still has issues with ensuring queries are re-fetched properly, but it is at least modifying queries and doing what it's supposed to.
2018-02-01 16:39:24 -05:00
SirStendec
9e1ba06eef
Temporary change to at least let FFZ finish loading with the wrong Apollo version.
2018-01-29 22:59:10 -05:00
SirStendec
0f07ac5c5b
Working on replacing the GraphQL dependency with a package we control.
2018-01-29 22:25:39 -05:00
SirStendec
4c9e67a22e
Fix Twitch chat badges not rendering. They removed badgeSets from the chat container, so for now access the raw data and parse it ourselves. It's actually about the same difficulty, so it should work fine.
2018-01-19 17:17:16 -05:00
SirStendec
0754144c36
Render badges. Fix badges with weird font sizes. Add an option to show metadata in theatre mode. Fixes #364 . Fixes #363 .
2018-01-16 17:36:56 -05:00
SirStendec
95d0002b56
Fix chat scroll pausing. scrollToBottom was moved from the object prototype (aka the correct place for functions) to being defined in the constructor (aka not the correct place), making it more annoying to override.
2018-01-15 20:40:54 -05:00
SirStendec
be9de6de25
Fix tool-tip placement. Fix incorrect player width in theater mode with collapsed chat and a custom chat width set. Fix channel bar placement with minimize navigation. Fix player size when entering fullscreen with theater mode enabled. Fix minor bug in has
method.
2017-12-21 20:37:58 -05:00
SirStendec
160dd98062
Minor fixes.
2017-12-16 02:24:09 -05:00
SirStendec
53a47e02f5
Update changelog. Update build script to fix minified builds. The latest uglifyes requires keep_classnames as a compression option as well as mangle.
2017-12-16 02:13:53 -05:00
Lordmau5
bbf158aee1
Add Browse -> Popular support for avatar and uptime ( #359 )
...
* Add Browse -> Popular support for avatar and uptime
* Fix potential null-erroring
* Fix Twitch's mess once again...
Also add actual decent support for the popular page and various other fixes, such as hiding blocked games and whatnot
* Fix...
2017-12-16 02:00:44 -05:00
SirStendec
cc1705c0c8
Update dependency versions.
2017-12-14 16:21:41 -05:00
SirStendec
4c75eac19c
Version bump. Fix Promise detection in non-Webkit browsers. Change how hollow button metadata is colored.
2017-12-14 16:21:30 -05:00
Lordmau5
941aab9feb
Hide Vodcasts & Host Button ( #353 )
...
* Fix occasional vanishing of stream card uptime, avatar and other info
* Additionally fix routing issues with the modified avatar div
* Add hide vodcast functionality
* Add `vuedraggable` to dependencies
* Remove LegacyAPI
* Add host button with aut-host management menu
Messy code, but it works.
* Only add `disabled` class to button if chat connection isn't there
* Fix for host button not updating it's text properly after un-/hosting
* Add tooltip to host button and use alternative way to get the chat inst.
* Rework host button stuff into new metadata
All is functional, even though the code might be a mess.
* Implement Auto-Host settings tab
* Fix reassignment to const, hehe
* Custom TMI events for Host and Unhost, plus use existing chat connection
* Code adjustments, disabling the button when host is loading, etc.
* Address code-review suggestions
Translation support and a few other fixes
* Remove inline styling
* Show error in tooltip if hosting didn't work properly or similar issues
* Address change requests
* Fix mixup
* Fix host options not having a background
* Fix styling for the host options
This adds a small border
* Hide host button on own channel
* Fix popper
* Move `isChannelHosted` method further up
* Adjust handle of auto host menu and fix vodcast hiding
* Replace loading icon with text
* Add setting for host button; Also another small issue
* Fix joining your own channel multiple times
2017-12-13 23:43:56 -05:00
SirStendec
ac35ee5fab
Fix balloon popups for metadata.
2017-12-13 20:45:22 -05:00
SirStendec
ac6663053f
Add a setting to disable fixing bad emotes. People are the worst.
2017-12-13 20:22:11 -05:00
SirStendec
8e364e7d84
Misc. fixes to clean up after tw-
. Fix tooltip placement.
2017-12-13 18:30:27 -05:00
SirStendec
4b246ade44
tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-tw-
2017-12-13 17:35:20 -05:00
Lordmau5
5a9a3d221b
Fix directory stuff for new Twitch website ( #357 )
2017-12-13 17:12:42 -05:00
SirStendec
e623becb9c
Fix metadata forever.
2017-12-04 22:21:39 -05:00
SirStendec
c3ec40b8ea
Fix a leak in the new metadata stuff with pop-ups. Fix the click handler for metadata not getting the most recent data.
2017-12-04 21:37:26 -05:00
SirStendec
e224800fb9
Add support for clickable stream metadata. Add helper utility for detecting clicks outside of elements. Add support for manually shown/hidden tooltips, which is used for custom pop-ups.
2017-12-04 18:58:19 -05:00
SirStendec
dfa0c9c88f
Fix message highlighting.
2017-12-01 18:55:44 -05:00
SirStendec
fc40353b87
Bump version. Update change-log. Hide avatars in the directory by default.
2017-12-01 17:00:19 -05:00
SirStendec
428caedec1
Clean up the settings for the directory features.
2017-12-01 16:54:36 -05:00
SirStendec
cbaf4b6878
Remove hard-coded styles from the directory. Make the directory up-time tool-tips nicer. Only update the up-time tool-tips when necessary. Add localization support to the game block/unblock and thumbnail hide/show buttons. Make the buttons appear like they did before. Refactor the code for the buttons to reduce code duplication.
2017-12-01 16:22:45 -05:00
Lordmau5
60f86033e8
Address issues with Directory support ( #342 )
...
* Address issues with Directory support
De-duplicate `modifyStreams` for Game and Community
* More de-duplication!
PogChamp
* Early return for following.js
* Rely on `props.directoryType` instead of the router
* Move a method around to properly group them
* Fix for game buttons not properly showing when switching tabs
* More fixes!
2017-12-01 15:36:55 -05:00
SirStendec
fcc3cab35f
node.remove()
exists, so why have I been doing node.parentElement.removeChild(node)
. I am literally the worst.
2017-12-01 15:36:18 -05:00
SirStendec
ddee1e3bb5
A bunch of CSS tweaks. Add chat appearance features to whisper messages. Fix various layout options now that the player has been modified for Mini Player support. Fix alternating row colors and subscription messages.
2017-12-01 15:34:21 -05:00