Skip to content

feat(web): collapse agent activity in standing threads - #148

Merged
nullStack65 merged 3 commits into
release/native-0.1.10from
feat/collapse-nonhuman-activity
Nov 20, 2026
Merged

nullStack65 merged 3 commits into
release/native-0.1.10from
feat/collapse-nonhuman-activity

Conversation

@nullStack65

Copy link
Copy Markdown
Owner

Summary

A coordinator thread (CoS and the other standing bots) buries the founder's own messages under agent relays, automations, system notices and the work between them, so it is hard to see where he left off.

  • Standing threads now collapse each consecutive run of that non-human activity into one expandable pill, for example 14 agent updates · click to expand. The founder's messages, guests' messages and the model's replies to them stay in place.
  • Expanding a pill shows exactly the rows it replaced, in order. Nothing is filtered out or deleted.
  • The thread header carries a toggle between Human conversation (the default for a standing thread) and All activity. The choice is remembered per thread in local storage; ordinary threads are unchanged and show everything.
  • Who counts as a person comes from the sender stamp shipped in the "show who sent every message" change (PR Show who sent every message in every thread #112), so the grouping follows the message's recorded sender rather than guessing.

Test plan

  • collapseTimelineActivity unit tests: collapsing runs between human turns, restoring rows exactly on expand, a thread of only activity, mixed-kind summaries, and a human-only thread left untouched.
  • pnpm --filter @t3tools/web typecheck clean.
  • Web unit suite: 5590 passed. One file, useThreadActionMenu.test.ts, fails to load with a vi.mock of react missing createContext; verified failing identically on release/native-0.1.10 before this change.
  • Browser tests for the timeline and header: 73 passed.
  • The full browser project was not run as one command: an unhandled vi.mock rejection aborts the run. The two suites this change touches passed on their own.

Deploy: web

🤖 Generated with Claude Code

A coordinator thread buries the founder's own messages under agent relays,
automations and system notices. Standing threads now collapse each run of
that activity into one expandable pill ("14 agent updates · click to expand")
so his messages and the model's replies to them stay where he left off.
Nothing is dropped: expanding a pill shows exactly the rows it replaced, and
the header toggle switches back to everything, remembered per thread.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

nullStack65 and others added 2 commits November 20, 2026 20:08
…plans

Review of the collapse found four defects. A pill was keyed to its first row,
so a live turn settling or earlier history loading renamed it and dropped both
the expansion and the scroll anchor; it is now keyed to the human message the
run follows. Find and scroll restore land inside a collapsed run, so that run
opens the way a matched turn fold does, and a sender filter no longer
collapses the rows it just kept. Plans, renders and viewed images stay on
screen instead of reading as one update. Expansion resets when the thread
changes, since pill ids repeat across threads.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A secret or a link is answered only on its own card, and every other fold
already leaves those cards on screen. The activity collapse folded them in
with the surrounding agent work, so a standing thread showed a count instead
of the form. They now stay visible.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@nullStack65
nullStack65 merged commit 721b14a into release/native-0.1.10 Nov 20, 2026
2 of 3 checks passed
@nullStack65
nullStack65 deleted the feat/collapse-nonhuman-activity branch November 20, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant