Skip to content

Show open diff when turn file summary is unavailable#323

Merged
BunsDev merged 1 commit into
mainfrom
okcode/fix-missing-fit-button
Apr 7, 2026
Merged

Show open diff when turn file summary is unavailable#323
BunsDev merged 1 commit into
mainfrom
okcode/fix-missing-fit-button

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 7, 2026

Summary

  • Always render the turn diff card when diff metadata exists, even if the file summary is empty.
  • Add an explicit Open diff action and fallback copy for turns where changed files cannot be summarized.
  • Preserve the existing changed-files tree and stats when file data is available.
  • Add coverage for both the populated-summary and empty-summary cases.

Testing

  • bun fmt Not run
  • bun lint Not run
  • bun typecheck Not run
  • Added/updated MessagesTimeline tests for turn diff actions and fallback text.

- Keep turn diff controls visible even when file summaries are empty
- Add fallback copy and tests for the empty-summary state
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 7, 2026

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

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 7, 2026 3:07am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 7, 2026 3:07am

@github-actions github-actions Bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 7, 2026
@BunsDev BunsDev merged commit 912e572 into main Apr 7, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant