MOPC-App/src/server/routers
Matt f12c29103c
Build and Push Docker Image / build (push) Failing after 8s Details
Fix project detail crash: replace dynamic hooks with single query
The project detail page called useQuery inside .map() to fetch file
requirements per round, violating React's rules of hooks. When
competitionRounds changed from [] to [round1, round2], the hook count
changed, causing React to crash with "Cannot read properties of
undefined (reading 'length')".

Fix: Add listRequirementsByRounds endpoint that accepts multiple
roundIds in one query, replacing the dynamic hook pattern with a
single stable useQuery call.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 15:30:44 +01:00
..
_app.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
analytics.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
applicant.ts Consolidated round management, AI filtering enhancements, MinIO storage restructure 2026-02-16 09:20:02 +01:00
application.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
assignment.ts AI category-aware evaluation: per-round config, file parsing, shortlist, advance flow 2026-02-16 10:09:52 +01:00
assignmentIntent.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
assignmentPolicy.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
audit.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
avatar.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
award.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
cohort.ts Round detail overhaul, file requirements, project management, audit log fix 2026-02-16 07:49:39 +01:00
competition.ts Round detail overhaul, file requirements, project management, audit log fix 2026-02-16 07:49:39 +01:00
dashboard.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
decision.ts Round detail overhaul, file requirements, project management, audit log fix 2026-02-16 07:49:39 +01:00
deliberation.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
evaluation.ts Consolidated round management, AI filtering enhancements, MinIO storage restructure 2026-02-16 09:20:02 +01:00
export.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
file.ts Fix project detail crash: replace dynamic hooks with single query 2026-02-16 15:30:44 +01:00
filtering.ts AI category-aware evaluation: per-round config, file parsing, shortlist, advance flow 2026-02-16 10:09:52 +01:00
gracePeriod.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
juryGroup.ts Jury management: create, delete, add/remove members from round detail page 2026-02-16 12:46:01 +01:00
learningResource.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
live-voting.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
live.ts Round detail overhaul, file requirements, project management, audit log fix 2026-02-16 07:49:39 +01:00
logo.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
mentor.ts Round detail overhaul, file requirements, project management, audit log fix 2026-02-16 07:49:39 +01:00
message.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
notification.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
notion-import.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
partner.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
program.ts Pool, competition & round pages overhaul: deep-link context, inline project management, AI filtering UX, email toggle 2026-02-16 08:23:40 +01:00
project-pool.ts Pool, competition & round pages overhaul: deep-link context, inline project management, AI filtering UX, email toggle 2026-02-16 08:23:40 +01:00
project.ts Round detail overhaul, file requirements, project management, audit log fix 2026-02-16 07:49:39 +01:00
resultLock.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
round.ts AI category-aware evaluation: per-round config, file parsing, shortlist, advance flow 2026-02-16 10:09:52 +01:00
roundAssignment.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
roundEngine.ts Reopen rounds, file type buttons, checklist live-update 2026-02-16 12:06:07 +01:00
settings.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
specialAward.ts Round detail overhaul, file requirements, project management, audit log fix 2026-02-16 07:49:39 +01:00
tag.ts Optimize all AI functions for efficiency and speed 2026-02-16 14:02:38 +01:00
typeform-import.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
user.ts Round detail overhaul, file requirements, project management, audit log fix 2026-02-16 07:49:39 +01:00
webhook.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
wizard-template.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00