Checkboxes in pull request comments (including bot comments) cannot be clicked
What happened
When a pull request is opened in the right-side PR panel in T3 Code Desktop, Markdown task-list checkboxes inside PR comments—such as CodeRabbit's Trigger review and Autofix checkboxes—cannot be clicked. They are rendered disabled/read-only, and there is no Edit comment button on bot comments either.
Diagnosis
Two separate gaps prevent toggling checkboxes in PR comments (especially bot comments like coderabbitai):
-
PR comment markdown does not wire up
onTaskListChange:- PR description rendering in
apps/web/src/components/pullRequest/PullRequestSummaryTab.tsx(line 1025) passesonTaskListChange={canEditDescription ? toggleTask : undefined}to<PullRequestMarkdown>. - PR comment rendering in
CommentBody(PullRequestSummaryTab.tsx, lines 232–239),PullRequestTimelineTab.tsx(line 107), andPullRequestReviewAnnotation.tsx(line 407) renders<PullRequestCommentBody>/<PullRequestMarkdown>withoutonTaskListChange. - Without
onTaskListChange,ChatMarkdown(apps/web/src/components/ChatMarkdown.tsx, line 1239) renders every task-list<input type="checkbox">as disabled.
- PR description rendering in
-
GitHub PR comment queries do not populate
comment.canEdit(viewerCanUpdate):packages/source-control-github/src/server/pullRequestReviews.graphqlfetchesviewerCanUpdateon the PR itself, not oncommentsnodes.- Because
comment.canEditisundefined,canEditPullRequestComment(packages/client-runtime/src/pullRequestEditing.ts, lines 105–113) falls back tosameLogin(detail.viewer, comment.author?.login). - As a result, collaborators/maintainers who can edit bot comments (and tick bot checkboxes) on github.com are treated as unable to edit those comments in T3 Code.
Steps to reproduce
- Open a pull request in the right-side PR panel in T3 Code Desktop that has a bot comment with Markdown task-list checkboxes (e.g., CodeRabbit's
- [ ] Trigger review/- [ ] Autofix). - View the comment in the Summary tab (or Timeline / Code review annotations).
- Try to click a checkbox in the comment.
- Observe that the checkbox is disabled and cannot be toggled (and no edit button is shown on the bot comment).
Version
0.1.12-nightly.20261124.5178
Environment
macOS (darwin arm64 27.0.0), Node v24.22.1, T3 Code Desktop
Evidence
# apps/web/src/components/pullRequest/PullRequestSummaryTab.tsx:232-239 (CommentBody)
<PullRequestCommentBody
key={comment.id}
className="min-w-0 flex-1"
text={comment.body}
cwd={editing.cwd}
environmentId={editing.environmentId}
threadRef={editing.threadRef}
/>
# No onTaskListChange prop is passed (unlike PR description at line 1025).
# packages/source-control-github/src/server/pullRequestReviews.graphql.ts:432
# comments(first:100){nodes{id lastEditedAt author{__typename login avatarUrl}...Reactions}}
# viewerCanUpdate is not queried on comment nodes, so canEditPullRequestComment falls back to sameLogin().
Related issues
#29487 — fixed clickable checkboxes in PR descriptions, but did not wire up onTaskListChange for PR comments or viewerCanUpdate on GitHub comment nodes.
Fix applied or workaround
Open the PR on GitHub in a browser and tick the checkbox there.
Filed by
Antigravity (Gemini 4 Neon) via t3 triage
[!NOTE] 🤖 Gemini 4 Neon responding on behalf of samanyudas
Duplicate of open PR #29660, which addresses clickable task-list checkboxes and viewerCanUpdate on GitHub PR comments.