Skip to content

fix(voting): one final vote per category, and block over-budget ballots - #366

Merged
sabinem merged 1 commit into
mainfrom
fix/simplify-participant-voting
Oct 20, 2026
Merged

sabinem merged 1 commit into
mainfrom
fix/simplify-participant-voting

Conversation

@sabinem

@sabinem sabinem commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

This PR simplifies the participants voting:

Before: Single choice could be changed but points could not: the backend keeps an existing points vote and silently ignores a resubmit.

Now: Rather than a different rule per method, every category now takes one vote, final once submitted; a voted category shows what was cast instead of the ballot.

Details:

  • A points ballot over its budget cannot be submitted, and says how many points to take back (per-field max never caught a total spread across several entries).
  • A refused vote's reason shows next to that ballot's button, not at the top of the page.
  • Point fields drop leading zeros on change.

Single choice could be changed but points could not: the backend keeps
an existing points vote and silently ignores a resubmit. Rather than a
different rule per method, every category now takes one vote, final once
submitted; a voted category shows what was cast instead of the ballot.

- A points ballot over its budget cannot be submitted, and says how many
  points to take back (per-field max never caught a total spread across
  several entries).
- A refused vote's reason shows next to that ballot's button, not at the
  top of the page.
- Point fields drop leading zeros on change.
@sabinem
sabinem merged commit 72b46f3 into main Oct 20, 2026
3 checks passed
@sabinem
sabinem deleted the fix/simplify-participant-voting branch October 20, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant