authorgravatar for me@t3.ggTheo Browne <me@t3.gg> 2026-08-08 22:45:21-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-08 19:45:21-07:00
log6f69b4407f1e6e1aa56e46bbb51a0b133374eeae
tree6cbafbad8044a4abe75a65c27cc5ff1d54e6c4a6
parent6dbffa022d9e44091d0edc496181011e3acfb695
signature Signed by PGP key B5690EEEBB952194

fix(web): sidebar rows show the branch again, not a truncated plan step (#5776)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

1 files changed, 4 insertions(+), 12 deletions(-)

apps/web/src/components/Sidebar.tsx+4-12
...@@ -1168,18 +1168,10 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {...@@ -1168,18 +1168,10 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
1168 ) : null}1168 ) : null}
1169 </div>1169 </div>
1170 <div className="mt-0.5 flex min-w-0 items-center gap-1.5 text-secondary-label text-xs">1170 <div className="mt-0.5 flex min-w-0 items-center gap-1.5 text-secondary-label text-xs">
1171 {/* While working, the current plan step outranks the branch:1171 {/* Always the branch. The plan step used to take this slot while
1172 it's the one line that says what the thread is doing. */}1172 working, but it truncated to a half-sentence and dropped the
1173 {status === "working" && thread.planProgress ? (1173 branch, so the row lost its most stable identifier. */}
1174 <span className="min-w-0 flex-1 truncate whitespace-nowrap">1174 {thread.branch ? (
1175 {thread.planProgress.step}
1176 {/* Completed count, matching the transcript chip's n/m. */}
1177 <span className="text-icon-muted tabular-nums">
1178 {" "}
1179 {thread.planProgress.completedSteps}/{thread.planProgress.totalSteps}
1180 </span>
1181 </span>
1182 ) : thread.branch ? (
1183 <span className="min-w-0 flex-1 truncate whitespace-nowrap">{thread.branch}</span>1175 <span className="min-w-0 flex-1 truncate whitespace-nowrap">{thread.branch}</span>
1184 ) : (1176 ) : (
1185 <span className="flex-1" />1177 <span className="flex-1" />