The best way to control Claude Code, Codex and more from any computer or phone
fix(web): show worktree icon in sidebar v2 (#5909)
Tristan Knight committed
Aug 10, 2026 at 04:21 UTC
0ca9fb3fb5c7bb604b572a45bac1a3b8936c81ae
1 file changed
+5
-1
apps/web/src/components/Sidebar.tsx
+5
-1
@@ -137,6 +137,7 @@ import {
137
} from "./Sidebar.logic";
138
import { resolveLocalCheckoutBranchMismatch } from "./BranchToolbar.logic";
139
import {
140
+ ThreadWorktreeIndicator,
141
prStatusIndicator,
142
resolveThreadPr,
143
settledPrHoverColorClass,
@@ -1412,7 +1413,10 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
1413
working, but it truncated to a half-sentence and dropped the
1414
branch, so the row lost its most stable identifier. */}
1415
{thread.branch ? (
1415
- <span className="min-w-0 flex-1 truncate whitespace-nowrap">{thread.branch}</span>
1416
+ <>
1417
+ <ThreadWorktreeIndicator thread={thread} />
1418
+ <span className="min-w-0 flex-1 truncate whitespace-nowrap">{thread.branch}</span>
1419
+ </>
1420
) : (
1421
<span className="flex-1" />
1422
)}