GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — fix(ui): calm diff word highlights with @pierre/diffs 1.5.1 by Hona · Pull Request #51236 · anomalyco/opencode Conversation
|
| Before | After |
|---|---|
![]() |
![]() |
@pierre/diffs 1.2.10 → 1.5.1 and switches lineDiffType from word-alt to the new word-line, which joins everything from the first to the last changed word.- lineDiffType: "word-alt", + lineDiffType: "word-line",
/* packages/session-ui/src/pierre/index.ts */ --diffs-bg-separator-override: light-dark( color-mix(in lab, var(--diffs-bg) 98%, var(--diffs-mixer)), color-mix(in lab, var(--diffs-bg) 95%, var(--diffs-mixer)) );
FileDiffOptions<T, undefined>, FileOptions<T, undefined>, PreloadMultiFileDiffResult<T, undefined>, PreloadFileDiffResult<T, undefined>.FileDiffHydrationProps is a union, so SSR hydration passes either fileDiff or both oldFile and newFile.persistState, and partial-diff edit changes don't apply; we don't use edit mode. We already pass cacheKeys.tokenizeMaxLineLength: 1 now applies to worker-rendered diffs, so diffs over 500k characters render as plain text, as the perf correctness test already expects. The large-file component test now checks for plain text instead of syntax spans.--diffs-column-number-width / --diffs-column-width for scrolling files with annotations. Our mobile full-width file comments relied on them in wrap mode, so they now derive the gutter from the code grid (container-type: inline-size + margin-inline-start: calc(100% - 100cqi)).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
6b2c175 to
26ed5a8
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.