Skip to content

Commit cbbf06e

Browse files
committed
fix(mobile): show waiting thread status
1 parent 2991331 commit cbbf06e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎apps/mobile/src/features/threads/thread-list-v2-items.tsx‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,17 @@ import { ThreadSearchMatchExcerpt } from "./thread-search-match";
6262
// Status hues follow the system-wide convention set by sidebar v1 and the
6363
// Live Activity/widgets (amber approval, indigo input, sky working) so a
6464
// thread reads the same color everywhere it surfaces.
65-
const STATUS_LABEL_BY_STATUS: Partial<
66-
Record<ThreadListV2Status, { label: string; className: string }>
65+
const STATUS_LABEL_BY_STATUS: Record<
66+
ThreadListV2Status,
67+
{ label: string; className: string } | undefined
6768
> = {
6869
approval: { label: "Approval", className: "text-warning-foreground" },
6970
input: { label: "Input", className: "text-adaptive-indigo-600-300" },
7071
working: { label: "Working", className: "text-adaptive-sky-600-400" },
72+
waiting: { label: "Waiting", className: "text-foreground-muted" },
7173
failed: { label: "Failed", className: "text-danger-foreground" },
7274
limited: { label: "Limited", className: "text-warning-foreground" },
75+
ready: undefined,
7376
};
7477

7578
// Menus keep lifecycle and title regeneration together. Archive keeps its

0 commit comments

Comments
 (0)