Rename Assignments to Judge Assignments for clarity
Build and Push Docker Image / build (push) Successful in 9m21s Details

Updates labels in admin round pages:
- "Assignments" → "Judge Assignments"
- "Manage Assignments" → "Manage Judge Assignments"
- "Current Assignments" → "Current Judge Assignments"
- Updated descriptions to reference judges instead of jury members

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Matt 2026-02-04 15:15:10 +01:00
parent 5cbcad28ad
commit 3a7177c652
3 changed files with 10 additions and 10 deletions

View File

@ -238,7 +238,7 @@ function AssignmentManagementContent({ roundId }: { roundId: string }) {
</Link> </Link>
</div> </div>
<h1 className="text-2xl font-semibold tracking-tight"> <h1 className="text-2xl font-semibold tracking-tight">
Manage Assignments Manage Judge Assignments
</h1> </h1>
</div> </div>
@ -366,7 +366,7 @@ function AssignmentManagementContent({ roundId }: { roundId: string }) {
<div className="grid gap-4 sm:grid-cols-2 lg:grid-cols-4"> <div className="grid gap-4 sm:grid-cols-2 lg:grid-cols-4">
<Card> <Card>
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2"> <CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
<CardTitle className="text-sm font-medium">Total Assignments</CardTitle> <CardTitle className="text-sm font-medium">Total Judge Assignments</CardTitle>
<Users className="h-4 w-4 text-muted-foreground" /> <Users className="h-4 w-4 text-muted-foreground" />
</CardHeader> </CardHeader>
<CardContent> <CardContent>
@ -560,12 +560,12 @@ function AssignmentManagementContent({ roundId }: { roundId: string }) {
</CardContent> </CardContent>
</Card> </Card>
{/* Current Assignments */} {/* Current Judge Assignments */}
<Card> <Card>
<CardHeader> <CardHeader>
<CardTitle className="text-lg">Current Assignments</CardTitle> <CardTitle className="text-lg">Current Judge Assignments</CardTitle>
<CardDescription> <CardDescription>
View and manage existing project assignments View and manage existing project-to-judge assignments
</CardDescription> </CardDescription>
</CardHeader> </CardHeader>
<CardContent> <CardContent>
@ -665,9 +665,9 @@ function AssignmentManagementContent({ roundId }: { roundId: string }) {
) : ( ) : (
<div className="flex flex-col items-center justify-center py-8 text-center"> <div className="flex flex-col items-center justify-center py-8 text-center">
<Users className="h-12 w-12 text-muted-foreground/50" /> <Users className="h-12 w-12 text-muted-foreground/50" />
<p className="mt-2 font-medium">No Assignments Yet</p> <p className="mt-2 font-medium">No Judge Assignments Yet</p>
<p className="text-sm text-muted-foreground"> <p className="text-sm text-muted-foreground">
Use the smart suggestions above or manually assign jury members to Use the smart suggestions above or manually assign judges to
projects projects
</p> </p>
</div> </div>

View File

@ -376,14 +376,14 @@ function RoundDetailContent({ roundId }: { roundId: string }) {
<Card> <Card>
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2"> <CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
<CardTitle className="text-sm font-medium">Assignments</CardTitle> <CardTitle className="text-sm font-medium">Judge Assignments</CardTitle>
<Users className="h-4 w-4 text-muted-foreground" /> <Users className="h-4 w-4 text-muted-foreground" />
</CardHeader> </CardHeader>
<CardContent> <CardContent>
<div className="text-2xl font-bold">{round._count.assignments}</div> <div className="text-2xl font-bold">{round._count.assignments}</div>
<Button variant="link" size="sm" className="px-0" asChild> <Button variant="link" size="sm" className="px-0" asChild>
<Link href={`/admin/rounds/${round.id}/assignments`}> <Link href={`/admin/rounds/${round.id}/assignments`}>
Manage assignments Manage judge assignments
</Link> </Link>
</Button> </Button>
</CardContent> </CardContent>

View File

@ -458,7 +458,7 @@ function SortableRoundRow({
<DropdownMenuItem asChild> <DropdownMenuItem asChild>
<Link href={`/admin/rounds/${round.id}/assignments`}> <Link href={`/admin/rounds/${round.id}/assignments`}>
<Users className="mr-2 h-4 w-4" /> <Users className="mr-2 h-4 w-4" />
Manage Assignments Manage Judge Assignments
</Link> </Link>
</DropdownMenuItem> </DropdownMenuItem>
<DropdownMenuSeparator /> <DropdownMenuSeparator />