feat(review): diff display options — hide whitespace + quick-settings popover#631
Merged
backnotprop merged 2 commits intomainfrom Apr 30, 2026
Merged
feat(review): diff display options — hide whitespace + quick-settings popover#631backnotprop merged 2 commits intomainfrom
backnotprop merged 2 commits intomainfrom
Conversation
Adds a "Hide Whitespace" toggle that suppresses whitespace-only changes in diffs, matching GitHub's ?w=1 behavior. Uses parseDiffFromFile with ignoreWhitespace when full file contents are available. Includes demo data with a whitespace-heavy file (settings.ts) and a vite dev server plugin to serve file contents in demo mode. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds a gear icon to the file header that opens a compact Radix popover with all diff display options (style, overflow, indicators, inline diff, line numbers, background, hide whitespace). Provides quick access to settings without opening the full settings dialog. Exports option constants from Settings.tsx for reuse. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Thanks for this! I picked up plannotator on recommendation of a friend yesterday, and literally mentioned how I'd love to use difftastic with it for the ability to hide whitespace changes. And boom! The next day you build just that! ❤️ |
Owner
Author
|
It’s now released!!
…On Thu, Apr 30, 2026 at 3:34 AM Martijn Gerkes ***@***.***> wrote:
*zeroZshadow* left a comment (backnotprop/plannotator#631)
<#631 (comment)>
Thanks for this! I picked up plannotator on recommendation of a friend
yesterday, and literally mentioned how I'd love to use difftastic with it
for the ability to hide whitespace changes. And boom! The next day you
build just that! ❤️
—
Reply to this email directly, view it on GitHub
<#631 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXIUHM2D6Q3EXZ5V5RRRDT4YMT2JAVCNFSM6AAAAACYLYBXH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNJRG4YTINZXHA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Owner
Author
|
Ahh.. patching ill release soon with the next set of code review changes. wrapping up on a single view for viewing all diffs |
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
?w=1/git diff -w). UsesparseDiffFromFilewithignoreWhitespacefrom@pierre/diffswhen full file contents are available. Default: off (show whitespace).src/config/settings.ts) with re-indentation and alignment changes, plus a vite dev server plugin to serve file contents in demo mode.Test plan
bun run --cwd apps/review buildpassesbun run dev:review, navigate tosrc/config/settings.ts🤖 Generated with Claude Code