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/commit.html +3−3

@@ -4,11 +4,11 @@
4 4 change's Files tab, so a broad commit does not render every patch at once. */}}
5 5 {{define "commits"}}
6 6 {{template "header" .}}
7 {{template "repohead" (nav .Page "code")}}
7 {{template "repohead" (nav .Page "source")}}
8 8 <div class="page-head">
9 9 <div class="page-head-main">
10 10 <h1>History</h1>
11 <p class="page-sub"><a href="/{{.Name}}/code?ref={{esc .Ref}}">{{.Ref}}</a> · newest first</p>
11 <p class="page-sub"><a href="/{{.Name}}/source?ref={{esc .Ref}}">{{.Ref}}</a> · newest first</p>
12 12 </div>
13 13 </div>
14 14 <div class="panel">
@@ -19,7 +19,7 @@
19 19
20 20 {{define "commit"}}
21 21 {{template "header" .}}
22 {{template "repohead" (nav .Page "code")}}
22 {{template "repohead" (nav .Page "source")}}
23 23 <div class="page-head">
24 24 <div class="page-head-main">
25 25 <h1>{{.Commit.Subject}}</h1>