Y'know how people sometimes post polls with a special option like "Not voting, I just want to see the results"?
That's not necessary, the poll data includes the vote count, even if you haven't voted. I'm experimenting with surfacing that info when you see the poll in your feed
One option would be a new toggle button that switches between hiding and showing the results. But they could also be shown inline in the poll.
Here's what that looks like.
First screenshot is the current UI. Second screenshot is the experiment. In both cases the user hasn't voted on the poll yet.
Thoughts?
@pachli I think that the option with the switch to see the poll would be the best one. Seeing the results in advance if I want to vote seems somewhat wrong...
@pachli I think the result should be hidden behind a content warning of some kind. Maybe I want to vote myself before seeing how others have voted.
@kallekn Yeah. Looks like this at the moment, which feels a bit clunky. And on narrower devices the "Hide votes" / "Show votes" button wraps to two lines. For some languages it's probably not wide enough at all.
Two buttons stacked on top of each other isn't very aesthetically pleasing either. Maybe the "sensitive" eye-with-a-slash icon could be placed on the poll somewhere?
@kallekn Here's an experiment with that icon.
First screenshot is how the poll appears without interaction, second is if you tap the icon on the far right.
@pachli I preferred the button. It's clearer. If you use the icon, I think it should be next to the button.
@kallekn I wasn't a fan of how it potentially obscures part of the first option either.
Here's the latest iteration. It's a checkbox so the state is extremely clear (no "does the icon indicate the current state, or the state it will switch to?" uncertainty).
Positioned below the options so you're less likely to miss-click, and far from the "Vote" button for the same reason. Hopefully with enough space that it'll still work when translated.
@pachli I think that's a good solution.
@pachli @kallekn, this looks like the best option so far, for me.
Thinking about the smaller screens and/or larger characters, could the Vote button be reduced a little?
I don't know how large the equivalent word can be in other languages, but it would help. In the two other languages I know the translations have 5 letters. Perhaps an adaptive button?
(Mentioning languages, would help A LOT if in the Weblate was the context of each item, like other software there - some show a screenshot.)
@pachli I like it but it should definitely be optional.