-
Notifications
You must be signed in to change notification settings - Fork 222
Description
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
ghitself) 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