Repository navigation
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Ya6qvLmxrim1dK1KjEpJ7
Pure helpers for the transcript rows: what a tool row is (for its icon), "Ran" or "Running" for a command line, and the one-line receipt for an approval a person answered or that closed unanswered. "by you" is claimed only when main recorded the answer as given in this window. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Ya6qvLmxrim1dK1KjEpJ7
Each turn is one element. Its status is a small inline line with no rule, a toggle when the turn has work, with a dot while the turn is live (steady and amber while it waits on the person). Thinking, tool, route and receipt rows share one 34 px row with a 22 px icon tile; tool glyph characters are icons by kind, and a command line reads Ran or Running. An approval a person answered, or one that closed unanswered, is a receipt row that opens to the request. The waiting approval and the question card keep their card until the request panel. Focus after an answer still lands on the answer word, which now sits in the row beside its toggle. Reply actions fade out on older turns until the turn is hovered or holds focus. A streaming reply ends in a pulsing dot. Jump to latest is a square icon button with the same accessible name. Existing test ids, roles, names and decision words are unchanged. The 938 px column stays until the composer PR. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Ya6qvLmxrim1dK1KjEpJ7
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage-agent
View coverage of the 8 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 3 of 5 for the chat and prompts refresh. Stacked on #528 (menus), which is stacked on #527 (foundation). Draft: nothing here should merge before Val has looked at it.
Design:
docs/superpowers/specs/2026-11-15-chat-prompts-refresh-design.md, section "3. Transcript". Plan:docs/superpowers/plans/2026-11-16-chat-refresh-transcript.md.What changes
TurnContentwraps the message, status line, work and reply actions in one.turn, so spacing, hover and focus can be scoped to a turn. The column rule moves to the wrapper's children at the same place in the stylesheet, so the cascade is unchanged.›_,✎,◫,✓,✕) are icons by kind. A command line reads "Ran" or "Running" before it.Calls for Val to check
What does not change
Every existing
data-testid, role, accessible name and decision word. Folding, the focus hand-off to the turn's toggle, scroll following and the jump logic. The tool row'saria-label.Tests
toolKind,toolVerbandansweredApprovalinsrc/shared(two new tests).e2e/transcript-rows.spec.ts(4 tests): saved rows and receipts including an uncertain delivery after a restart; reply actions on hover and keyboard focus; the jump button; a live turn through an approval.layout.spec.ts: the column is measured on the turn header's content box; the label is 13 px with no bottom border.keyboard-answers.spec.ts: the keyboard jump test adds turns until the transcript overflows, because a finished turn is shorter now.scripts/test/radius-scale.test.mjs: two more dots instyles.css(the status dot and the streaming dot).Verification
This session cannot install dependencies, so
pnpm build, the unit suite and the Electron specs first run here in CI. Run in the session: the two new unit tests through a type-stripped build (8 of 8 pass in those two files), the repository script tests (232 of 234; one needs the npm registry and fails the same way onmain, one is skipped), a type check of the changed renderer files against stand-in React declarations, and a rendered check of the new markup against the real stylesheets in Chrome for the jev, graphite and coven themes.Generated by Claude Code