fix(web): sidebar rows show the branch again, not a truncated plan step - #5776
Conversation
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) <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Approved 57a0580 This is a simple UI fix that removes conditional rendering logic to always show the branch name in sidebar rows instead of conditionally showing plan step progress. The change is self-contained, affects only presentation, and the author is the primary editor of this code. You can customize Macroscope's approvability policy. Learn more. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
## What's Changed * chore: vouch gfsaaser24 by @t3dotgg in pingdotgg/t3code#5761 * chore: vouch saphid by @t3dotgg in pingdotgg/t3code#5763 * fix(server): stop Codex threads with queued follow-ups by @t3dotgg in pingdotgg/t3code#5762 * fix(web): usage page loses the cost quality panel, gains a back button by @t3dotgg in pingdotgg/t3code#5756 * feat(server): agents can now open the images you paste into chat by @t3dotgg in pingdotgg/t3code#5757 * fix(web): pinned reorder no longer reshuffles while writes land by @t3dotgg in pingdotgg/t3code#5767 * feat(web): overhaul project settings into a real settings page by @t3dotgg in pingdotgg/t3code#5768 * fix(web): usage totals no longer jump while devices report in by @t3dotgg in pingdotgg/t3code#5772 * fix(server): settle no longer leaves monitors and dev servers running by @t3dotgg in pingdotgg/t3code#5774 * feat: pick worktree or current checkout per project by @t3dotgg in pingdotgg/t3code#5766 * fix(web): sidebar rows show the branch again, not a truncated plan step by @t3dotgg in pingdotgg/t3code#5776 * feat(server): vp run migrate-dev-db seeds worktree dev dbs with real data by @t3dotgg in pingdotgg/t3code#5773 * feat(web): keep unsent drafts one click away in the sidebar by @t3dotgg in pingdotgg/t3code#5777 **Full Changelog**: pingdotgg/t3code@v0.0.33-nightly.20260809.1039...v0.0.33-nightly.20260809.1040 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.33-nightly.20260809.1040
Some sidebar rows stopped showing the branch name and showed a random-looking sentence fragment instead. Gross.
That text was the agent's current plan step. #5558 gave it the branch's slot on any working row, and #5672 made that sidebar the default, so it showed up everywhere at once. Two problems with it:
n/mprogress counter sat inside the same truncating span, so it got cut off too.The row gave up its most stable identifier and got nothing readable back. Now the subtitle is always the branch.
thread.planProgressis still on the wire and the chat view still derives its own step label from activities, so the in-chat working row is unchanged. The sidebar was the only reader of the server field, sogetThreadPlanProgressis now dead weight in the projection snapshot query. Left it alone here since removing it touches the contract.Made with Claude Opus 5 (1M context) on Claude Code.
Note
Low Risk
Single conditional UI change in the sidebar with no auth, data, or API contract changes in this diff.
Overview
Sidebar card rows no longer swap the subtitle for the agent’s current plan step while a thread is Working. That slot always shows
thread.branchagain (or stays empty when there is no branch).Previously, working rows prioritized
thread.planProgress(step text pluscompletedSteps/totalSteps), which often truncated mid-sentence and hid the branch—the row’s most stable identifier. In-chat working UI still derives its step label from activities; only the sidebar read of serverplanProgressis removed here.Reviewed by Cursor Bugbot for commit 57a0580. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Fix sidebar thread rows to show branch instead of truncated plan step
In Sidebar.tsx, the secondary metadata line in
SidebarThreadRowpreviously swapped to showing the current plan step and completed/total counters while a thread was inworkingstatus. It now unconditionally showsthread.branchwhen available, removing the plan progress display entirely.Macroscope summarized 57a0580.