Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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.

Make the change request sidebar compact and live

d3dcf54d8b7eb81fcc2b944296329098db7f14f4 · Keenan Nemetz · 11d ago · parent 7137f372

Make the change request sidebar compact and live

Move the review and approval explanations into tooltips, show only the state in each section, and use the overview's run rows for checks. The aside now polls a new fragment endpoint so approvals, checks and landing facts appear without a reload.

server/web/request_runs.go +5−5

@@ -14,9 +14,9 @@ import (
14 14
15 15 type requestRunsView struct {
16 16 requestSidebarView
17 Tab string
18 FileCount int
19 Runs []*runs.Run
17 requestLandingView
18 Tab string
19 Runs []*runs.Run
20 20 }
21 21
22 22 // RequestRuns serves the Runs tab for one change.
@@ -48,12 +48,12 @@ func (w *Web) RequestRuns(rw http.ResponseWriter, r *http.Request) {
48 48 w.Logger("request runs %s: %v", req.ID, err)
49 49 }
50 50 }
51 files, _, _ := w.requestDiff(m, req)
51 files, _, alreadyMerged := w.requestDiff(m, req)
52 52
53 53 w.render(rw, "request_runs", requestRunsView{
54 54 requestSidebarView: w.requestSidebar(r, m, req, m.Name+" · "+req.Title+" · runs", ""),
55 requestLandingView: w.landingFrom(m, req, files, alreadyMerged),
55 56 Tab: "runs",
56 FileCount: len(files),
57 57 Runs: results,
58 58 }, 0)
59 59 }