Skip to content

[diffs] External vs Internal Edit Hardening - #1072

Draft
amadeus wants to merge 25 commits into
amadeus/fix-cache-key-bugfrom
amadeus/external-edit-hardening
Draft

[diffs] External vs Internal Edit Hardening#1072
amadeus wants to merge 25 commits into
amadeus/fix-cache-key-bugfrom
amadeus/external-edit-hardening

Conversation

@amadeus

@amadeus amadeus commented Aug 11, 2026

Copy link
Copy Markdown
Member

This is a big PR, but I think it's mostly working to pay down some technical debt from the edit launch.

A big drive of thise PR is to make Files and Diffs follow a similar update/render architecture.

I'll need to write up more later with details about how all of this works.

@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
pierre-docs-diffs Ready Ready Preview Aug 12, 2026 9:54pm
pierre-docs-diffshub Ready Ready Preview Aug 12, 2026 9:54pm
pierre-docs-trees Ready Ready Preview Aug 12, 2026 9:54pm
pierrejs-diff-demo Ready Ready Preview Aug 12, 2026 9:54pm

Request Review

@vercel
vercel Bot temporarily deployed to Preview – pierrejs-diff-demo August 11, 2026 22:32 Inactive
amadeus added 25 commits August 12, 2026 14:52
Also ensure things like hydration and stuff were setup properly in the
new world
Something of a sidequest, but the main thing here was to really harden
how an external vs rendered diff is handled, and ensure especially in
virtualized environments that we don't create really bad layout mismatches.
This was what we've been working towards, and it seems pretty great!
Cache keys were required there
Also found a few areas where FileDiff did dumb shit that could also be
cleaned up
* Added File and Diff normal variants to playground
* Added comment/line selection modes to normal Virtualizers
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