Skip to content

Display last cast votes in ballot #40

Open

Description

@vy

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?

Activity

  1. Humbedooh commented on Feb 28, 2025

    @Humbedooh
    Member

    Do you mean display which issues you have voted on, or are you looking for the actual vote (yes/no/whatever) that you cast?
    You should see a marker for issues that you have voted on - they should have a darker color and a tooltip saying you have already cast a vote on the issue. As for seeing what you voted last, we are not going to allow that. Same reason as why you can't ask a polling place to see what you just wrote on your ballot that you threw in the ballot box.

  2. assignUser commented on Feb 28, 2025

    @assignUser
    Member

    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?

  3. tisonkun commented on Feb 28, 2025

    @tisonkun
    Member

    I found that we have some code like:

    if (issue.hasVoted) {
    outer.setAttribute("style", "background: linear-gradient(to bottom, #d8d8d8 0%,#aaaaaa 100%); opacity: 0.55;")
    outer.setAttribute("title", "Notice: You have already voted once on this issue. You may recast your vote if you like.")
    } else {
    outer.setAttribute("title", "You have not yet voted on this issue");
    }

    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.

  4. vy commented on Feb 28, 2025

    @vy
    MemberAuthor

    As for seeing what you voted last, we are not going to allow that. Same reason as why you can't ask a polling place to see what you just wrote on your ballot that you threw in the ballot box.

    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.

  5. vy commented on Feb 28, 2025

    @vy
    MemberAuthor

    If the security is an issue, the state can be locally stored; in a cookie, etc.

  6. assignUser commented on Feb 28, 2025

    @assignUser
    Member

    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

  7. tcurdt commented on Feb 27, 2026

    @tcurdt

    Came here to report the same. Knowing that my vote has been registered (not what I voted) is essential to see in the UX.

    If fact I have no idea whether my vote was registered or not at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions