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 9c1dc4050f
commit bd4b226953
12 changed files with 31 additions and 23 deletions
+2 -2
View File
@@ -187,10 +187,10 @@ func (c *panelClient) setRateLimit(path, allowedIP string, maxMessages, windowSe
return nil
}
// sendLogRows returns the raw /sendlog/rows HTML fragment, filtered to one
// sendLogRows returns the raw /deliveries/rows HTML fragment, filtered to one
// domain, for polling a row's status without parsing full HTML into structs.
func (c *panelClient) sendLogRows(domain string) (string, error) {
_, body, err := c.get("/sendlog/rows?domain=" + url.QueryEscape(domain))
_, body, err := c.get("/deliveries/rows?domain=" + url.QueryEscape(domain))
return body, err
}