Internal review: the comments panel stayed a 320px sidebar on phones, leaving the video a 55px strip. Below md it now sits under the video (collapsible, arrow pointing down/up), and the top bar puts shot + version on one row with the share and approval actions on a second. Client review: the header's three-column grid overlapped on phones (Approve drawn over the shot code). Below md it is two rows: back, shot and prev/next, then status and the decision buttons. The status badge now shows on phones, and the notes toggle points down/up to match its position. Desktop is unchanged on both. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,8 @@ import {
|
||||
Clock,
|
||||
ChevronLeft,
|
||||
ChevronRight,
|
||||
ChevronDown,
|
||||
ChevronUp,
|
||||
Copy,
|
||||
Check,
|
||||
Download,
|
||||
@@ -357,9 +359,11 @@ export default function ClientReviewPage({
|
||||
return (
|
||||
<div className="flex flex-col h-screen bg-zinc-950 text-white overflow-hidden">
|
||||
{/* Header */}
|
||||
<header className="grid grid-cols-[1fr_auto_1fr] items-center gap-2 px-4 py-2.5 border-b border-zinc-800 bg-zinc-900 shrink-0">
|
||||
{/* Phones: back + shot + prev/next on the first row, status and decision
|
||||
buttons on a second full-width row. From md: the three-column grid. */}
|
||||
<header className="flex flex-wrap items-center gap-2 md:grid md:grid-cols-[1fr_auto_1fr] px-4 py-2.5 border-b border-zinc-800 bg-zinc-900 shrink-0">
|
||||
{/* Left: back + shot path */}
|
||||
<div className="flex items-center gap-3 min-w-0">
|
||||
<div className="flex items-center gap-3 min-w-0 flex-1 md:flex-none">
|
||||
<Link
|
||||
href={`/client/${token}`}
|
||||
className="text-zinc-400 hover:text-white transition-colors flex items-center gap-1.5 text-sm shrink-0"
|
||||
@@ -387,7 +391,7 @@ export default function ClientReviewPage({
|
||||
<span className="text-xs text-zinc-500 hidden sm:block">{project?.code}</span>
|
||||
<span className="text-zinc-600">/</span>
|
||||
{contextCode && (
|
||||
<span className="font-mono font-semibold">{contextCode}</span>
|
||||
<span className="font-mono font-semibold truncate">{contextCode}</span>
|
||||
)}
|
||||
{taskName && (
|
||||
<>
|
||||
@@ -417,11 +421,11 @@ export default function ClientReviewPage({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Center: status badge + decision buttons */}
|
||||
<div className="flex items-center gap-2 shrink-0">
|
||||
{/* Center: status badge + decision buttons (their own row on phones) */}
|
||||
<div className="order-last md:order-none flex w-full md:w-auto items-center gap-2 shrink-0">
|
||||
<span
|
||||
className={cn(
|
||||
"text-xs px-2.5 py-1 rounded-full border hidden sm:inline-flex items-center gap-1 shrink-0",
|
||||
"text-xs px-2.5 py-1 rounded-full border inline-flex items-center gap-1 shrink-0 mr-auto md:mr-0",
|
||||
approvalStyle
|
||||
)}
|
||||
>
|
||||
@@ -542,10 +546,17 @@ export default function ClientReviewPage({
|
||||
className="flex items-center justify-center h-10 w-full border-b border-zinc-800 hover:bg-zinc-800/60 transition-colors shrink-0"
|
||||
title={commentsOpen ? "Collapse notes" : "Expand notes"}
|
||||
>
|
||||
{/* Below the video on phones, so down/up there and right/left from md. */}
|
||||
{commentsOpen ? (
|
||||
<ChevronRight className="h-4 w-4 text-zinc-400" />
|
||||
<>
|
||||
<ChevronDown className="h-4 w-4 text-zinc-400 md:hidden" />
|
||||
<ChevronRight className="h-4 w-4 text-zinc-400 hidden md:block" />
|
||||
</>
|
||||
) : (
|
||||
<ChevronLeft className="h-4 w-4 text-zinc-400" />
|
||||
<>
|
||||
<ChevronUp className="h-4 w-4 text-zinc-400 md:hidden" />
|
||||
<ChevronLeft className="h-4 w-4 text-zinc-400 hidden md:block" />
|
||||
</>
|
||||
)}
|
||||
{!commentsOpen && (
|
||||
<MessageSquare className="h-4 w-4 text-zinc-400 mt-1" />
|
||||
|
||||
Reference in New Issue
Block a user