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.
Remove repository tab polling and rename Code to Source
cc7faea36a31373079df8fce68c1bc20a44873a0 · Keenan Nemetz · 3d ago · parent 0a12642f
Remove repository tab polling and rename Code to Source
The tab row no longer polls its open counts, so the /{name}/counts endpoint, its htmx trigger, and the badge animation are gone. The unfocused-window note has been removed while the other live regions still pause.
The Code tab is now Source, served at /{name}/source; links, sitemap entries, markdown tree links, and tests follow the new route.
server/web/templates/code_search.html +2−2
| @@ -1,6 +1,6 @@ | |||
| 1 | 1 | {{define "code_search"}} | |
| 2 | 2 | {{template "header" .}} | |
| 3 | {{template "repohead" (nav .Page "code")}} | ||
| 3 | {{template "repohead" (nav .Page "source")}} | ||
| 4 | 4 | ||
| 5 | 5 | <div class="page-head"> | |
| 6 | 6 | <div class="page-head-main"> | |
| @@ -8,7 +8,7 @@ | |||
| 8 | 8 | <p class="page-sub">File names and contents on <code>{{.Ref}}</code>. Content search is case-insensitive and treats the query as plain text.</p> | |
| 9 | 9 | </div> | |
| 10 | 10 | <div class="page-head-actions"> | |
| 11 | <a class="button secondary" href="/{{.Name}}/code?ref={{esc .Ref}}">{{icon "code"}}Browse</a> | ||
| 11 | <a class="button secondary" href="/{{.Name}}/source?ref={{esc .Ref}}">{{icon "code"}}Browse</a> | ||
| 12 | 12 | </div> | |
| 13 | 13 | </div> | |
| 14 | 14 | ||