Open umputun opened 4 years ago
/re #260
In my opinion only positive scores should have different view with like button or something like that. Downvote button in this situation absolutely useless.
The second thing if we show downvoted comments as zero-voted it will be strange just because upvoting will do nothing if comment is downvoted. Please correct me if I’m wrong.
Downvote button in this situation absolutely useless.
No, it is not. The positive-only score allows both positive and negative voting it just limits "negative" value to 0
The second thing if we show downvoted comments as zero-voted it will be strange just because upvoting will do nothing if comment is downvoted.
good point.
Okay, I didn’t catch idea from the first time, now I understand. I thought it means you could vote only positive.
I think current behavior is predictable for current situation, the only thing I could make is to make downvote button a bit transparent (disabled state), and it will show that this button isn’t clickable without hovering.
the issue I'm having is not a behavior but how it shows the existing negative scores. Both negative and positive are very similar due to the lack of sign and the color-blinded users won't even notice the difference. If conditional signs (3) not that easy to implement maybe we should show a negative score with some other style change, like italic, underscored, or smth like this.
I think that another possible solution can be rendering negative score as it is (with "-" sign), but the downvote button must be disabled. In other words, transition from POSITIVE_SCORE from false
to true
will not have any effect on score of existing comments, even if they were downvoted, but these comments can be upvoted only. Score behaviour of new comments won't be changed (disabled downvote button).
Enabling
POSITIVE_SCORE
changes existing votes as well. This is expected (I guess) but confusing side-effect.Not sure how to deal with this, but can think of 3 possible solutions:
/cc @paskal @akellbl4 @Mavrin