Pull request commit progress counter

When viewing a commit in a PR, show the number of commits and the position of the current commit in that list to make review progress more visible.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
matthijskooijman
日安装量
0
总安装量
0
评分
0 0 0
版本
2025-09-12
创建于
2025-09-12
更新于
2025-09-12
大小
2.3 KB
许可证
CC0-1.0-Universal, https://creativecommons.org/publicdomain/zero/1.0/
适用于

Pull request comment context

This is a script that runs locally in your browser (via an extension like Greasemonkey) and improves a pull-request review workflow on (currently only) Github when code is reviewed commit-by-commit.

Github does not show any ready indication of where the currently viewed commit is in the list of commits in the PR, making it impossible to quickly see how far along a review is.

This script is simple: Whenever a single-commit page is opened, it finds the list of commit and finds the current commit in that list, and writes both to the page. For example, the "(3 / 5)" below is added by this script:

Screenshot

Changes

For a detailed list of changes, see the changelog on Codeberg.

License

This script was written by Matthijs Kooijman.

The contents of this repository are made available under CC0, meaning any copyright or similar rights are waived as far as possible and this content can be used in any way (including relicensing) by anyone.

For the full CC0, see: https://creativecommons.org/publicdomain/zero/1.0/