From 5bfaf49fa14585302be92e6b70ee094ef5a81ed0 Mon Sep 17 00:00:00 2001
From: twotalesanimation <80506065+twotalesanimation@users.noreply.github.com>
Date: Fri, 12 Jun 2026 11:01:00 +0200
Subject: [PATCH] mobile client player layoout updates
---
app/client/[token]/page.tsx | 2 +-
.../[token]/review/[versionId]/page.tsx | 120 +++++++++---------
2 files changed, 63 insertions(+), 59 deletions(-)
diff --git a/app/client/[token]/page.tsx b/app/client/[token]/page.tsx
index 5dd1df2..5ccd808 100644
--- a/app/client/[token]/page.tsx
+++ b/app/client/[token]/page.tsx
@@ -378,7 +378,7 @@ export default function ClientPortalPage({
{ver ? (
-
+
v{String(ver.versionNumber).padStart(3, '0')}
{/* Header */}
-
-
-
- All Shots
-
+
+ {/* Row 1: back + shot info + status */}
+
+
+
+
All Shots
+
-
+
-
-
-
+
+
+
+
+ {(() => {
+ const project = version.shot?.project ?? version.task?.project;
+ const contextCode =
+ version.shot?.shotCode ??
+ version.task?.shot?.shotCode ??
+ version.task?.asset?.assetCode ??
+ null;
+ return (
+ <>
+
{project?.code}
+
/
+ {contextCode && (
+ <>
+
{contextCode}
+
/
+ >
+ )}
+
+ v{String(version.versionNumber).padStart(3, "000")}
+
+ >
+ );
+ })()}
- {(() => {
- const project = version.shot?.project ?? version.task?.project;
- const contextCode =
- version.shot?.shotCode ??
- version.task?.shot?.shotCode ??
- version.task?.asset?.assetCode ??
- null;
- return (
- <>
-
{project?.code}
-
/
- {contextCode && (
- <>
-
{contextCode}
-
/
- >
- )}
-
- v{String(version.versionNumber).padStart(3, "0")}
-
- >
- );
- })()}
+
+
+ {currentApprovalStatus === "PENDING_REVIEW" ? (
+
+ ) : currentApprovalStatus === "APPROVED" ? (
+
+ ) : currentApprovalStatus === "NEEDS_CHANGES" ? (
+
+ ) : (
+
+ )}
+ {currentApprovalStatus.replace(/_/g, " ")}
+
-
- {currentApprovalStatus === "PENDING_REVIEW" ? (
-
- ) : currentApprovalStatus === "APPROVED" ? (
-
- ) : currentApprovalStatus === "NEEDS_CHANGES" ? (
-
- ) : (
-
- )}
- {currentApprovalStatus.replace(/_/g, " ")}
-
-
- {/* Decision buttons */}
+ {/* Row 2 on mobile / inline on desktop: decision buttons */}