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
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:
@@ -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 } },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user