Skip to content

Commit 7e6b842

Browse files
authored
feat(hackathons): add judging dataset to export dropdown (#577)
Surface a new "Judging" entry alongside the existing export options (Winners, Submissions, etc.) so organizers can download judging criteria, judges, aggregated results, per-judge scores, and judge comments. Requires the matching backend dataset to be deployed.
1 parent 6101e01 commit 7e6b842

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

components/organization/hackathons/details/ExportButton.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ const DATASETS = [
5050
label: 'Winners',
5151
description: 'Wallet address, activation & USDC trustline',
5252
},
53+
{
54+
id: 'judging',
55+
label: 'Judging',
56+
description: 'Results, judges, scores & comments',
57+
},
5358
] as const;
5459

5560
export function ExportButton({

lib/api/hackathons/rewards.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ export const exportHackathon = async (
214214
| 'submissions'
215215
| 'prize_tiers'
216216
| 'winners'
217+
| 'judging'
217218
| 'full' = 'full'
218219
): Promise<Blob> => {
219220
const res = await api.get(

0 commit comments

Comments
 (0)