Skip to content

Diff Checker: wheel scrolling, share links, release the new engine - #9

Merged
fadeltd merged 4 commits into
mainfrom
fix/diff-scroll-share
Oct 26, 2026
Merged

fadeltd merged 4 commits into
mainfrom
fix/diff-scroll-share

Conversation

@fadeltd

@fadeltd fadeltd commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

Added

  • Diff Checker: Link copies a URL that reopens the same comparison; the text stays in the URL fragment and is never uploaded

Fixed

  • The mouse wheel scrolls the side-by-side view
  • Identical lines in larger files are no longer marked as changed
  • Changelog entries moved to [Unreleased], so the new diff engine releases

.cm-mergeView is the one scroller for both panes. Fixed heights inside it kept
it from ever overflowing, so the content was clipped by the package's
overflow:hidden editor wrapper: the wheel did nothing and only the cursor could
move it. Use min-height instead.
CodeMirror's built-in diff gave up on this pair and marked every line changed,
including the identical networking block. The two-stage engine gets it right;
keep it that way.
Both sides are deflated into the URL fragment, which browsers never send to a
server, so there is still no backend. Links are capped at 8 KB encoded, and
decoding stops at 2 MB so a crafted link cannot inflate without bound. The link
is encoded ahead of the click, since Safari refuses clipboard writes after an
await. Opening one replaces the saved diff, says so, and strips the fragment.
#8 added its entries under [0.4.0], which had already been released, so the
release workflow found nothing to ship and the new engine never deployed.
Also record the scroll fix, the highlighting fix and share links.
@fadeltd fadeltd self-assigned this Oct 26, 2026
@fadeltd
fadeltd merged commit d0df1e0 into main Oct 26, 2026
1 check passed
@fadeltd
fadeltd deleted the fix/diff-scroll-share branch October 26, 2026 15:20
@fadeltd fadeltd changed the title Diff: wheel scrolling, share links, and actually release the new engine Diff Checker: wheel scrolling, share links, release the new engine Oct 30, 2026
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