You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using Whiteboard to scope a feature in a codebase, and it kept showing all the snippets in split view, even when there were no changes at all.
This doesn’t happen when the diff style is set to Unified. However:
I prefer Split when there are actual changes, and I believe it’s the default.
When both documents are identical, the second pane duplicates the content
and reduces the space available to read it.
A tour can mix unchanged context with changed code, so switching the entire
review to Unified isn’t always ideal.
Could Whiteboard automatically show a single pane when the full base and head
documents are identical, while retaining the selected diff style when they differ?
The existing comparison already reports whether the documents are identical,
so that result could be used to choose the layout automatically.
I’ve opened #1081 with a proposed fix: document snippets automatically use a
single pane when the full base and head documents are identical.
This intentionally checks whole-document equality. An unchanged lens within
an edited file will still use the selected diff style, so it remains split
if Split is selected. Collapsing those unchanged ranges could be a follow-up.
Activity
thesiti92 commentedon Oct 11, 2026
this has been on our radar, will push a fix this week!
sxl613 commentedon Oct 11, 2026
@thesiti92 FWIW I had a go at writing a fix for myself locally, I added a PR here: #1081
Please feel free to close or ignore too! I know the guidelines say to discuss the issue first but I had this written already anyway.
thesiti92 commentedon Oct 11, 2026
ok i cherry picked your commit into a branch with some other cleanup for unchanged files. appreciate the help man, will go out with the next release!
sxl613 commentedon Oct 11, 2026
Amazing, great to hear! Thanks for taking the time to review everything!
Show one pane for peeks with one meaningful side (devdotfast#1088)