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.

Versão de: 12/09/2025. Veja: a última versão.

Você precisará instalar uma extensão como Tampermonkey, Greasemonkey ou Violentmonkey para instalar este script.

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

Você precisará instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Userscripts para instalar este script.

Você precisará instalar uma extensão como o Tampermonkey para instalar este script.

Você precisará instalar um gerenciador de scripts de usuário para instalar este script.

(Eu já tenho um gerenciador de scripts de usuário, me deixe instalá-lo!)

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

(Eu já possuo um gerenciador de estilos de usuário, me deixar fazer a instalação!)

Autor
matthijskooijman
Avaliações
0 0 0
Versão
2025-09-12
Criado
12/09/2025
Atualizado
12/09/2025
Tamanho
2,26 KB
Licença
CC0-1.0-Universal, https://creativecommons.org/publicdomain/zero/1.0/
Aplicável a

# 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](https://codeberg.org/matthijs/greasemonkey-pr-commit-progress/media/branch/main/docs/Screenshot.png)

Changes
-------
For a detailed list of changes, see [the changelog on
Codeberg](https://codeberg.org/matthijs/greasemonkey-pr-commit-progress/src/branch/main/CHANGELOG.md).

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/