From 7d3d8031d2301f24b32ee08215a8d004fb81493b Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 30 Oct 2026 19:10:11 +0100 Subject: dashboard: reload new version --- docs/openapi.yaml | 3 ++- src/api/dashboard/dashboard.html | 21 +++++++++++++++++++-- src/api/dashboard/mod.rs | 30 ++++++++++++++++++++++++++---- 3 files changed, 47 insertions(+), 7 deletions(-) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 4ef3398..b85481c 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -490,7 +490,8 @@ paths: tags: [Admin] summary: Dashboard state description: | - The dashboard's latest snapshot: `node` (`id`, `alias`), `stats` (as + The dashboard's latest snapshot: `node` (`id`, `alias`), `page` (the page's + version, a hash: a page showing another reloads), `stats` (as `/admin/stats`), `peers` (as `/peers`) and `graph`: `members` (by node ID: `alias`, `self`), `intended` (by node ID: the neighbours the member list gives it, as this node computes them) and `measured` (by node ID: `secsAgo` and diff --git a/src/api/dashboard/dashboard.html b/src/api/dashboard/dashboard.html index 11e53d2..a5181ca 100644 --- a/src/api/dashboard/dashboard.html +++ b/src/api/dashboard/dashboard.html @@ -113,6 +113,9 @@