Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
gh-prism: Sectioned Pull Request Review 预览

gh-prism: Sectioned Pull Request Review 作者: excessive.dev

Review GitHub pull requests one part at a time. Sorts changed files into Implementation, Tests, Docs, Config, and Generated.

0(0 条评价)0(0 条评价)
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
关于此扩展
gh-prism is a Chrome and Firefox extension that sorts a GitHub pull request's changed files into sections, so you can review one part at a time. It started by copying how other review tools split a pull request's lines changed, and has grown from there: it now also works on commit pages and on a pull request's Conversation tab.

AI-assisted pull requests often look large when only a small part of them is implementation, and gh-prism lets you review that part first. See what it does.

What it does

gh-prism runs on commit pages and on a pull request's new Files changed tab (/pull/<number>/changes), which GitHub offers as a feature preview; see Troubleshooting to turn it on. Its code-owner shields also show on a pull request's Conversation tab, and its lines-changed counts on the Conversation, Commits, and Checks tabs.

Sections in a sidebar

gh-prism replaces the file tree with a sidebar that sorts changed files into Implementation, Tests, Docs & Comments, Config, and Generated / lockfiles.
  • A file whose changes belong in more than one section is listed under each, marked Partial.
  • Comment-only changes count toward Docs & Comments. An Implementation file's comment lines are listed under Implementation comments.
  • The diffs follow the sidebar's order, except on very large pull requests, and clicking a section's heading collapses it.

Code owners

On a pull request, a file with code owners shows a shield when you hover or focus its row. Rest the pointer on the shield to see who owns the file, or click it for details.
  • On the Conversation tab, the shield beside a team or person in the Reviewers list lists the changed files they own.
  • Only files owned by… in the file tree's filter menu, or gh-prism-owner=<owner> in the Files changed URL, shows only one owner's files. The owner is a team such as org/team, or a user's login.
  • GitHub shows you teams only in your own organizations, so a user's filter leaves out files they own through a team you can't see.

Viewed tracking

Files you've marked Viewed are dimmed in every section, and each section's heading counts them (N/M).
  • Tick a row's checkbox, or Alt-click the row (Option-click on macOS), to mark the file Viewed. Do either again to unmark it.
  • It stays in step with GitHub's own Viewed toggle.

Lines changed by section

The lines-changed count in the header splits into one count per section.
  • It shows on Files changed and commit pages, and on a pull request's Conversation, Commits, and Checks tabs.
  • Click the counts to switch to GitHub's total and back. gh-prism remembers your choice.

Conversation panel

On Files changed, the Conversation button at the left end of the toolbar, or Shift+\, opens the pull request's Conversation tab in a panel on the left, so you can read and reply to it without leaving the diffs.
  • Pin the panel to keep it open as a column beside the diffs, and drag its edge to resize it. Unpinned, it covers the page, and a click outside it or Esc closes it.
  • Buttons in its header jump to the pull request's checks, and to its reviewers, labels, and projects.

Commit pages

A commit message longer than its subject line renders as Markdown in a column beside its diffs, and Older and Newer links step through its history.
  • Drag the column's edge to resize it. Show plain text shows the message as GitHub does, and Hide hides it on that commit.
  • Press Shift+J for Older and Shift+K for Newer, unless you're typing.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 访问您在 github.com 的数据

可选权限:

  • 访问您在 github.com 的数据
  • 访问您在 patch-diff.githubusercontent.com 的数据
  • 访问您在 raw.githubusercontent.com 的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 复制附加组件 ID
版本
1.2.4
大小
3.07 MB
上次更新
11 天前 (2026年11月18日)
相关分类
  • 网页开发
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。