fix(shot-status): compact last sent cell
Deploy / deploy (push) Successful in 3m28s

Recipient moves to the tooltip, the version and date no longer wrap, and the
column is narrower so Notes keeps its room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
twotalesanimation
2026-10-05 16:39:29 +02:00
parent 88112112d4
commit 1d60a55b3c
@@ -878,15 +878,14 @@ function DeliveryCell({ delivery, shotVersion }: { delivery: ShotDeliverySummary
<div className="space-y-0.5 text-xs leading-tight">
{sent ? (
<div
className="flex items-center gap-1 text-emerald-300"
className="flex items-center gap-1 whitespace-nowrap text-emerald-300"
// Who it went to stays in the tooltip: an email address swamps the column.
title={[sent.label, sent.to && `sent to ${sent.to}`, sent.note].filter(Boolean).join(" · ")}
>
<PackageCheck className="h-3 w-3 shrink-0" />
{sent.version && <span className="font-mono">{sent.version}</span>}
<span className="text-zinc-300">{format(new Date(sent.at), "d MMM")}</span>
<span className="truncate text-zinc-500">
{sent.via === "MANUAL" ? "· manual" : sent.to ? `· ${sent.to}` : ""}
</span>
{sent.via === "MANUAL" && <span className="text-zinc-500">· manual</span>}
</div>
) : (
<div className="text-zinc-600 italic">Not delivered</div>
@@ -942,7 +941,7 @@ function ShotTable({
<th className="text-left py-2 px-3 text-xs font-medium text-zinc-500 w-32">Status</th>
<th className="text-left py-2 px-3 text-xs font-medium text-zinc-500 w-40">Artist</th>
<th className="text-left py-2 px-3 text-xs font-medium text-zinc-500 w-32">Due Date</th>
<th className="text-left py-2 px-3 text-xs font-medium text-zinc-500 w-48">Last sent</th>
<th className="text-left py-2 px-3 text-xs font-medium text-zinc-500 w-36">Last sent</th>
<th className="text-left py-2 px-3 text-xs font-medium text-zinc-500">Notes</th>
<th className="py-2 px-3 text-xs font-medium text-zinc-500 w-20 text-center">
<span className="flex items-center gap-1 justify-center">