1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-24 11:38:30 +00:00
Commit graph

33 commits

Author SHA1 Message Date
SirStendec
a01b21e9d9 Bump version. Update changelog. Tweak strings for the new emote alignment setting. 2018-04-08 15:51:50 -04:00
Lordmau5
5fb92f52da Implement emote-alignment setting (#409) 2018-04-08 15:20:46 -04:00
SirStendec
f77371d8fb Tab-completion is in its own file now (which I accidentally added in a previous commit). Update fine's searchParent and searchTree to accept the name of a FineWrapper to use that class. 2018-04-07 19:10:45 -04:00
SirStendec
e6e11fe562 Emote Menu? Emote Menu.
* Add the emote menu.
* Add an option to replace the emote menu icon with the FFZ icon.
* Add icons to the icon font.
* Add a basic human duration formatting method to i18n.
* Add methods to the emotes module to get sets including the providers.
* Add a method to the emotes module to load an arbitrary set.
* Add a map to the emotes module for identifying providers.
* Add new events for when emote sets change.
* Add support for loading featured channel emotes.
* Add an option to suppress source sets in emote tooltips.
* Add an option to display a sellout line in emote tooltips.
* Remove emote menu from the WIP section of the home page of the menu.
* Fix a typo in rich content.
* Remove a bit of logging from fine.
* Add helper methods for set comparison and basic debouncing to utilities/object.
* Add constants for the emote menu.
* Add methods to show/hide a tooltip to the tooltip data object.
2018-04-06 21:12:12 -04:00
SirStendec
f506b512b4 Make JS X Again
* Configure the project to allow the use of JSX in .jsx files.
* Add linting for JSX.
* Rewrite most existing code that uses `createElement` to use JSX syntax.
* Stop importing `createElement as e`. That's what the minifier is for. And we don't have to write it manually so much now because of JSX syntax.
2018-04-01 18:24:08 -04:00
SirStendec
79e4b02e6b Add a setting for tab-completion of FFZ emotes. Process default values of settings with merge strategies. 2018-03-30 19:54:26 -04:00
Lordmau5
d922c00748 Implement Tab-Completion for FFZ and other add-on emotes (#402)
* Implement Tab-Completion

* Adjust code to requested changes

* Reviews round two!
2018-03-30 19:38:34 -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
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
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
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
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
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
ac6663053f Add a setting to disable fixing bad emotes. People are the worst. 2017-12-13 20:22:11 -05:00
SirStendec
cbbe6f3e20 Basic badge stuff. Rendering of extension badges is still disabled for now, but SOON(tm). Fix emotes in locally echoed messages when emoji are present. Cache tokens in chat lines. Include the intl-login element within the username link in chat so it all underlines together. 2017-11-28 02:03:59 -05:00
SirStendec
2e5fe7f177 Refactor chat line rendering to support lines with system messages, making it possible to customize the rendering of re-sub messages and eventually other types, like purchases. Fix the emote data structure being all screwed up in self-sent /me commands. 2017-11-23 02:49:23 -05:00
SirStendec
b04cd8a61a Add getEmotes method to chat.emotes. Remove emoji mentions from chat.emotes because that'll have its own module as chat.emoji. Fix bug with Room objects changing their login if FFZ's server has outdated name info. Use getEmotes in emote tokenization. Move channel bar Apollo modifiers into the channel bar module. Rename CHAT_TYPES variable to use proper casing. Add touchmove handler to scroller for people with touchscreens. Fix spacing under the player in theatre mode with whispers disabled. Add navigate method to FineRouter. 2017-11-22 15:39:38 -05:00
SirStendec
127184f997 Fix updateContext. Change the colors used to make chat names readable. Fix /me actions in chat. Fix socket.ping() 2017-11-20 16:59:52 -05:00
SirStendec
ab8904a626 Fixed #313. Fix Volume scroll working the opposite way it should in Firefox. Fix typo in setting description. 2017-11-17 17:31:21 -05:00
SirStendec
6da5d4c8b5 Add convenience method for creating CSS variable or setting blocks of CSS directly in css_tweaks. Start using those variables for things like chat width. Add the ability to highlight messages with mentions in them. Fix Sidebar Swap and Theatre Mode. Closes #312 2017-11-17 14:59:46 -05:00
SirStendec
863eafd32f Add: Auto Theatre Mode, Hide Whispers in Theatre. Fix: Player width in theatre. Cache message deleted status at chat line render to avoid a second render. 2017-11-16 18:54:54 -05:00
SirStendec
7708caebb5 Clean up some code with eslint. Add eslintrc. Fix the FFZ:AP fix for jQuery only existing on some pages. Start renaming functions toCamelCase. Add old style RGB Loop color processing. Clean up Chat Freeze a bit. 2017-11-16 15:54:58 -05:00
SirStendec
a887425602 Fix issues with scrolling and removing old chat lines when we can't find Twitch's own chat line type mapping. 2017-11-16 14:24:17 -05:00
SirStendec
23e2fadba3 Add a button to the chat settings menu to open the FFZ menu. Fix the chat width setting and theater mode. 2017-11-15 14:04:59 -05:00
SirStendec
10c6c1cb87 Move chat-line into its own module. Update the chat buffer code to always remove visible lines in pairs to avoid messing up rendering. Grab chat line types from webpack. 2017-11-14 22:13:30 -05:00
SirStendec
bb26260e23 Add chat font settings. Update changelog. Remove old credits file and old, moved theme.scss. Fix FFZ menu rendering in Firefox/Edge. 2017-11-14 18:48:56 -05:00
SirStendec
cace3b317d Added: Freeze Chat on Hover/Key 2017-11-14 04:12:10 -05:00
SirStendec
262757a20d 4.0.0 Beta 1 2017-11-13 01:23:39 -05:00