elliotwaite / thumbnail-rating-bar-for-youtube

A Chrome and Firefox extension for YouTube that adds a rating bar (likes/dislikes ratio) to the bottom of every thumbnail.
https://chrome.google.com/webstore/detail/youtube-thumbnail-rating/cmlddjbnoehmihdmfhaacemlpgfbpoeb
MIT License
249 stars 17 forks source link

Option to scale up the dislike bar as it's too small for most videos #49

Closed Qarthak closed 2 years ago

Qarthak commented 3 years ago

Image As you can see these videos have too high a like/dislike percentage and it's hard to differentiate between a 1% long dislike bar vs a 0.1% dislike bar. It would be nice to have a feature that would let us scale up the number of dislikes by a constant factor for all videos so it's easier to tell which one has a better ratio

Qarthak commented 3 years ago

I tried to implement this in code but I'm not good at css or javascript or webdev in general. Also the variable names were converted to single characters so I couldn't figure out what to change. If you can't implement the whole feature just guide me on where to add the *10 so that it works for me and anyone who comes across this later

elliotwaite commented 3 years ago

Interesting idea. Perhaps the option could say something like, "Logarithmicly scale the likes bar width to be able to better differentiate highly liked videos." And then the like bar width could be scaled by some logarithmic base that might correspond to something like:

I'll try to implement something like this soon and let you know how it goes.

elliotwaite commented 2 years ago

I realized it would be called exponential scaling rather than logarithmic scaling. I just released a new version of the extension (1.4.6) that has a new option to enable exponential scaling: image

Let me know what you think and if you have any suggestions for how it could be improved.

Qarthak commented 2 years ago

It looks good. I just turned it on and I'm taking a while to get used to it. It's definitely better than linear scaling tho, although it would be nice to have an option to simply scale the dislike bar by a constant factor as exponentials are hard to decipher(twice as big doesn't mean twice the dislike ratio). I have no idea how scaling up would deal with the case where scaling factor*dislike percentage > 100% so ig exponential works

elliotwaite commented 2 years ago

Yeah, for the linear scaling, I thought it would be weird to just have a zero rating for ratings that were off the scale, and I wasn't sure of a different good way of handling it.

So far I've been liking the exponential scaling. I've been using it for the last 10 days and over that time I've gotten more familiar with which widths correspond with what types of ratings. A lot of updates that people request I never end up using, but this one I've actually found quite useful, so thanks again for the suggestion.

If you have any suggestions after trying it out for a bit, feel free to leave them here. Or if you think this update is good for now, you can close this issue, and if you have any other suggestions in the future, you can reopen this issue or create a new one.

Qarthak commented 2 years ago

This is pretty good. I think I'll also get used to the widths over time. It's also nice to have a more visual understanding of exponentials. I'll be closing this now, thanks for the updates man you rock! :D

elliotwaite commented 2 years ago

Thanks! Sounds good.