@devries-cameron20 / t3code Mirror · read-only / commits / dafd053a19
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 14:45 UTC

fix(mobile): closed PR numbers match their red icon in the thread list (#29327)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

Tristan Knight committed Nov 14, 2026 at 12:08 UTC dafd053a193505566bda72daf067b0706c773145
1 file changed +2 -7
apps/mobile/src/state/thread-pr-presentation.ts
+2 -7
@@ -36,7 +36,7 @@ export interface ThreadPrPresentation {
36 const PR_STATE_TEXT_CLASS: Record<ThreadPr["state"], string> = {
37 open: "text-adaptive-emerald-600-400",
38 merged: "text-adaptive-violet-600-400",
39 - closed: "text-foreground-muted",
39 + closed: "text-adaptive-rose-600-400",
40 };
41
42 export function presentThreadPr(
@@ -101,12 +101,7 @@ export function presentThreadLinkedPullRequests(
101 : linkedCount !== null
102 ? `${linkedCount} linked ${changeRequest.plural}, overall ${badge.state}`
103 : `#${link.number} ${changeRequest.singular} ${state === null ? "status pending" : isDraft ? "draft" : state}`,
104 - textClassName:
105 - state === null || isDraft
106 - ? "text-foreground-muted"
107 - : isMultiple && state === "closed"
108 - ? "text-adaptive-rose-600-400"
109 - : PR_STATE_TEXT_CLASS[state],
104 + textClassName: state === null || isDraft ? "text-foreground-muted" : PR_STATE_TEXT_CLASS[state],
105 };
106 }
107