fix(web): restore composer expansion after tool calls - #9782
Conversation
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. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9de53b8. Configure here.
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a narrowly scoped UI bug fix that restores desktop composer expansion after tool output is collapsed at the timeline end, while preserving mobile behavior and DOM focus. Focused tests cover the relevant timeline and composer states, with no schema, security, infrastructure, or static-analysis changes. You can add or adjust custom eligibility rules. Learn more. |
30ee173 to
387caec
Compare

Opening tool calls could collapse the composer and leave it small after scrolling back to the bottom. The bottom handler cleared scroll collapse but left blur collapse active.
Restore the expanded desktop composer without taking keyboard focus. Closing tool output also restores it when the resized timeline is at the bottom. Reading history and the phone composer keep their current behavior.
Verification
Created with GPT-6 Astra (preview) in Codex.