-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open in code review button remains after a PR comment is added to the code review panel #9627
Copy link
Copy link
Open
Labels
area:code-reviewGit diff views, review UI, review comments, and PR-focused agent flows.Git diff views, review UI, review comments, and PR-focused agent flows.bugSomething isn't working.Something isn't working.in-app-feedbackFeedback items sourced from in-app feedback flows.Feedback items sourced from in-app feedback flows.ready-to-implementThe issue is ready for implementation work.The issue is ready for implementation work.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
area:code-reviewGit diff views, review UI, review comments, and PR-focused agent flows.Git diff views, review UI, review comments, and PR-focused agent flows.bugSomething isn't working.Something isn't working.in-app-feedbackFeedback items sourced from in-app feedback flows.Feedback items sourced from in-app feedback flows.ready-to-implementThe issue is ready for implementation work.The issue is ready for implementation work.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Summary
The PR comments view continues to show the per-comment “Open in code review” button after that comment has already been added to the code review panel.
Problem
After a PR comment is added to the code review panel, the source comment in the PR comments view still appears actionable via “Open in code review.” This makes it look like the comment has not been added yet and may invite users to repeat the action.
Expected behavior
Once a PR comment has been added to the code review panel, the corresponding “Open in code review” button should no longer appear as an available action for that comment. It should be hidden, disabled, or replaced with an already-added state so the user can tell the comment is already in the review panel.
Actual behavior
The “Open in code review” button remains visible in the PR comments view even after the comment has been added to the code review panel.
Reproduction steps or desired workflow
Artifacts
None attached.
Warp version
v0.2026.04.25.08.29.dev_00
Operating system
macOS 26.4 (build 25E246)
Possible source references
app/src/ai/blocklist/block.rs:557: creates the per-commentActionButton::new("Open in code review", SecondaryTheme)that dispatchesAIBlockAction::OpenImportedCommentInCodeReview.app/src/ai/blocklist/block/view_impl/imported_comments.rs:12: renders each imported comment card’sopen_in_code_review_buttonin the PR/imported-comments UI.app/src/ai/blocklist/block.rs:5284: containsupdate_imported_comments_disabled_state, the existing disabled-state path for imported-comments code review buttons.