Repository navigation
Land leftover worktrees: transcript grouping + sidebar default closed - #772
Conversation
, #769) The right sidebar starts collapsed unless Settings says Open. Remember-last is opt-in so the old always-persist localStorage key does not keep upgraded installs open. Co-authored-by: Cursor <[email protected]>
Consecutive same-run tool/thinking rows collapse to one summary line and the Work Log card leaves the transcript. Plan/Spec/Ask/Teach/Felt become page-blocks; Verbose still expands groups in place. Co-authored-by: Cursor <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8517c40d0b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| return raw.filter((row, index) => { | ||
| if (row.kind !== "group") return true; | ||
| if (groupHasTools(row.group)) return true; | ||
| return opts.working && index === latestGroupIndex; |
There was a problem hiding this comment.
Drop stale thinking groups after later messages
When a thread is still marked working but assistant prose has arrived after its last thinking-only group, latestGroupIndex still points to that group, so this filter retains it and ToolGroupRow labels it Thinking. This commonly leaves a false live-thinking row above the streaming answer; only retain the group when it is also the live tail of the active run.
Useful? React with 👍 / 👎.
| <button | ||
| type="button" | ||
| className={styles.toolGroupToggle} | ||
| aria-expanded={open} | ||
| onClick={onToggle} |
There was a problem hiding this comment.
Ignore group toggles while Verbose forces expansion
When Verbose is enabled, open is always true, but this click still mutates expandedGroups. The click therefore appears to do nothing and can silently pin the group open after Verbose is turned off, contrary to Verbose being a temporary expansion mode; avoid updating per-group expansion while Verbose is active.
Useful? React with 👍 / 👎.
Summary
coder/merge-ci-inspect-refused-false-positive-760instead oforigin/main(Merge worktree lands on the project checkout branch, not origin/main #770).collapseTimeline/ToolGroupRow). The Work Log card leaves the transcript. Plan/Spec/Ask/Teach/Felt become page-blocks. Verbose still expands groups in place (Transcript: group tools and flatten overlay cards #768).Cherry-picked onto
origin/main(7679da0c). Diff is 23 leftover files only — the six #766 topics are not remelted.defaultBranch()is unchanged (that is #770). No nightly.Lands closed issues #767 #768 #769 (implemented on worktrees that never reached
origin/main). Closes #771.Test plan
npm run typechecknpm run test:renderer(1797/1797)agents-panel-default,auto-settle-settings,budget-spend): 43/43Made with Cursor