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/codebrowser.go +2−2

@@ -73,9 +73,9 @@ type codeView struct {
73 73 Preview bool
74 74 }
75 75
76 // Code is the file browser: a persistent tree beside the file it has open. The
76 // Source is the file browser: a persistent tree beside the file it has open. The
77 77 // repository overview (Overview) is the page that summarises the repository.
78 func (w *Web) Code(rw http.ResponseWriter, r *http.Request) {
78 func (w *Web) Source(rw http.ResponseWriter, r *http.Request) {
79 79 m, ok := w.open(rw, r)
80 80 if !ok {
81 81 return