From 57a05804be1d730a3270e05f036f40015d3f33fb Mon Sep 17 00:00:00 2001 From: Theo Browne Date: Sat, 8 Aug 2026 19:35:04 -0700 Subject: [PATCH] fix(web): sidebar rows show the branch again, not a truncated plan step The plan step replaced the branch on every working row. It almost always truncated to a half-sentence, and the n/m counter it carried lived inside the truncating span, so it got cut too. The row lost its branch and gained nothing readable. Co-Authored-By: Claude Opus 5 (1M context) --- apps/web/src/components/Sidebar.tsx | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index afb364321b5..b16b2d38b26 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -1168,18 +1168,10 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: { ) : null}
- {/* While working, the current plan step outranks the branch: - it's the one line that says what the thread is doing. */} - {status === "working" && thread.planProgress ? ( - - {thread.planProgress.step} - {/* Completed count, matching the transcript chip's n/m. */} - - {" "} - {thread.planProgress.completedSteps}/{thread.planProgress.totalSteps} - - - ) : thread.branch ? ( + {/* Always the branch. The plan step used to take this slot while + working, but it truncated to a half-sentence and dropped the + branch, so the row lost its most stable identifier. */} + {thread.branch ? ( {thread.branch} ) : (