v0.170.0: root → Indítópult (302); Vezérlőpult at /dashboard; CLAUDE.md stale-note fix

/ now 302s to /launcher (ONE canonical URL per page — launcher body never served at /);
the Vezérlőpult keeps /dashboard + its nav slot (operator ruling, reversing v0.163.0).
Nav: Indítópult active on /launcher, Vezérlőpult href=/dashboard active there. Post-login
default (/) and the topbar logo (/) flow through the redirect; login target unchanged.
Repointed 2 dashboard-card tests /→/dashboard. Corrected the stale vacation/agent-DOWN
note in CLAUDE.md (agent is up at 192.168.0.162:8443).

Tests: 302 target+status, /dashboard 200, nav hrefs/active; red-proof verified.
This commit is contained in:
2026-07-25 07:44:08 +02:00
parent 2487681396
commit 9cc8424954
6 changed files with 102 additions and 18 deletions
@@ -107,9 +107,9 @@ func TestDashboardBackupCard_ShowsLastRun(t *testing.T) {
dumpAt := time.Date(2026, 7, 19, 3, 30, 0, 0, time.Local)
s := newDashboardServer(t, dumpAt)
rec := getPage(t, s, "/")
rec := getPage(t, s, "/dashboard") // v0.170.0: the Vezérlőpult moved from "/" to "/dashboard"
if rec.Code != 200 {
t.Fatalf("GET / = %d: %s", rec.Code, rec.Body.String())
t.Fatalf("GET /dashboard = %d: %s", rec.Code, rec.Body.String())
}
card := backupCard(t, rec.Body.String())
@@ -127,9 +127,9 @@ func TestDashboardBackupCard_ShowsLastRun(t *testing.T) {
func TestDashboardBackupCard_FreshBoxStaysHonest(t *testing.T) {
s := newDashboardServer(t, time.Time{})
rec := getPage(t, s, "/")
rec := getPage(t, s, "/dashboard") // v0.170.0: the Vezérlőpult moved from "/" to "/dashboard"
if rec.Code != 200 {
t.Fatalf("GET / = %d: %s", rec.Code, rec.Body.String())
t.Fatalf("GET /dashboard = %d: %s", rec.Code, rec.Body.String())
}
card := backupCard(t, rec.Body.String())