Repository navigation
feat(web): open PRs, inline comments, the review fold, and forks - #58
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… comments The review-parity contract (#56) stores anchors in comment fields only: the forge-anchor body block and the readAnchor adapter are gone. Comments are read with anchorOf (ranges placed under their last line, file-level anchors listed as File comments), posted with postComment, and a review's own comments nest under it in the timeline (groupReviewComments). Dismissed reviews drop out of the review summary as they do from the fold. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Warning Review limit reachedNext included review available in 27 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (30)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Sep 27, 2026
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.
What
Web launch UX "C1": open pull requests from the browser, review them inline, see the review fold, and fork repos. forge-v2 only. The browser merge engine is a separate PR (C2).
/repo/pulls/new): pick the base branch and a source (this repo or one of its forks, then a branch). The diff is shown before you submit.createPatchwrites thepatchexactly as forge-corepatch_propsdoes, and numbering sharescreateNumbered(renumbers on a squat) with issues. A signed-out draft survives the sign-in sheet.contrast.test.ts. Preferences live in Settings, with an in-memory fallback when localStorage is unavailable.path/line/side/commitOidthroughpostComment/anchorData, andtoCommentViewreads them back withanchorOf.<!-- forge-anchor -->body block is gone, as the spec requires.startLinerange sits under its last line. File-level anchors are listed as "File comments", and threads whose line is off screen are listed above the diff. Threads on an older head or a vanished line collapse into "n comments on an older version".reviewId) nest under their review in the timeline viagroupReviewComments, which only groups the reviewer's own comments. When fewer than the announcedcommentCounthave landed, the timeline says "n of m comments have landed".countApprovalsresult shown exactly (counted approvals by role, change requests), plus every other reviewer's standing: stale on an older head, doesn't count (not a member), or author approval. Dismissed reviews neither count nor show, matching the fold.dg fork/fork.rs. It creates the repo withforkOf, adds the maintainer and config, writes the pack manifests by reference to the parent's packs (platform://…; s3 URIs dropped, 8 × 300 limits), and copies the refs. It is resumable through the creation journal, shows "forked from" in the header, and runs a name check before signing.writeRefUpdate,refNameHash,refUpdateType) are shared with C2.Checks
pnpm typecheck,pnpm lint,pnpm test(1158 passed) andpnpm buildall pass.e2e/v2-pulls.spec.tsc1–c6 passed 6/6 against the new forge-collab contract. It creates a repo, forks the fixture, opens a PR from the fork, keeps a signed-out draft, has a writer comment inline and request changes, has the owner approve (fold, split diff, palette, mobile layout), and runs axe. c7 (the browser merge) comes with C2.🤖 Generated with Claude Code