fix(assignments): make reshuffle concurrency-safe; preserve juryGroupId
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m16s

This commit is contained in:
Matt
2026-02-20 03:48:17 +01:00
parent c7f20e2f32
commit d9d6a63e4a
3 changed files with 103 additions and 25 deletions

View File

@@ -2452,7 +2452,7 @@ function JuryProgressTable({ roundId }: { roundId: string }) {
disabled={reshuffleMutation.isPending}
onClick={() => {
const ok = window.confirm(
`Reassign all pending/draft projects from ${juror.name} to other jurors within their caps? This cannot be undone.`
`Reassign all unsubmitted projects from ${juror.name} to other jurors within their caps? Submitted and locked evaluations will be preserved. This cannot be undone.`
)
if (!ok) return
reshuffleMutation.mutate({ roundId, jurorId: juror.id })