From c65fb255f9354fba6ae6106e7efbaaf8e8b30114 Mon Sep 17 00:00:00 2001 From: "santasri.pachhal" Date: Tue, 10 Mar 2026 16:45:54 +0530 Subject: [PATCH] chore: redesign result section --- app/results/[videoId]/page.tsx | 6 ++-- app/upload/[videoId]/page.tsx | 2 +- components/video-player-section.tsx | 47 ++++++++++++++--------------- 3 files changed, 26 insertions(+), 29 deletions(-) diff --git a/app/results/[videoId]/page.tsx b/app/results/[videoId]/page.tsx index 6a708d8..05aa457 100644 --- a/app/results/[videoId]/page.tsx +++ b/app/results/[videoId]/page.tsx @@ -116,7 +116,7 @@ export default function VideoResultsPage() { } return ( -
+
@@ -130,7 +130,7 @@ export default function VideoResultsPage() { {session && (
-
+
Project @@ -151,7 +151,7 @@ export default function VideoResultsPage() {
-
diff --git a/app/upload/[videoId]/page.tsx b/app/upload/[videoId]/page.tsx index c5e5ca3..86bcbd2 100644 --- a/app/upload/[videoId]/page.tsx +++ b/app/upload/[videoId]/page.tsx @@ -168,7 +168,7 @@ export default function VideoProcessingPage() {
)} - +
{/* Visual Spinner Area */}
diff --git a/components/video-player-section.tsx b/components/video-player-section.tsx index f1def10..6a29502 100644 --- a/components/video-player-section.tsx +++ b/components/video-player-section.tsx @@ -137,15 +137,13 @@ function DetailedSummarySection({ }) return ( -
- - +
+ +
-
-
-
- +
+ @@ -163,9 +161,9 @@ function DetailedSummarySection({ variant="outline" size="sm" onClick={() => setShowMap(true)} - className="gap-2 border-blue-200 dark:border-blue-800 hover:bg-blue-50 dark:hover:bg-blue-900/50" + className="gap-2 btn-blue-gradient" > - + Show Map
@@ -212,12 +210,12 @@ function DetailedSummarySection({ - - + +
-
+
- + @@ -355,12 +353,11 @@ function SummarySection({ data, show, detectionType }: { data: DetectionData; sh ] return ( - - + +
-
-
- +
+ @@ -382,9 +379,9 @@ function SummarySection({ data, show, detectionType }: { data: DetectionData; sh return (
-
+
{stat.value}
@@ -1022,11 +1019,11 @@ export default function VideoPlayerSection({ data, videoId, videoFile, detection return (
- - + +
-
- +
+
@@ -1142,7 +1139,7 @@ export default function VideoPlayerSection({ data, videoId, videoFile, detection
seekToFrame(log.frame)} - className="text-xs p-3 bg-white dark:bg-gray-900 rounded-md cursor-pointer hover:bg-accent/50 transition-colors shadow-sm" + className="text-xs p-3 rounded-md border border-slate-200 bg-white cursor-pointer transition-colors" >