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.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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/