Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Show every commit of a change request, paginated

ea92d7546124954c790c34f3f7655c35cb70bf76 · Keenan Nemetz · 1d ago · parent 31560d91

Show every commit of a change request, paginated

The request page showed the diff and the runs but not the commits the branch
is made of, so a reviewer who reads commit by commit had to leave it for the
repository history. Add a Commits tab that lists them oldest first, each
linking to its commit page.

Page the list with the existing pager rather than cutting it at a fixed
count: a long branch keeps every commit and a page step swaps only the list.
While the request is open the range is base..head; once landed it starts at
the recorded pre-landing base, so the commits that were reviewed remain
visible and the landing merge commit is not listed as one of them.

server/web/templates/requests.html +1

@@ -445,6 +445,7 @@
445 445 <div class="tabrow subtabs">
446 446 <nav class="tabs" aria-label="Change sections">
447 447 <a class="{{if eq .Tab "conversation"}}active{{end}}" href="/{{.Name}}/changes/{{.Request.ID}}"{{if eq .Tab "conversation"}} aria-current="page"{{end}}>{{icon "message-square"}}Conversation</a>
448 <a class="{{if eq .Tab "commits"}}active{{end}}" href="/{{.Name}}/changes/{{.Request.ID}}/commits"{{if eq .Tab "commits"}} aria-current="page"{{end}}>{{icon "git-commit-horizontal"}}Commits</a>
448 449 <a class="{{if eq .Tab "files"}}active{{end}}" href="/{{.Name}}/changes/{{.Request.ID}}/files"{{if eq .Tab "files"}} aria-current="page"{{end}}>{{icon "file"}}Changes <span class="chip-count">{{.FileCount}}</span></a>
449 450 <a class="{{if eq .Tab "runs"}}active{{end}}" href="/{{.Name}}/changes/{{.Request.ID}}/runs"{{if eq .Tab "runs"}} aria-current="page"{{end}}>{{icon "play"}}Runs <span class="chip-count">{{len .Checks}}</span></a>
450 451 </nav>