Replace Pipeline/Stage system with Competition/Round architecture. New schema: Competition, Round (7 types), JuryGroup, AssignmentPolicy, ProjectRoundState, DeliberationSession, ResultLock, SubmissionWindow. New services: round-engine, round-assignment, deliberation, result-lock, submission-manager, competition-context, ai-prompt-guard. Full admin/jury/applicant/mentor UI rewrite. AI prompt hardening with structured prompts, retry logic, and injection detection. All legacy pipeline/stage code removed. 4 new migrations + seed aligned. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
1.0 KiB
TypeScript
34 lines
1.0 KiB
TypeScript
'use client'
|
|
|
|
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
|
|
import { Layers } from 'lucide-react'
|
|
|
|
type ProjectStatesTableProps = {
|
|
competitionId: string
|
|
roundId: string
|
|
}
|
|
|
|
export function ProjectStatesTable({ competitionId, roundId }: ProjectStatesTableProps) {
|
|
return (
|
|
<Card>
|
|
<CardHeader>
|
|
<CardTitle className="text-base">Project States</CardTitle>
|
|
<p className="text-sm text-muted-foreground">
|
|
Projects participating in this round
|
|
</p>
|
|
</CardHeader>
|
|
<CardContent>
|
|
<div className="flex flex-col items-center justify-center py-12 text-center">
|
|
<div className="rounded-full bg-muted p-4 mb-4">
|
|
<Layers className="h-8 w-8 text-muted-foreground" />
|
|
</div>
|
|
<p className="text-sm font-medium">No Active Projects</p>
|
|
<p className="text-xs text-muted-foreground mt-1">
|
|
Project states will appear here when the round is active
|
|
</p>
|
|
</div>
|
|
</CardContent>
|
|
</Card>
|
|
)
|
|
}
|