authorgravatar for admin@snappeh.comTristan Knight <admin@snappeh.com> 2026-08-10 04:21:39+01:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-09 23:21:39-04:00
log0ca9fb3fb5c7bb604b572a45bac1a3b8936c81ae
treef21d4a5235ba6744690680035685f308ad95bf1c
parentcbd55d637413f9fd0b688dc0bd9ee75eeb4f2d75
signature Signed by PGP key B5690EEEBB952194

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


1 files changed, 5 insertions(+), 1 deletions(-)

apps/web/src/components/Sidebar.tsx+5-1
...@@ -137,6 +137,7 @@ import {...@@ -137,6 +137,7 @@ import {
137} from "./Sidebar.logic";137} from "./Sidebar.logic";
138import { resolveLocalCheckoutBranchMismatch } from "./BranchToolbar.logic";138import { resolveLocalCheckoutBranchMismatch } from "./BranchToolbar.logic";
139import {139import {
140 ThreadWorktreeIndicator,
140 prStatusIndicator,141 prStatusIndicator,
141 resolveThreadPr,142 resolveThreadPr,
142 settledPrHoverColorClass,143 settledPrHoverColorClass,
...@@ -1412,7 +1413,10 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {...@@ -1412,7 +1413,10 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
1412 working, but it truncated to a half-sentence and dropped the1413 working, but it truncated to a half-sentence and dropped the
1413 branch, so the row lost its most stable identifier. */}1414 branch, so the row lost its most stable identifier. */}
1414 {thread.branch ? (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 </>
1416 ) : (1420 ) : (
1417 <span className="flex-1" />1421 <span className="flex-1" />
1418 )}1422 )}