Skip to content

feat(react): add a run-activity slot to Chat - #1615

Queued
blove wants to merge 5 commits into
mainfrom
blove/react-chat-run-activity
Queued

blove wants to merge 5 commits into
mainfrom
blove/react-chat-run-activity

Conversation

@blove

@blove blove commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

What

React Chat gets renderRunActivity, matching Angular's run-activity template: app content that replaces the typing indicator between a submit and the run's first assistant message.

<Chat
  session={session}
  renderRunActivity={({ messages }) => <TurnActivity messages={messages} />}
/>
  • It receives the current run's messages (those after the last user message) and renders in a polite status region after the last message.
  • Once an assistant message arrives it leaves, and that message's reasoning and tool area takes over. A run that continues an existing assistant message never shows it.
  • Returning null keeps the typing indicator. Without the prop nothing changes.

New export: ChatRunActivityContext (type).

Verification

  • npx nx run-many -t test,type-tests,lint -p react passes (8 new tests in run-activity.spec.tsx).
  • npx nx run-many -t build --projects=core,content,react and node scripts/react-parity/verify-packages.mjs pass.
  • node scripts/react-parity/inventory.mjs --check --drift warn passes.

Not checked in a browser: the slot adds an unstyled block region and the app supplies its content.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
threadplane Ready Ready Preview Nov 17, 2026 5:01am UTC

Request Review

@blove
blove enabled auto-merge November 16, 2026 05:44
@blove
blove added this pull request to the merge queue Nov 16, 2026
Any commits made after this event will not be merged.
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 16, 2026
@blove
blove added this pull request to the merge queue Nov 16, 2026
Any commits made after this event will not be merged.
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 17, 2026
@blove
blove enabled auto-merge November 17, 2026 19:12
@blove
blove added this pull request to the merge queue Nov 17, 2026
Any commits made after this event will not be merged.
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 17, 2026
Keeps both sides where #1611 (model picker) and this PR each added a Chat
export: ChatModelPicker and ChatRunActivityContext in chat.tsx, index.ts
and the parity dispositions.
@blove
blove enabled auto-merge November 17, 2026 21:41
@blove
blove added this pull request to the merge queue Nov 17, 2026
Any commits made after this event will not be merged.

This branch was successfully deployed

1 active (outdated) deployment
Preview – threadplane — deb5cf41 Deployed Nov 17, 2026 by vercel[bot]
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