Add read-only PR review canvas 🤖🤖🤖 (#4629)

* feat: add read-only PR review canvas

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1027c68f-7b97-422e-a18e-4e9e984ed372

* fix: load complete PR review diffs

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1027c68f-7b97-422e-a18e-4e9e984ed372

* fix: parse PR number from URL correctly

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1027c68f-7b97-422e-a18e-4e9e984ed372

* feat: ask about selected diff lines

Show selected lines separately from question text and verify their scope against the saved patch. Remove Git header clutter and the hunk question button.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1027c68f-7b97-422e-a18e-4e9e984ed372

* docs: refresh PR review canvas preview

Show selected-line context separately from question text using synthetic PR content.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1027c68f-7b97-422e-a18e-4e9e984ed372

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1027c68f-7b97-422e-a18e-4e9e984ed372
This commit is contained in:
Bruce Moe
2026-10-09 16:48:57 +11:00
committed by GitHub
co-authored by Copilot App
parent 04440f4f78
commit 82701c24b9
15 changed files with 1880 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# PR Review Plugin
Review GitHub pull requests in a read-only canvas. Copilot groups related
changed files from their paths and metadata, displays complete expandable
diffs, and answers questions scoped to a group, file, or hunk. Review snapshots
and answers stay in the current session.
## Installation
```bash
copilot plugin install pr-review@awesome-copilot
```
## Source
This plugin is part of [Awesome Copilot](https://github.com/github/awesome-copilot).
## License
MIT
+28
View File
@@ -0,0 +1,28 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "pr-review",
"description": "Review GitHub pull requests in a read-only canvas with AI-grouped changes, expandable diffs, and questions scoped to groups, files, or hunks.",
"version": "1.0.0",
"keywords": [
"canvas",
"code-review",
"copilot-extension",
"pull-request",
"pull-request-review"
],
"author": {
"name": "Awesome Copilot Community"
},
"repository": "https://github.com/github/awesome-copilot",
"license": "MIT",
"extensions": {
"com.github.copilot": {
"logo": "assets/preview.png"
},
"com.github.awesome-copilot": {
"extensions": [
"./extensions/pr-review"
]
}
}
}