From 928b4a3ddc568ba1a9a1dd061753c5cfcfc8586d Mon Sep 17 00:00:00 2001 From: "juancarlos.cavero" Date: Sat, 18 Jul 2026 13:56:20 +0200 Subject: [PATCH 1/7] fix(ui): hide model name in HUD badge; show clips at true aspect with resolution chip --- dashboard/src/components/ProcessingAnimation.jsx | 2 +- dashboard/src/components/ResultCard.jsx | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dashboard/src/components/ProcessingAnimation.jsx b/dashboard/src/components/ProcessingAnimation.jsx index bc1eee2..75f0e80 100644 --- a/dashboard/src/components/ProcessingAnimation.jsx +++ b/dashboard/src/components/ProcessingAnimation.jsx @@ -137,7 +137,7 @@ const ProcessingAnimation = ({ media, isComplete, syncedTime, isSyncedPlaying, s {!isSyncedPlaying && !isComplete && (
- AI_MODEL: GEMINI-2.5-PRO + VIRAL_DETECTION: ACTIVE
)} diff --git a/dashboard/src/components/ResultCard.jsx b/dashboard/src/components/ResultCard.jsx index 69e806f..104a424 100644 --- a/dashboard/src/components/ResultCard.jsx +++ b/dashboard/src/components/ResultCard.jsx @@ -44,6 +44,7 @@ export default function ResultCard({ clip, index, jobId, durableUrl, uploadPostK // A reopened project seeds it from the persisted project state. const [serverVideoFile, setServerVideoFile] = useState(initialState?.server_file || (clip.video_url || '').split('/').pop()); const [videoErrored, setVideoErrored] = useState(false); + const [resolution, setResolution] = useState(null); // If the local video failed and a durable R2 URL is (now) available, use it. // Handles the race where the video errors before the durable URL has loaded. @@ -511,8 +512,11 @@ export default function ResultCard({ clip, index, jobId, durableUrl, uploadPostK ref={videoRef} src={currentVideoUrl} controls - className="w-full h-full object-cover" + className="w-full h-full object-contain" playsInline + onLoadedMetadata={(e) => { + if (e.target.videoWidth) setResolution(`${e.target.videoWidth}×${e.target.videoHeight}`); + }} onError={() => { // Local /videos/ file gone (e.g. cleaned up after a reload) → // fall back to the durable R2 copy for managed users. If the @@ -556,6 +560,7 @@ export default function ResultCard({ clip, index, jobId, durableUrl, uploadPostK
{durationReadout && {durationReadout}} + {resolution && {resolution}} #shorts #viral
From d7a1c351548fcb0ebab16f8b27086d9e4e4dd512 Mon Sep 17 00:00:00 2001 From: "juancarlos.cavero" Date: Sat, 18 Jul 2026 14:33:37 +0200 Subject: [PATCH 2/7] fix(ui): fixed-height clip cards with true 9:16 video column; stop hover-expanding descriptions --- dashboard/src/components/ResultCard.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dashboard/src/components/ResultCard.jsx b/dashboard/src/components/ResultCard.jsx index 104a424..f9589c3 100644 --- a/dashboard/src/components/ResultCard.jsx +++ b/dashboard/src/components/ResultCard.jsx @@ -505,9 +505,9 @@ export default function ResultCard({ clip, index, jobId, durableUrl, uploadPostK const durationReadout = formatDuration(clip); return ( -
- {/* Left: Video Preview (Responsive Width) */} -
+
+ {/* Left: Video Preview — 9:16 column matching the fixed card height */} +
-

+

{clip.video_description_for_tiktok || clip.video_description_for_instagram}

From f57cb7a29a9d0c13576e87500e5e9650f879466f Mon Sep 17 00:00:00 2001 From: "juancarlos.cavero" Date: Sat, 18 Jul 2026 14:37:07 +0200 Subject: [PATCH 3/7] fix(ui): let clip cards grow to content (min-h) and cap description area so footer never clips --- dashboard/src/components/ResultCard.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/src/components/ResultCard.jsx b/dashboard/src/components/ResultCard.jsx index f9589c3..eaa5c26 100644 --- a/dashboard/src/components/ResultCard.jsx +++ b/dashboard/src/components/ResultCard.jsx @@ -505,7 +505,7 @@ export default function ResultCard({ clip, index, jobId, durableUrl, uploadPostK const durationReadout = formatDuration(clip); return ( -
+
{/* Left: Video Preview — 9:16 column matching the fixed card height */}