DAN-67: Make arbitrary branch comparison discoverable - #124
Merged
danielss-dev merged 4 commits intoSep 7, 2026
Merged
Conversation
Make the revision compare dialog near-fullscreen so file list + content are usable, and surface DiffLayoutToggle in the dialog chrome for Unified / Side-by-side.
Raise specificity after .dialog-wide so From/To compare uses the full workbench size for side-by-side 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.
Compare branches was buried in ref context menus, required a local checkout, and seeded the HEAD menu with the first other ref. Add Compare branches… to palette Actions and Branch actions, and share deliberate defaults: current vs upstream, then main/master, then the first available pair. Current stays on the To side; detached HEAD can compare any two available branches without checkout.
Local, remote, and tag context menus remain available while detached. The palette opens after its focus restoration completes. All entry points reuse
CompareRefsDialog→tauri.repoDiffBetween→Repo::diff_between; Commits multi-select Compare is preserved. Update the README, user guide, and planning documents.Linear: DAN-67
Validation:
pnpm --filter ./ui exec tsc --noEmit— passed.pnpm --filter ./ui test— 482 tests passed across 86 files, including 13 focused defaults tests.git diff --check— passed.npx --yes pnpm@9.0.0; a frozen-lockfile install restored the existing Pierre dependency patch.After / Screenshots
Captured from the Strand web demo (
vite --mode demoagainst the in-browseracme-apisample repo) on this PR head. Native Tauri desktop was not available here.Entry points
CompareRefsDialog