feat: show vote status on jury dashboard and add logos to award-master
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m47s
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m47s
- Jury dashboard now shows "Submitted" badge (green) with "Edit Rankings" button when juror has already voted, instead of always showing "Vote Now" — prevents confusion about whether vote saved - Award-master page now shows project logos next to project names - Backend getMyAwardDetailEnhanced now returns logo URLs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -818,6 +818,7 @@ export const specialAwardRouter = router({
|
||||
select: {
|
||||
id: true, title: true, teamName: true, description: true,
|
||||
competitionCategory: true, country: true, tags: true,
|
||||
logoKey: true, logoProvider: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -886,12 +887,15 @@ export const specialAwardRouter = router({
|
||||
}))
|
||||
}
|
||||
|
||||
const projectsWithScores = eligibleProjects.map((e) => ({
|
||||
...e.project,
|
||||
evaluationScore: projectScores[e.project.id] ?? null,
|
||||
}))
|
||||
const projectsWithLogos = await attachProjectLogoUrls(projectsWithScores)
|
||||
|
||||
return {
|
||||
award,
|
||||
projects: eligibleProjects.map((e) => ({
|
||||
...e.project,
|
||||
evaluationScore: projectScores[e.project.id] ?? null,
|
||||
})),
|
||||
projects: projectsWithLogos,
|
||||
myVotes,
|
||||
isChair,
|
||||
otherVotes,
|
||||
|
||||
Reference in New Issue
Block a user