Rounds overhaul: full CRUD submission windows, scheduling UI, analytics, design refresh
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m40s

- Fix special award FK crash: replace 4x raw auditLog.create with logAudit() helper
- Add updateSubmissionWindow + deleteSubmissionWindow mutations to round router
- Add per-round analytics (_count, juryGroup) to competition.getById
- Remove redundant acceptedCategories from intake config
- Rewrite submission window manager with full CRUD, all fields, date pickers
- Add round scheduling card (open/close dates) to round detail page
- Add project count, assignment count, jury group to round list cards
- Visual redesign: pipeline view, brand colors, progress bars, enhanced cards

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-16 07:07:09 +01:00
parent 2fb26d4734
commit f572336781
8 changed files with 1208 additions and 414 deletions

View File

@@ -78,6 +78,15 @@ export const competitionRouter = router({
sortOrder: true,
windowOpenAt: true,
windowCloseAt: true,
juryGroup: {
select: { id: true, name: true },
},
_count: {
select: {
projectRoundStates: true,
assignments: true,
},
},
},
},
juryGroups: {
@@ -102,6 +111,10 @@ export const competitionRouter = router({
windowOpenAt: true,
windowCloseAt: true,
isLocked: true,
deadlinePolicy: true,
graceHours: true,
lockOnClose: true,
sortOrder: true,
_count: { select: { fileRequirements: true, projectFiles: true } },
},
},