Skip to content

Checkboxes in pull request comments (including bot comments) cannot be clicked #42315

Backlog

Description

@samanyudas

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):

  1. PR comment markdown does not wire up onTaskListChange:

    • PR description rendering in apps/web/src/components/pullRequest/PullRequestSummaryTab.tsx (line 1025) passes onTaskListChange={canEditDescription ? toggleTask : undefined} to <PullRequestMarkdown>.
    • PR comment rendering in CommentBody (PullRequestSummaryTab.tsx, lines 232–239), PullRequestTimelineTab.tsx (line 107), and PullRequestReviewAnnotation.tsx (line 407) renders <PullRequestCommentBody> / <PullRequestMarkdown> without onTaskListChange.
    • Without onTaskListChange, ChatMarkdown (apps/web/src/components/ChatMarkdown.tsx, line 1239) renders every task-list <input type="checkbox"> as disabled.
  2. GitHub PR comment queries do not populate comment.canEdit (viewerCanUpdate):

    • packages/source-control-github/src/server/pullRequestReviews.graphql fetches viewerCanUpdate on the PR itself, not on comments nodes.
    • Because comment.canEdit is undefined, canEditPullRequestComment (packages/client-runtime/src/pullRequestEditing.ts, lines 105–113) falls back to sameLogin(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

  1. 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).
  2. View the comment in the Summary tab (or Timeline / Code review annotations).
  3. Try to click a checkbox in the comment.
  4. 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

Activity

  1. added
    via-triage
    on Nov 24, 2026
  2. samanyudas commented on Nov 24, 2026

    @samanyudas
    Author

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    via-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions