Skip to content

Default new diff files to collapsed#8

Merged
BunsDev merged 1 commit into
mainfrom
okcode/default-collapse-diffs
Mar 27, 2026
Merged

Default new diff files to collapsed#8
BunsDev merged 1 commit into
mainfrom
okcode/default-collapse-diffs

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Mar 27, 2026

Summary

  • Default newly discovered diff files to start collapsed instead of expanded.
  • Update the diff review state default to match the new UX behavior.
  • Adjust tests to reflect the collapsed initial state and verify the no-op expand path still preserves object identity.

Testing

  • Not run (PR content only).
  • Existing unit coverage updated in apps/web/src/lib/diffFileReviewState.test.ts.

- Make unrevealed diff files start collapsed in the review state
- Update the DiffPanel fallback and tests to match the new default
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 27, 2026

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

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Mar 27, 2026 6:55pm

@BunsDev BunsDev merged commit 63ef135 into main Mar 27, 2026
7 of 8 checks passed
@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Mar 27, 2026
@BunsDev BunsDev deleted the okcode/default-collapse-diffs branch March 28, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 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