Visually identify when a task has failed in the kanban

This commit is contained in:
Louis Knight-Webb
2025-07-01 16:39:59 +01:00
committed by GitHub
parent aca769983e
commit 749ddd5ccb
6 changed files with 123 additions and 70 deletions

View File

@@ -12,6 +12,7 @@ import {
Edit,
Loader2,
CheckCircle,
XCircle,
} from 'lucide-react';
import type { TaskWithAttemptStatus } from 'shared/types';
@@ -57,6 +58,10 @@ export function TaskCard({
{task.has_merged_attempt && (
<CheckCircle className="h-3 w-3 text-green-500" />
)}
{/* Failed Indicator */}
{task.has_failed_attempt && !task.has_merged_attempt && (
<XCircle className="h-3 w-3 text-red-500" />
)}
{/* Actions Menu */}
<div
onPointerDown={(e) => e.stopPropagation()}