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.

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/file_history.html +2−2

@@ -1,6 +1,6 @@
1 1 {{define "file_history"}}
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">
@@ -10,7 +10,7 @@
10 10 <div class="page-head-actions">
11 11 <a class="button secondary" href="/{{.Name}}/blob/{{esc .Ref}}/{{pathurl .Path}}">{{icon "file"}}View file</a>
12 12 {{if .IsBlob}}<a class="button secondary" href="/{{.Name}}/blame/{{esc .Ref}}/{{pathurl .Path}}">{{icon "git-commit-horizontal"}}Blame</a>{{end}}
13 <a class="button secondary" href="/{{.Name}}/code?ref={{esc .Ref}}">{{icon "code"}}Browse</a>
13 <a class="button secondary" href="/{{.Name}}/source?ref={{esc .Ref}}">{{icon "code"}}Browse</a>
14 14 </div>
15 15 </div>
16 16