Lordmau5
19c81bb049
Exclusive settings mode / pop-out ( #399 )
...
- In exclusive mode, the settings menu isn't minimizable or closable
- It automatically opens in said mode when it finds `?ffz-settings` in the URL
- When in pop-out chat, the FrankerFaceZ Control Center link will open a new window with exclusive settings mode.
2018-03-22 14:09:28 -04:00
SirStendec
2e5c99c727
Fix setting sync using BroadcastChannel, since localStorage events are unreliable. Thanks Chrome. :D
2018-03-21 16:51:10 -04:00
SirStendec
8ce07a5603
Fix an issue with the following directory features not working.
2018-03-19 18:21:31 -04:00
SirStendec
7cecff0ef9
Rename icon bell-off.
2018-03-15 17:27:10 -04:00
SirStendec
7c6aefed83
Add notification glyphs to the icon font.
2018-03-15 17:17:00 -04:00
SirStendec
be7d1aeadf
Update dependencies.
2018-03-15 17:09:20 -04:00
SirStendec
9ac7e8a209
Developer improvements. Start using babel as the parser for eslint to add support for webpack's dynamic import syntax. Move most babel config into the babel build file to make sure nothing weird happens with eslint. Commit package-lock. Clean up gitignore a bit. Fix linting issues with the webpack build files.
2018-03-15 16:59:10 -04:00
SirStendec
41e80fd94c
Add support for custom moderator badge images.
2018-03-15 03:31:30 -04:00
SirStendec
96b03290c8
Fix an issue subscribing to topics when a socket first connects.
2018-03-14 17:32:19 -04:00
SirStendec
efbc9f808f
Update icon font. Just assume any fiber we can find is mounted when we find it.
2018-03-14 15:39:10 -04:00
SirStendec
29a4d8175e
Add transpiling with Babel so Edge will work.
2018-03-14 14:33:03 -04:00
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