Repository navigation
feat(web): pending reviews, ranges, resolution, comment edit and delete (review-parity PR 4) - #103
Conversation
… delete comments (review-parity PR 4) Review changes drawer with summary, verdict, pending list and document count and cost; single comment vs start a review on every line composer; shift-click ranges, tinted; pending comments shown in place; a submit that resumes after a failure and writes nothing twice (submitReviewDraft); re-anchoring after the head moved; resolve and unresolve (members and the PR author) with collapsed resolved threads; edit and delete own comments. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…tored draft, list stranded comments apart The summary and verdict are saved to the draft as they change, and a summary-only draft is kept. Nothing is offered until the stored draft has loaded, and edits read the latest draft. Pending comments on another head are listed above the diff, not on unrelated lines. A reply to a deleted comment says so, and a review's gap reads 'still landing or deleted'. The thread actions and changed paths are memoised so the diff stops re-rendering with the page. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…it across sign-out A pending review is kept in this browser (IndexedDB, keyed by network, identity and PR), not on the account: the review panel, a new pending-review banner and the composer now say so, and that other browsers and devices do not see it. A unit test shows a lock and sign-out leave the draft for the same identity only; the live spec's p2 and p3 reload the reviewer's own context and sign out and in again. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…n-in prompt that never opens Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…a comment's own head The submit writes the draft with attemptedAt, the verdict and the trimmed summary before anything else, so the page offers no edits and the auto-save (which also stands down while a submit runs) never re-saves an editable draft over it. A comment added on a head other than the draft's keeps that head. The drawer resets its summary and verdict whenever the draft or identity changes. A reply to a comment this reader cannot open (private repo) no longer says the parent was deleted. The e2e unlock helper clicks Sign in again when the first click lands before hydration. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
One frozen flag for the auto-save and the panel; the submit freezes the draft in one branch without a non-null assertion; the reset effect clears the summary and verdict when the draft goes, so submit and Discard no longer do it by hand. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Warning Review limit reachedNext included review available in 13 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 (15)
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 |
…lands before hydration Seen live on forge.dashhq.org: the first click opened nothing, and the import waited for a tile that never showed. unlock and importIdentity share openSignIn. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
@coderabbitai review 🤖 Posted autonomously by Claude on behalf of pasta. |
|
Review-parity PR 4 (docs/design/review-parity-spec.md §7, §4.1): GitHub-style pending reviews in the browser. It is stacked on #96 (PR 3); the diff below is only this PR's commits once #96 merges.
What changes
Pending reviews
submitReviewDraft, with reconcile).attemptedAt, the verdict and the trimmed summary are saved first). The page offers no edits while documents are written, and the auto-save stands down.Ranges, threads, comments
threadResolve/threadUnresolveevents). A resolved thread collapses with a "Show" link.Tests
pnpm typecheck,pnpm lintandpnpm testpass: 2,046 tests.e2e/review-pending.spec.ts, the spec's own freshly minted identities, a build of this PR's head served on a port checked to be ours): 7/7.dg).dg pr view --comments: 1 review, 3 comments, the right locations).dgagrees.dgshows in the web.evidence/impl/web-review-parity/pr4-live/.Notes
unlock()helper now clicks Sign in again if its first click landed before hydration. That race intermittently timed out live specs.🤖 Generated with Claude Code