Collapse chat activity into one expandable line

Merged
CO
2mo ago
+154-6

Group reasoning and tool steps while keeping responses and edit controls visible. Scope disclosure styling to each row and refresh translation references.


[!NOTE]
Low Risk
Desktop chat UI presentation only; no auth, sync, or data-path changes.

Overview
Assistant chat messages no longer render reasoning and tool steps inline with the reply. Reasoning (when non-empty) and most tool parts are grouped into a single collapsible Activity block at the top of the bubble, with a spinning icon while any step is still streaming.

Text and user-visible edits stay in the main flow: tool-edit_memo, tool-edit_summary, and tool-update_prompt_template are excluded from Activity so memo/summary/prompt changes remain visible without expanding.

Disclosure open-state styling in shared.tsx switches from Tailwind group-open to [open] attribute selectors on the <details> element. Locale catalogs only add a source reference for the reused Activity string.

Reviewed by Cursor Bugbot for commit 7b20c85bae3ab9255d84d9c3b752b955f0b2d95b. Bugbot is set up for automated code reviews on this repo. Configure here.