Skip to content

feat: Add support for review of local changes#109

Open
nimrodkor wants to merge 2 commits intomainfrom
review-local-changes
Open

feat: Add support for review of local changes#109
nimrodkor wants to merge 2 commits intomainfrom
review-local-changes

Conversation

@nimrodkor
Copy link
Copy Markdown
Contributor

@nimrodkor nimrodkor commented Apr 7, 2026

Generated description

Below is a concise technical summary of the changes proposed in this PR:
Enable local diff reviews by wiring ReviewFlow to new LocalDiffPrompt and LocalPullRequestReview, which now feed diffs into PRChat via CheckoutChatRequest overrides and the --local CLI flag to bootstrap the experience. Document local-mode defaults while surfacing git metadata through lib/git so the selector UI can show change summaries and drive the local-review entry point.

TopicDetails
Git info surface Expose git command helpers and change summaries (plus .env defaults) so the selector UI can depict unstaged/staged changes, offer the local-review slot, and keep PullRequestSelectorContainer aware of git state before handing control to the new flow.
Modified files (4)
  • .env.example
  • src/lib/git.ts
  • src/pages/PRSelector/PullRequestSelector.tsx
  • src/pages/PRSelector/PullRequestSelectorContainer.tsx
Latest Contributors(2)
UserCommitDate
yuvalyacobyfeat: Ready to merge (...December 28, 2025
anton.gruebel@gmail.comfeat: add include and ...December 18, 2025
Local review flow Orchestrate the local-review experience by introducing LocalDiffPrompt, LocalPullRequestReview, and the new CLI flag to prime ReviewFlow; feed diffs into PRChat (with overrides defined in models/chat) and signal completion/back-navigation through the existing menu flow so local changes can be reviewed just like a PR.
Modified files (6)
  • src/flows/LocalReview/LocalDiffPrompt.tsx
  • src/flows/LocalReview/LocalPullRequestReview.tsx
  • src/flows/Review/Review.tsx
  • src/index.ts
  • src/models/chat.ts
  • src/pages/PRChat/PRChat.tsx
Latest Contributors(2)
UserCommitDate
nimrod@baz.cochore: Use PR consiste...December 11, 2025
yuvalyacobyfeat: Full pr data imp...December 09, 2025
This pull request is reviewed by Baz. Review like a pro on (Baz).

@nimrodkor nimrodkor requested a review from a team April 7, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant