Go to file
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
.gitea/workflows Update CI workflow to use new Gitea registry at code.monaco-opc.com 2026-02-14 14:00:50 +01:00
docker Fix CRLF line endings in runtime/deploy scripts and enforce LF 2026-02-14 16:35:26 +01:00
docs Rounds overhaul: full CRUD submission windows, scheduling UI, analytics, design refresh 2026-02-16 07:07:09 +01:00
images Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
prisma Add schema reconciliation migration and file removal in bulk upload 2026-02-16 13:46:12 +01:00
public Display filtering controls inline for FILTERING round type 2026-02-03 10:33:34 +01:00
scripts Fix CRLF line endings in runtime/deploy scripts and enforce LF 2026-02-14 16:35:26 +01:00
src Fix project detail crash: replace dynamic hooks with single query 2026-02-16 15:30:44 +01:00
tests Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
.dockerignore Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
.env.example Add email password change feature and fix nginx config 2026-01-30 16:15:08 +01:00
.gitattributes Fix CRLF line endings in runtime/deploy scripts and enforce LF 2026-02-14 16:35:26 +01:00
.gitignore Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
CLAUDE.md Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
DEPLOYMENT.md Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
MOPC-redesign-report.md Round system redesign: Phases 1-7 complete 2026-02-13 13:57:09 +01:00
Notes.md Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
build-check.txt Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
components.json Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
next.config.ts Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
package-lock.json AI category-aware evaluation: per-round config, file parsing, shortlist, advance flow 2026-02-16 10:09:52 +01:00
package.json AI category-aware evaluation: per-round config, file parsing, shortlist, advance flow 2026-02-16 10:09:52 +01:00
postcss.config.mjs Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
tailwind.config.ts Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
tsc-audit.txt Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
tsc-check-final.txt Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
tsc-check-new.txt Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
tsc-check.txt Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
tsc-output2.txt Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
tsc-output3.txt Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00
tsconfig.json Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
vitest.config.ts Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00