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.
Condense the Admin overview to one row of metric cards
9a2a270b91085170678db617a3fae6873df2fd61 · Keenan Nemetz · 4d ago · parent 0db980ee
Condense the Admin overview to one row of metric cards The overview had two card grids, five metrics followed by four account counts, and the storage and account cards repeated detail that belongs on their tabs. It is one row now: storage used, free space, users, repositories, and page views. The Users card is the active account count with the roster mix as its note (people, bots, admins, retired), so the separate account cards are gone. LFS object totals stay on the Storage tab. The queue and runner counts remain a line below the row. Refs #198 (01M6MK0NNZ2XR1D5TQKNWYT4HN).
server/status_test.go +6−3
| @@ -29,14 +29,17 @@ func TestAdminOverviewSummarizesTheInstance(t *testing.T) { | |||
| 29 | 29 | } | |
| 30 | 30 | for _, want := range []string{ | |
| 31 | 31 | "Overview", "Storage", "Runners", "Configuration", "Storage used", "Free space", | |
| 32 | "LFS objects", "Page views", "Unique users", "Today (UTC)", | ||
| 33 | "Accounts", "Active people", "Recent admin activity", "Read the full audit log", | ||
| 32 | "Users", "Repositories", "Page views", "Today (UTC)", | ||
| 33 | "Recent admin activity", "Read the full audit log", | ||
| 34 | 34 | } { | |
| 35 | 35 | if !strings.Contains(body, want) { | |
| 36 | 36 | t.Fatalf("status overview does not show %q:\n%s", want, body) | |
| 37 | 37 | } | |
| 38 | 38 | } | |
| 39 | for _, gone := range []string{"Service health", "All core services are responding", "Runners and queue", "Instance and access"} { | ||
| 39 | for _, gone := range []string{ | ||
| 40 | "Service health", "All core services are responding", "Runners and queue", | ||
| 41 | "Instance and access", "LFS objects", "Active people", "Instance admins", "Retired", | ||
| 42 | } { | ||
| 40 | 43 | if strings.Contains(body, gone) { | |
| 41 | 44 | t.Fatalf("status overview shows a section heading that belongs to another tab %q:\n%s", gone, body) | |
| 42 | 45 | } | |