shobrook / TypeSense

Chrome extension that analyzes a Messenger conversation's sentiment in real-time
MIT License
7 stars 2 forks source link

Change the icon's color whenever the current conversation's sentiment changes #25

Closed shobrook closed 6 years ago

alichtman commented 6 years ago

This is a cool idea. Let's do this.

Maybe this for something?: https://uigradients.com/#Peach Neutral sent: https://uigradients.com/#RoseWater Negative sent: https://uigradients.com/#Aubergine

alichtman commented 6 years ago

When we display the messages, we'll just check if the last two messages have the same sentiment impact sign. If not, call chrome.browserAction.setIcon(details) to change the icon programatically. https://stackoverflow.com/a/6940093/8740440