Skip to content

Code Review Enhancements & GitHub PR Integration #348

Closed

Description

@backnotprop

Overview

/plannotator-review <pr-link> works today.

Extend the PR review mode with richer GitHub integration — contextual PR information, issue linking, direct PR actions, and multi-PR navigation.

Currently PR review shows the diff and supports annotations, but lacks the surrounding context that makes a review actionable: PR metadata, comments, merge status, linked issues, and the ability to act on the PR directly from the UI.


1. PR Context Panel

Display rich PR metadata in the review UI — a panel or tab alongside annotations.

  • PR summary — title, description, author, branch info (metadata already fetched, just not displayed)
  • PR comments — conversation thread from GitHub
  • Merge status — checks passing/failing, review approvals, merge conflicts
  • Linked issues — issues referenced in the PR description or commits

Open questions

  • Tab within the annotation panel, sidebar section, or collapsible area? → Icon tabs inline in the panel header

2. Issue Attachment in Feedback

Let reviewers reference GitHub issues in their annotations/feedback, so when feedback is sent back to the agent or posted as a PR comment, it links to relevant issues for context.

  • Attach existing GitHub issues to annotations
  • Issue references included in exported feedback markdown

3. PR Actions

Actions that execute directly against the GitHub PR from the review UI.

  • Approve PR — posts a GitHub approval review (not just local LGTM)
  • Post feedback as PR comment — annotations become a review comment on GitHub
  • Squash & merge — after approval, optionally merge the PR

Open questions

  • Direct automation (Plannotator calls gh itself) vs agent-mediated (send "merge this PR" as feedback to the agent) vs both as user-configurable options?
  • Should squash & merge be a separate explicit action, or offered as a follow-up after approval?

4. PR Navigation

  • Browse open PRs — switch between PRs without restarting (like the diff-type switcher for local reviews)
  • Navigate to linked issues — from the context panel, open referenced issues

Activity

  1. self-assigned this
    on Mar 20, 2026
  2. added a commit that references this issue on Mar 20, 2026
    307a084
  3. backnotprop commented on Mar 20, 2026

    @backnotprop
    OwnerAuthor

    Iterating on this.

  4. added a commit that references this issue on Mar 20, 2026
    1821943
  5. NaikSoftware commented on Mar 24, 2026

    @NaikSoftware

    Add support for Github enterprise URLs, please. Like company.ghe.com/my/repo/pull/123

  6. added a commit that references this issue on Apr 1, 2026
    27aa3f2
  7. added a commit that references this issue on Apr 1, 2026
    588b6a4
  8. backnotprop commented on Apr 1, 2026

    @backnotprop
    OwnerAuthor

    GitHub Enterprise support shipped in v0.16.4. PR review now works with any GHE host. See PR #460.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions