panel: match monitoring URLs to their nav labels

/sendlog -> /deliveries, /queue -> /mail-queue, /logtail -> /system-log,
along with the HTMX polling fragments under each.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-03 21:41:52 +03:00
parent 89447074c5
commit a06faac213
12 changed files with 31 additions and 23 deletions
+2 -2
View File
@@ -108,10 +108,10 @@ func TestNavMarksActivePage(t *testing.T) {
if !strings.Contains(out, `<span aria-current="page">Mail queue</span>`) {
t.Errorf("active page is not marked:\n%s", out)
}
if strings.Contains(out, `href="/queue"`) {
if strings.Contains(out, `href="/mail-queue"`) {
t.Errorf("active page still links to itself:\n%s", out)
}
if !strings.Contains(out, `href="/sendlog"`) {
if !strings.Contains(out, `href="/deliveries"`) {
t.Errorf("inactive pages are not linked:\n%s", out)
}
}