From 6f69b4407f1e6e1aa56e46bbb51a0b133374eeae Mon Sep 17 00:00:00 2001 From: Theo Browne Date: Sat, 8 Aug 2026 22:45:21 -0400 Subject: [PATCH] fix(web): sidebar rows show the branch again, not a truncated plan step (#5776) 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 afb364321b56e1990f87c0c641af5b08314624fd..b16b2d38b26818b6e3f1a3e38a8a8658c0fe551e 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} ) : ( -- 2.54.0