Skip to content

agent: Improve compaction UI - #58409

Merged
bennetbo merged 11 commits into
mainfrom
compaction-ui
Jun 3, 2026
Merged

agent: Improve compaction UI#58409
bennetbo merged 11 commits into
mainfrom
compaction-ui

Conversation

@bennetbo

@bennetbo bennetbo commented Jun 3, 2026

Copy link
Copy Markdown
Member

Reworked the UI so we can actually see the compaction output. Design pass TBD

Screen.Recording.2026-06-03.at.12.25.25.mov

Release Notes:

  • N/A

bennetbo and others added 9 commits June 2, 2026 12:05
Co-authored-by: Gaauwe Rombouts <mail@grombouts.nl>
Co-authored-by: Gaauwe Rombouts <mail@grombouts.nl>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
While compaction runs, show "Compacting thread…" with a spinner, reusing the existing "Context Compacted" entry UI. Both during and after compaction a dropdown lets you expand the summary and watch it stream in; provider-native compaction has no summary and shows no dropdown. Cancelling the turn mid-compaction now removes the in-progress entry so the UI stops showing the spinner.
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 3, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 3, 2026
@bennetbo
bennetbo requested a review from rtfeldman June 3, 2026 11:16
@bennetbo
bennetbo added this pull request to the merge queue Jun 3, 2026
Merged via the queue into main with commit 176622a Jun 3, 2026
32 checks passed
@bennetbo
bennetbo deleted the compaction-ui branch June 3, 2026 12:21
TomPlanche pushed a commit to TomPlanche/zed that referenced this pull request Jun 8, 2026
Reworked the UI so we can actually see the compaction output. Design
pass TBD


https://github.com/user-attachments/assets/89108398-476b-493f-a5eb-d20159fc6830



Release Notes:

- N/A

---------

Co-authored-by: Gaauwe Rombouts <mail@grombouts.nl>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
Reworked the UI so we can actually see the compaction output. Design
pass TBD


https://github.com/user-attachments/assets/89108398-476b-493f-a5eb-d20159fc6830



Release Notes:

- N/A

---------

Co-authored-by: Gaauwe Rombouts <mail@grombouts.nl>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
Reworked the UI so we can actually see the compaction output. Design
pass TBD


https://github.com/user-attachments/assets/89108398-476b-493f-a5eb-d20159fc6830



Release Notes:

- N/A

---------

Co-authored-by: Gaauwe Rombouts <mail@grombouts.nl>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants