fix(finale): live-verification fixes — session sync on start, honest vote form, reveal panel polish
All checks were successful
Build and Push Docker Image / build (push) Successful in 10m43s

Found by driving the full ceremony end-to-end in the browser:
- live.start + startPresentation sync LiveVotingSession (status/currentProjectId)
  — jury votes silently failed when the admin never used sendToScreens
- LiveVotingForm no longer shows 'submitted' on a failed mutation; pages
  re-key on votedAt so async vote data renders the right state after refresh
- reveal compose prefers DELIB_LOCKED deliberation results over jury score
  order (listSessions now includes results); Arm unlocks right after save
- deliberation jury page review cards re-key on revision

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matt
2026-06-10 19:24:45 +02:00
parent 160333c2f9
commit 9b56eb27fb
7 changed files with 58 additions and 13 deletions

View File

@@ -90,7 +90,9 @@ export function LiveVotingForm({
} else {
onVoteSubmit({ score, comment: comment.trim() || undefined })
}
setEditing(false)
// NOTE: editing is NOT flipped here — the parent re-keys this component
// when the persisted vote actually lands, so a failed mutation leaves the
// form editable instead of lying with a "submitted" state.
setConfirmDialogOpen(false)
}