Aha! My hypothesis is that you had 3 likes in the level 11-20 subsection that you no longer have access to. If you have used one like in the level 21-30 subsection then that explains why I am getting 196, because I don’t have access to that one
That probably explains it then. I can still enter the pain forum though (who knows how discourse works, it’s magic). But I guess there’s not much to do about it Usually those forums are quiet enough that most people won’t even notice on transition.
Just counted them to make sure, I liked 3 posts in a topic on that part of the forum right before leveling up. That’s where the likes went
Btw I am using the function from the script, which is returning an array of 196 items, so there shouldn’t be any confusion there
I probably liked one post in the death forum too though, so you might be getting slightly different results from me on that part
I guess there’s nothing I can do about that. Bye bye 100% accuracy. I will still implement an indicator for being out of likes, though
What do you think about just making the heart red?
Red might be a bit confusing since that’s nearly the same color you’d get as when you like something. Maybe something blue or something would work? I’m terrible at design though, so my color choices are usually the worst
Well since it only happens to people who A) leveled up between one of the categories and B) liked something in the rarely-used level-specific categories I think nobody will ever even notice.
This kind of quirky stuff is almost like an easter egg in the script
Doesn’t being out of likes make your heart race?
I’ve been trying to make a broken heart, but it doesn’t look too good
Is it not possible to use emotes? Could use this one:
I did try that, but you can’t change its color and it very much stands out in that bright red
I want to report a bizarre behavior. The Likes Received counter is all over the place.
- It was at 6
- Suddenly it dropped to 3.
- In refreshed the browser, it jumped to 7.
- I have another tab open where is is at 6. I refreshed this tab and it jumps to 7.
It looks like the real value is 7 but sometimes the counter reports another number.
That’s… Odd. The way I am doing it this time is that I am just briefly decrementing the displayed number the moment you click the button, then a fetch is made for all your likes in the last 24h, and once that resolves the number is updated again with the real count. Not sure why it would behave like that. If it happens again can you check the console for 429 warnings (not errors) from the like counter?
Thanks, will do.

the moment you click the button,
Just to make sure I was clear, I was reporting an issue with the likes received, not the likes left. Your answer suggests you missed this point because there is no click when a like is received.
Oh, you are right. Probably normal behavior then. You were at 6 likes received, some time passed and 3 likes passed over the 24h mark, changing it to 3. Then you received some likes and it increased to 7. The difference between tabs is explained by that it only updates when you load the page or like something, although I should probably set a timer for that too.
Actually, in order to minimize risk for 429 errors (am a bit worried about that still) I will probably make it so that everything updates once a minute.
How about something like this as an indicator?
It looks pretty and nice, but what does this indicate?
That you are out of likes. Is a bit hard to find a simple and intuitive design.
Edit: Kumi, have you tried some symbols that are associated with “non-availablity”, like
?
I did try that, but I want this to be something that I can do with pure CSS (no direct manipulation of individual elements), and it’s not really possible to make such symbols look nice with the current constraints