From f5c97fd9a7cd7be8d28c834ecf56d7fb4bddc86a Mon Sep 17 00:00:00 2001 From: twotalesanimation <80506065+twotalesanimation@users.noreply.github.com> Date: Fri, 5 Jun 2026 07:53:24 +0200 Subject: [PATCH] updated shot status pages --- .gitea/workflows/deploy.yml | 2 +- .../shot-status/ShotStatusClient.tsx | 20 ++++++++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 0254f9f..23bfa4b 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -22,6 +22,6 @@ jobs: docker compose up -d --build - docker compose exec -T vfxreview npx prisma@6.19.3 migrate deploy + docker compose exec -T vfxreview npx prisma migrate deploy docker image prune -f \ No newline at end of file diff --git a/app/(dashboard)/shot-status/ShotStatusClient.tsx b/app/(dashboard)/shot-status/ShotStatusClient.tsx index 2486024..7b61723 100644 --- a/app/(dashboard)/shot-status/ShotStatusClient.tsx +++ b/app/(dashboard)/shot-status/ShotStatusClient.tsx @@ -3,6 +3,7 @@ import { useState, useTransition, useCallback } from "react"; import { useRouter } from "next/navigation"; import Image from "next/image"; +import Link from "next/link"; import { Select, SelectContent, @@ -118,12 +119,12 @@ function NotesCell({ ); } -function ShotTable({ shots, canManage }: { shots: ShotRow[]; canManage: boolean }) { +function ShotTable({ shots, canManage, projectId }: { shots: ShotRow[]; canManage: boolean; projectId: string }) { return ( - + @@ -141,12 +142,12 @@ function ShotTable({ shots, canManage }: { shots: ShotRow[]; canManage: boolean {/* Thumbnail */}
ThumbThumb Shot Status Due Date
-
+
{shot.thumbnailUrl ? ( {shot.shotCode} @@ -158,7 +159,12 @@ function ShotTable({ shots, canManage }: { shots: ShotRow[]; canManage: boolean {/* Shot name */}
- {shot.shotCode} + + {shot.shotCode} + {shot.description && (

{shot.description} @@ -328,7 +334,7 @@ export function ShotStatusClient({ {!collapsed && (

- +
)} @@ -337,7 +343,7 @@ export function ShotStatusClient({ ) : (
- +
)}