Upvotes/downvotes for your own posts do wonky things

Zielmann·9/19/2013, 12:47:35 AM·3 votes·605 views

I can't really figure out the pattern of it...

By default, your own post is at +1 (assumption that you vote for your own post). If you click upvote, it removes your own +1, making it a 0. If you click downvote (with it either at +1 or 0), it goes to -1. But sometimes it seemed to get stuck and would flicker. It would show -1, but then jump right back to +1 for a few clicks in a row. Or vice-versa.

Not sure if this is happening on posts made by other people. I haven't seen that yet. But it would also make sense to just disable voting on your own posts completely.

2 Comments

RiotKrylhos9/19/2013, 1:42:17 AM4 votes

You called out the pattern exactly. We took a toggle state approach.

If you already have a vote, and you choose to vote in the same direction, it acts as an "I cancel this vote". When you choose to vote in a different direction, it acts as an "I changed my mind".

Does that pattern make sense to you?

In regards to flickers - I think what you're experiencing is our rate limiter. You can only perform a certain number of actions (such as voting) for a certain threshold of time. If you're not receiving a message explaining why the vote changed or flicker back, then there might be something wrong with error messages being delivered to you.

We'll take a look!