cletusc / Userscript--Twitch-Chat-Emotes

Adds a button to Twitch that allows you to "click-to-insert" an emote.
http://cletusc.github.io/Userscript--Twitch-Chat-Emotes/
MIT License
36 stars 20 forks source link

Allow hiding emotes through GUI #26

Closed cletusc closed 10 years ago

cletusc commented 10 years ago

After some feedback from a 1000 person chat, some wanted the ability to hide emotes from the menu.

Code implementation: keep a localStorage key for hidden emotes. In refreshUsableEmotes(), check emote against that list.

The GUI implementation is to be decided. I don't know the best way to hide an emote. Any suggestions for those watching this repo?

OlsonDev commented 10 years ago

Add an Edit Mode. When in the mode, emoticons become "checkable". Provide Shift and Ctrl shortcuts for bulk selecting like Gmail/Windows File Explorer/etc. Then add buttons Hide selected, Show selected which only enable if they actually have a selection. Down the line, you could expand this mode to allow users to custom reorder emoticons, create their own groups, whatever else users deem useful.

cletusc commented 10 years ago

I like that. This would make other UI easy to implement, like the favorites from #22.

bashtech commented 10 years ago

Also the ability to hide a specific channel/product would be nice, not just the emotes individually.

cletusc commented 10 years ago

Here is an initial implementation of this. Still a few glitches that I am working on, but overall about what I had in mind. Suggestions?

initial implementation

Edit: This isn't exactly a "file explorer" type UI, so you would have to manually click each emote, or in the case of channels, just the whole channel.

cletusc commented 10 years ago

Added a black border around the eye based on some feedback:

cletusc commented 10 years ago

615ec60d86789ea635ff6e3a199d528b12ca0eb7 implements this. Let me know what you think!

Installing dev versions Install link for commit

cletusc commented 10 years ago

Looks like this is good to go based on test results from plenty of testers. Calling this closed :+1: