feat: show awards on jury dashboard and add project details to award voting
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m27s

- Jury dashboard now shows active award voting banners with project
  count, deadline countdown, and direct link to vote
- Award voting page shows full project details: description, team
  members, tags, and downloadable files in expandable cards
- Award jurors can now download files for eligible projects (added
  awardJuror access check to file.getDownloadUrl)
- Backend query enhanced to include files and team members

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matt
2026-04-14 12:28:53 -04:00
parent acd75427b3
commit 0987d49817
4 changed files with 394 additions and 86 deletions

View File

@@ -740,6 +740,25 @@ export const specialAwardRouter = router({
competitionCategory: true,
country: true,
tags: true,
files: {
where: { replacedById: null },
select: {
id: true,
fileName: true,
fileType: true,
bucket: true,
objectKey: true,
createdAt: true,
},
orderBy: { createdAt: 'desc' },
},
teamMembers: {
select: {
id: true,
role: true,
user: { select: { name: true, email: true } },
},
},
},
},
},