From b908ee61770dc78f8d8fbbbfc4f3c00d7877d42a Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Wed, 18 Nov 2026 08:01:26 +0100 Subject: feat(core): add dashboard overview Replace the root redirect with an authenticated dashboard showing received and outgoing status counts, recent activity, pending sends, retries, and queue depth. Persist the last completed source scan so operational status survives restarts and only advances after a successful, conclusive scan. --- webmentions_ssg/templates/dashboard.html | 148 +++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 webmentions_ssg/templates/dashboard.html (limited to 'webmentions_ssg/templates/dashboard.html') diff --git a/webmentions_ssg/templates/dashboard.html b/webmentions_ssg/templates/dashboard.html new file mode 100644 index 0000000..a7f968e --- /dev/null +++ b/webmentions_ssg/templates/dashboard.html @@ -0,0 +1,148 @@ + +{% extends "base.html" %} + +{% block content %} +
{{ received_total }} total
+Failed: {{ received_counts.failed }} ยท Source removed: {{ received_counts.source_removed }}
+{{ sent_total }} total
+Waiting to retry: {{ waiting_retries }}
+| Activity (UTC) | +Last 7 days | +Last 30 days | +
|---|---|---|
| New received Webmentions | +{{ recent[7].received }} | +{{ recent[30].received }} | +
| Webmentions last sent successfully | +{{ recent[7].sent }} | +{{ recent[30].sent }} | +
{{ source_count }}
+No completed scan yet
+ {% endif %} +{{ queue_size }}
+ {% else %} +Unavailable
+ {% endif %} +