fix(client): remove version notes from the client shot-list page
Deploy / deploy (push) Failing after 2s
Deploy / deploy (push) Failing after 2s
Removes the three spots on the client review shot-list page that showed
a version's notes under the task title (flat task list, shot-grouped
list, asset list) — one of the three was already commented out by hand,
uncommitted, as a stopgap for the same issue.
The API route backing this page no longer selects notes at all, so it
stops being sent to the client rather than only going unrendered — the
same treatment as removing the pipeline's internal-only notes text in
53fc8dc.
The individual review player (app/client/[token]/review/[versionId]/)
has its own separate notes field and fetch and is untouched: this was
scoped to the shot-list overview only, per what was asked.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -68,7 +68,6 @@ export async function GET(
|
|||||||
fps: true,
|
fps: true,
|
||||||
duration: true,
|
duration: true,
|
||||||
thumbnailUrl: true,
|
thumbnailUrl: true,
|
||||||
notes: true,
|
|
||||||
createdAt: true,
|
createdAt: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -100,7 +99,6 @@ export async function GET(
|
|||||||
fps: true,
|
fps: true,
|
||||||
duration: true,
|
duration: true,
|
||||||
thumbnailUrl: true,
|
thumbnailUrl: true,
|
||||||
notes: true,
|
|
||||||
createdAt: true,
|
createdAt: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ interface ClientVersion {
|
|||||||
fps: number;
|
fps: number;
|
||||||
duration: number | null;
|
duration: number | null;
|
||||||
thumbnailUrl: string | null;
|
thumbnailUrl: string | null;
|
||||||
notes: string | null;
|
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -744,11 +743,6 @@ export default function ClientPortalPage({
|
|||||||
<p className="text-xs text-zinc-500">
|
<p className="text-xs text-zinc-500">
|
||||||
{TASK_TYPE_LABELS[task.type] ?? task.type}
|
{TASK_TYPE_LABELS[task.type] ?? task.type}
|
||||||
</p>
|
</p>
|
||||||
{ver?.notes && (
|
|
||||||
<p className="text-xs text-zinc-500 truncate italic mt-0.5">
|
|
||||||
“{ver.notes}”
|
|
||||||
</p>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
{ver ? (
|
{ver ? (
|
||||||
<span
|
<span
|
||||||
@@ -919,11 +913,6 @@ export default function ClientPortalPage({
|
|||||||
<p className="text-xs text-zinc-500">
|
<p className="text-xs text-zinc-500">
|
||||||
{TASK_TYPE_LABELS[task.type] ?? task.type}
|
{TASK_TYPE_LABELS[task.type] ?? task.type}
|
||||||
</p>
|
</p>
|
||||||
{ver?.notes && (
|
|
||||||
<p className="text-xs text-zinc-500 truncate italic mt-0.5">
|
|
||||||
“{ver.notes}”
|
|
||||||
</p>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
{ver ? (
|
{ver ? (
|
||||||
<div className="flex items-center gap-3 shrink-0">
|
<div className="flex items-center gap-3 shrink-0">
|
||||||
@@ -1028,11 +1017,6 @@ export default function ClientPortalPage({
|
|||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{ver?.notes && (
|
|
||||||
<p className="text-xs text-zinc-500 truncate italic mt-0.5">
|
|
||||||
“{ver.notes}”
|
|
||||||
</p>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
{ver ? (
|
{ver ? (
|
||||||
<div className="flex items-center gap-3 shrink-0">
|
<div className="flex items-center gap-3 shrink-0">
|
||||||
|
|||||||
Reference in New Issue
Block a user