Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

fix(web): show worktree icon in sidebar v2 (#5909)

Tristan Knight0ca9fb3fb5c7
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx
index 75f7c9e58..a2dda3b76 100644
--- a/apps/web/src/components/Sidebar.tsx
+++ b/apps/web/src/components/Sidebar.tsx
@@ -137,6 +137,7 @@ import {
} from "./Sidebar.logic";
import { resolveLocalCheckoutBranchMismatch } from "./BranchToolbar.logic";
import {
+ ThreadWorktreeIndicator,
prStatusIndicator,
resolveThreadPr,
settledPrHoverColorClass,
@@ -1412,7 +1413,10 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
working, but it truncated to a half-sentence and dropped the
branch, so the row lost its most stable identifier. */}
{thread.branch ? (
- <span className="min-w-0 flex-1 truncate whitespace-nowrap">{thread.branch}</span>
+ <>
+ <ThreadWorktreeIndicator thread={thread} />
+ <span className="min-w-0 flex-1 truncate whitespace-nowrap">{thread.branch}</span>
+ </>
) : (
<span className="flex-1" />
)}