Repository navigation
Show Chat research status with the document research card - #341
Conversation
|
Review: Looks good Checked in the real app: #348's head on a fake-GitHub server with the fake Planner and fake Jev, What works:
Findings (none blocking):
Document card (top) and Chat card (bottom) for the same failed request: Frames 0–350 ms after Start, showing the disabled Resume row in frames 2 and 3: |
|
Addressed in 2c98b5e:
|
|
Follow-up in bc36c2e: |
Accepted research offers in Chat now render the document's research card: the same stage words, track, Cancel and Retry, and ready state. Active stages no longer step backwards, and the brief is set in regular weight, clamped to two lines with Show more. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resume waits until a pending link stalls, a cancel the server refuses while the request starts retries briefly and its error clears once the request settles, the stage is tracked in state rather than written during render, and Show more gains a focus ring and a spacing token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bc36c2e to
640c1f6
Compare


Why
After Start, the Chat research card kept its "Research suggestion" heading and showed the raw stage enum ("Research searching", "Research queued"), sometimes stepping backwards, with no progress or Cancel. The document card for the same request already had a designed vocabulary ("Searching sources", track, Cancel/Retry). The two surfaces read like two products. The document card also set the whole multi-line brief in bold.
What changed
ResearchCard(one vocabulary, one motion): stage words, 5-step track, sources found, Cancel while active, Retry when failed, ready title and summary that opens the report. The card aligns with the message text column.forwardStage); terminal and retried stages always show.No server changes.
Screenshots
Searching, before / after

Failed, before / after

Ready, before / after

Phone width

Rendered from the real
Transcriptwith a scripted research store (this instance cannot run web research).Testing
bun test apps/web/src/chat— 162 passbun test packages/editor/src/widgets/research— 30 passbun --bun node_modules/@playwright/test/cli.js test --config e2e/source/playwright.config.ts research-offers.native.ts --timeout 300000— 5 pass (updated for the new vocabulary)bun run ci,bun run types— passe2e/research-offers-ui.e2e.tsready-state assertions updated; relying on CI browser integration (local E2E suspended)🤖 Generated with Claude Code