From 3f79f01d20c409ae173ea5e855a935e048ada7ed Mon Sep 17 00:00:00 2001 From: Benjtalkshow Date: Thu, 21 May 2026 11:00:48 +0100 Subject: [PATCH] feat(hackathons): add judging dataset to export dropdown 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. --- components/organization/hackathons/details/ExportButton.tsx | 5 +++++ lib/api/hackathons/rewards.ts | 1 + 2 files changed, 6 insertions(+) diff --git a/components/organization/hackathons/details/ExportButton.tsx b/components/organization/hackathons/details/ExportButton.tsx index dd0a2504..a4242862 100644 --- a/components/organization/hackathons/details/ExportButton.tsx +++ b/components/organization/hackathons/details/ExportButton.tsx @@ -50,6 +50,11 @@ const DATASETS = [ label: 'Winners', description: 'Wallet address, activation & USDC trustline', }, + { + id: 'judging', + label: 'Judging', + description: 'Results, judges, scores & comments', + }, ] as const; export function ExportButton({ diff --git a/lib/api/hackathons/rewards.ts b/lib/api/hackathons/rewards.ts index 1b383396..58a75aa9 100644 --- a/lib/api/hackathons/rewards.ts +++ b/lib/api/hackathons/rewards.ts @@ -214,6 +214,7 @@ export const exportHackathon = async ( | 'submissions' | 'prize_tiers' | 'winners' + | 'judging' | 'full' = 'full' ): Promise => { const res = await api.get(