Visually identify when a task has failed in the kanban
This commit is contained in:
committed by
GitHub
parent
aca769983e
commit
749ddd5ccb
@@ -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()}
|
||||
|
||||
Reference in New Issue
Block a user