File tree Expand file tree Collapse file tree 4 files changed +26
-2
lines changed
Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,7 @@ pub async fn get_prize_track_results(
214214 presentation_url,
215215 video_url,
216216 ai_summary : None , // AI summary will be handled by detail modal
217+ submission_data : Some ( sub. submission_data . clone ( ) ) ,
217218 } ) ;
218219 }
219220
Original file line number Diff line number Diff line change @@ -295,6 +295,7 @@ pub struct ProjectResultInfo {
295295 pub presentation_url : Option < String > ,
296296 pub video_url : Option < String > ,
297297 pub ai_summary : Option < String > ,
298+ pub submission_data : Option < serde_json:: Value > ,
298299}
299300
300301/// Full results for a prize track
Original file line number Diff line number Diff line change @@ -762,6 +762,28 @@ fn ProjectDetailModal(
762762 }
763763 }
764764 }
765+
766+ // Submission Data JSON (Collapsible)
767+ if let Some ( data) = & project. submission_data {
768+ div { class: "pt-4 mt-4 border-t border-stroke-neutral-1" ,
769+ details { class: "group" ,
770+ summary { class: "list-none cursor-pointer flex items-center gap-2 text-sm font-medium text-foreground-neutral-primary hover:text-foreground-brand-primary transition-colors select-none" ,
771+ Icon {
772+ width: 16 ,
773+ height: 16 ,
774+ icon: LdChevronDown ,
775+ class: "transition-transform group-open:rotate-180" ,
776+ }
777+ "Raw Submission Data"
778+ }
779+ div { class: "mt-2 bg-background-neutral-secondary rounded-lg p-4 overflow-x-auto" ,
780+ pre { class: "text-xs font-mono text-foreground-neutral-secondary whitespace-pre-wrap break-words" ,
781+ "{serde_json::to_string_pretty(data).unwrap_or_default()}"
782+ }
783+ }
784+ }
785+ }
786+ }
765787 }
766788 }
767789 }
Original file line number Diff line number Diff line change 1- table_start = 0
2- table_end = 150
1+ table_start = 150
2+ table_end = 250
33url_template = " https://terrier.scottylabs.org/h/tartanhacks-2026/table-checkin/{table_number}"
44output_dir = " output"
55
You can’t perform that action at this time.
0 commit comments