processing column: per-card stop button alongside the column-header one
All checks were successful
Build and Push Docker Image / build (push) Successful in 37s

This commit is contained in:
2026-04-13 10:26:20 +02:00
parent 2ada728e50
commit 37e30e9ade

View File

@@ -40,7 +40,16 @@ export function ProcessingColumn({ items, progress, queueStatus, onMutate }: Pro
{job ? (
<div className="rounded border bg-white p-3">
<p className="text-sm font-medium truncate">{job.name}</p>
<div className="flex items-start justify-between gap-2">
<p className="text-sm font-medium truncate flex-1">{job.name}</p>
<button
type="button"
onClick={stop}
className="text-xs px-2 py-0.5 rounded border border-red-200 text-red-700 hover:bg-red-50 shrink-0"
>
Stop
</button>
</div>
<div className="flex items-center gap-2 mt-1">
<Badge variant="running">running</Badge>
<Badge variant={job.job_type === "transcode" ? "manual" : "noop"}>{job.job_type}</Badge>