Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style(topic): use alert triangle for failed topic status (#17108)

Arvin Xu4be0a30479f3
diff --git a/src/components/ExecutionStatus.ts b/src/components/ExecutionStatus.ts
index d0022e1e836..03a9dbd2b65 100644
--- a/src/components/ExecutionStatus.ts
+++ b/src/components/ExecutionStatus.ts
@@ -13,6 +13,7 @@ import {
Clock,
HandIcon,
StarIcon,
+ TriangleAlert,
} from 'lucide-react';
export interface ExecutionStatusVisual {
@@ -59,7 +60,10 @@ export const TOPIC_STATUS_VISUALS: Record<ChatTopicStatus, ExecutionStatusVisual
// Topic lists are mostly history: mute completed to keep long lists quiet,
// unlike task boards where a green check marks an achievement.
completed: { ...VISUALS.completed, color: cssVar.colorTextDescription },
- failed: VISUALS.failed,
+ // A failed topic is an alert the user should act on, not a terminal outcome
+ // like a failed task run — the warning triangle reads that way, the circled X
+ // reads as "closed/rejected".
+ failed: { ...VISUALS.failed, icon: TriangleAlert },
paused: VISUALS.paused,
running: VISUALS.running,
scheduled: VISUALS.scheduled,