Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Qarthak opened this issue Sep 6, 2021 · 7 comments
Closed

Comments

@Qarthak
Copy link

Qarthak commented Sep 6, 2021

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
Copy link
Author

Qarthak commented Sep 6, 2021

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
Copy link
Owner

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:

  • rating 100% = width 100%
  • rating 90% = width 50%
  • rating 80% = width 25%
  • rating 70% = width 12.5%
  • etc.

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

@elliotwaite
Copy link
Owner

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
Copy link
Author

Qarthak commented Sep 26, 2021

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
Copy link
Owner

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
Copy link
Author

Qarthak commented Sep 26, 2021

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

@Qarthak Qarthak closed this as completed Sep 26, 2021
@elliotwaite
Copy link
Owner

Thanks! Sounds good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants