Skip to content

feat: select captured diff comparisons - #104

Merged
flexdinesh merged 2 commits into
mainfrom
explore/local-diff-scopes
Oct 23, 2026
Merged

flexdinesh merged 2 commits into
mainfrom
explore/local-diff-scopes

Conversation

@flexdinesh

Copy link
Copy Markdown
Owner
  • Capture Uncommitted (All/Staged/Unstaged), Branch changes, and Combined comparisons for branch checkouts. Shared endpoint rules isolate committed content from index/worktree state; other source types declare their supported comparison semantics.
  • Store explicit comparison kinds and expose scope summaries through the shared API. Normalize legacy captures on reads without changing stored bytes or replay identity. Keep schema 11/protocol 4; deploy the server before new collectors.
  • Add captured comparison selection with URL/account-stream preferences, captured baselines, unavailable/empty explanations, and responsive controls. Scope history preserves the selected snapshot and drafts; comments save against their original comparison.
  • Preserve collection limits and divide the existing preview budget across scopes, allowing earlier preview truncation. Count distinct changed paths across scopes so cancelling edits remain visible. Commit selection, staging mutations, and GitHub ingestion remain deferred.
  • Validation: mise run check and pre-push mise run check:push passed, including the full Go race suite, 111 browser tests, and 66 frontend unit tests. Boundary tests cover local/remote parity, legacy replay, and stored reviews without Git or a checkout. Rendered light/dark desktop/mobile, keyboard, and scrollbar/gutter geometry checks passed.

@flexdinesh
flexdinesh marked this pull request as ready for review October 23, 2026 11:30
@flexdinesh
flexdinesh merged commit db33529 into main Oct 23, 2026
2 checks passed
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