-
Notifications
You must be signed in to change notification settings - Fork 10
Display last cast votes in ballot #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Do you mean display which issues you have voted on, or are you looking for the actual vote (yes/no/whatever) that you cast? |
It makes sense but maybe a note that this is the case. Something like "Your previous vote is recorded but will not be displayed. To change your vote you have to recast it entirely." Or something? |
I found that we have some code like: steve/pysteve/www/htdocs/js/steve_rest.js Lines 872 to 877 in 2c40f86
And I can see it when inspecting the webpage. But I don't see a virtual text element directly. The style difference can be seen if you know what it means. |
AFAICT, there is a big difference: in a polling place with a physical ballot box, you can't vote multiple times for a duration of days, in the case of STeVe and ASF, you can. Hence, I think it makes sense to show users what they last voted for. |
If the security is an issue, the state can be locally stored; in a cookie, etc. |
I am not deep into browser security but I assume that could be a viable solution, as it doesn't require all the cool crypto we have to be discarded ^^. If the local browser is compromised all bets are off anyway :D |
I cast votes for
ASF Board of Directors
and go back to the same page to confirm that my votes are registered. While expecting to see my last cast votes, I am shown a fresh voting page with no hints to the votes I cast earlier. Could STeVe display the last cast votes, please?The text was updated successfully, but these errors were encountered: