Repository navigation
Conversation
Phones get a DOM renderer instead of Monaco's multi-diff editor: native scrolling, selection and find, with diffr's folds, bands and pseudocode summaries driven by the same session state and structural helpers. Agent-Session: 5eb4067a-b2f6-4508-a6dd-0471ff2c14d1 Agent-Session: 429958d8-68f3-4f68-bd3b-a8371e7feb8e Agent-Session: c4502e33-93da-4505-ac5c-2015d3e90139
This was referenced Oct 12, 2026
This branch has not been 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.
Summary
On phones, draw the comparison as plain unified rows instead of Monaco's diff editor, keeping diffr's folds and summaries. Stacks on #1093; merge it first.
reviewUnifiedRows.tsturns a file's structural diff into the rows a reader sees: lines, and the bands diffr's collapsed folds leave in their place, with pseudocode summaries as the band's detail. It reads the same rows, gaps and foldables the diff editor uses.reviewSyntaxRoles.ts, extracted fromreviewStructuralSyntax.tsso both views share them.Evidence
v5.3.0...v5.4.0(217 files), cold loads, three runs each:Merge Danger
Door: two-way; revert the commit.
Blast Radius: phone-width viewports in diffr web only; desktop still uses Monaco. Phone users lose the features listed as not ported.