zjn0505 / xkcd-Android

xkcd app for xkcd comics
https://play.google.com/store/apps/details?id=xyz.jienan.xkcd
Apache License 2.0
31 stars 1 forks source link

Comics can be liked infinitely often #21

Open vguttmann opened 3 years ago

vguttmann commented 3 years ago

A comic can be liked infinitely often, just by repeatedly pressing the like button. Also, a comic can't be un-liked because of this.

This actually influences the ranking displayed the ranking of the comics (as viewed on the same device).

badjuice commented 2 years ago

I think this should've been labeled as a bug, no? @zjn0505

zjn0505 commented 2 years ago

I took the idea from medium.com, there you can clap on a post for 50 times at most as a registered user.

I think Mr. Cueball also deserves more likes, so here it isn't the way with one tap to thumb-up, another tap to revoke your love. It makes no sense to me to un-like a comic from a 3rd party app, I would prefer to thumb-up on a good comic 6 times when it gives me doubled laugh time than a 3-times-liked comic.

If the question is why not limited it to a number of 50 times or 100 times.

That's because I don't know how to do it easily.

This app is quite anonymous for a user, so it cannot be tracked at the backend of likes per user.

Also this app is quite slim on the size and storage it takes. I have installed it on all my devices, I don't want to add a database record on the device containing num:2479 -> 11 likes, num:2598 -> 45 likes, just to constraint people's likes to something I have no rights to control.

And lastly I think it doesn't hurt. I haven't checked the backend logs, but I guess if it is not a malicious attack to my fragile service, people would stop after 30 or 40 clicks.