Skip to content

Temporary screenshot upload for upstream PR 12945 - #71

Closed
Bil0000 wants to merge 2139 commits into
mainfrom
combine-review-comment-actions
Closed

Bil0000 wants to merge 2139 commits into
mainfrom
combine-review-comment-actions

Conversation

@Bil0000

@Bil0000 Bil0000 commented Sep 21, 2026

Copy link
Copy Markdown
Owner

Problem

The Code tab floated two controls in the same corner: a Review pill and a round comment bubble. They looked alike, sat one beside the other, and each opened its own box with its own textarea and its own buttons. The offer read as the same thing twice, and neither label told you which box you were about to get.

Before / after

State Before After
Closed composer Before: Closed composer After: Closed composer
Comment mode Before: Comment mode After: Comment mode
Review mode Before: Review mode After: Review mode

Pending line comment

After: one pending line comment opens Review mode

What changed

One floating composer now holds both.

  • One trigger. It reads Comment normally, and flips to Review with a count badge while line comments are pending.
  • One popover, two modes. A segmented Comment / Review toggle switches panes where the host offers both. Where it offers only one, the toggle is replaced by a plain title.
  • Opens on the mode with work in it. Line comments pending means the review pane; otherwise the comment box.
  • Drafts stay separate. A review summary and a pull request comment go to different endpoints, so merging the two texts would send one as the other.

The composer also moves up from the Code tab to the detail panel, so a verdict can be sent from Summary and Timeline too, not only from the diff. PullRequestCommentComposer and PullRequestReviewBar keep their behavior as the two panes and are renamed PullRequestCommentForm and PullRequestReviewForm.

Verification

  • tsc --noEmit for apps/web is clean.
  • vp test run PullRequestDetailPanel.test.tsx pullRequestReviewStore.test.ts — 32 passed.
  • Walked the flow in a real client against a copy of live data on PR fix(web): allow text selection when renaming threads pingdotgg/t3code#12935: comment pane, review pane, adding a line comment, the trigger flipping to Review 1, and the composer opening straight into the review with 1 comment pending.

Scope and limits

  • Web only. Mobile drives review through its own full-screen sheet and never had the two crowded buttons, so nothing there changes.
  • The two panes are unchanged apart from losing their own popover frames, so every provider keeps the verdicts and actions it had.

Implemented with Claude Opus 5 in T3 Code, through the Claude Code harness.

Summary by CodeRabbit

  • New Features

    • Added a unified pull request composer for comments and reviews.
    • Added a floating comment form with close/reopen actions, keyboard submission, and submission feedback.
    • Review and comment modes can be switched when both are available.
    • Pull request details refresh after submitting a review.
    • Review forms now support focusing the summary field and consistently display available actions.
  • Improvements

    • Simplified the code view by removing the floating review overlay and using a standard toolbar layout.

shivamhwp and others added 30 commits September 15, 2026 21:37
…dotgg#11906)

Co-authored-by: T3 Code Test <t3code-test@example.com>
…gg#11381)

Co-authored-by: yashranaway <yashranaway@users.noreply.github.com>
…ngdotgg#8309)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…tgg#11958)

Co-authored-by: Antony <tnybyn@gmail.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
…folders (pingdotgg#12008)

The health probe launched the PyInstaller ACP binary every minute and force killed it, leaving about 1 GB of _MEI files per run. The probe now resolves the install on disk without spawning. Each ACP process gets its own temp directory under the profile that is removed when the runtime closes, and the driver sweeps the profile temp root on create.

Continues pingdotgg#11657 by Vita Skacel. Owned temp directory approach from pingdotgg#9626 by ariszz.

Co-authored-by: Vita Skacel <skacel.vita@gmail.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…ingdotgg#12002)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
juliusmarminge and others added 27 commits September 20, 2026 16:44
…g#12808)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…off (pingdotgg#12807)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…s page (pingdotgg#12536)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…2243)

Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
…2805)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
pingdotgg#12833)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…nch (pingdotgg#12623)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…12843)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
The Code tab floated two controls in the same corner: a Review pill and a
round comment bubble. They looked alike, sat one beside the other, and each
opened its own box, so the offer read as the same thing twice.

One floating composer now holds both. It opens on the mode with work waiting
in it — the review when line comments are pending, the comment box otherwise —
and a segmented toggle switches between them where the host offers both. The
drafts stay separate because they go to separate places: a review summary is
not a pull request comment.

The composer moves up to the detail panel, so a verdict can be sent from any
tab instead of only from the diff. PullRequestCommentComposer and
PullRequestReviewBar keep their behavior as the two panes, renamed
PullRequestCommentForm and PullRequestReviewForm.
Switching Comment/Review unmounted the pane being left. That threw away a
comment draft on every toggle, and reset the submit guard of a form whose
request was still running, which was enough to send the same review twice.

The inactive pane is hidden instead of unmounted, so both keep their own
state and their own in-flight guard. Each pane owns a textarea ref now, and
the popover focuses whichever one it opens on.
@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Sep 21, 2026
@Bil0000 Bil0000 closed this Sep 21, 2026
@Bil0000

Bil0000 commented Sep 21, 2026

Copy link
Copy Markdown
Owner Author

Refreshed evidence for upstream PR 12945 (icon-only trigger).

After: Closed composer
After: Comment mode
After: Review mode
After: one pending line comment opens Review mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.