vole
Clone
Read only, no credentials:
https://rodent.software/git/vole.git
Write over SSH with a registered key:
git clone ssh://git@0.0.0.0:2222/vole.git
A free and open-source forge that lives in your Git repo.
Add repository search, list pagination, and theme/a11y polish
5cab7b18548e5263c01549cb61415fd7777d1758 · Keenan Nemetz · 15d ago · parent 0b26547e
Add repository search, list pagination, and theme/a11y polish The chrome and the index page search repository names and descriptions after the same read filter, so a private repository cannot appear. Issues and changes paginate at 25 rows with filters and HTMX navigation preserved. Polish from the UI plan: a light token block follows prefers-color-scheme, a skip link and focus-visible outlines help keyboard users, panels scroll horizontally on narrow screens, and the empty index/search states explain what is visible. Also fixes a flaky key assertion in the admin users test.
server/web/templates/issues.html +7
| @@ -69,6 +69,13 @@ | |||
| 69 | 69 | </tbody> | |
| 70 | 70 | </table> | |
| 71 | 71 | </div> | |
| 72 | {{if gt .Pager.Pages 1}} | ||
| 73 | <nav class="pager" aria-label="Issue pages"> | ||
| 74 | {{if .Pager.PrevURL}}<a class="button secondary" href="{{.Pager.PrevURL}}" hx-get="{{.Pager.PrevURL}}" hx-target="#issue-list" hx-swap="outerHTML" hx-push-url="true">Previous</a>{{else}}<span></span>{{end}} | ||
| 75 | <span class="muted">Showing {{.Pager.From}}–{{.Pager.To}} of {{.Pager.Total}} · page {{.Pager.Page}} of {{.Pager.Pages}}</span> | ||
| 76 | {{if .Pager.NextURL}}<a class="button secondary" href="{{.Pager.NextURL}}" hx-get="{{.Pager.NextURL}}" hx-target="#issue-list" hx-swap="outerHTML" hx-push-url="true">Next</a>{{else}}<span></span>{{end}} | ||
| 77 | </nav> | ||
| 78 | {{end}} | ||
| 72 | 79 | {{else if and (eq .State "open") .Closed}} | |
| 73 | 80 | <div class="empty-state"> | |
| 74 | 81 | <p>No open issues. {{.Closed}} closed.</p> | |