From 41c78e8e346f448162ec13bb6ad0deabaea26e43 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Mon, 17 Aug 2026 07:44:14 -0400 Subject: [PATCH] feat: live-refresh Connectivity section and RTT charts every 30s Add fetchHostInfo() call to the 30-second auto-refresh setInterval loop for expanded host cards. This ensures the Connectivity table and RTT charts update in real-time without requiring the user to collapse and re-expand the host card. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01DEimzMv4Q5EjFg3hoiZ69T --- hbd/server/templates/plugins.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hbd/server/templates/plugins.html b/hbd/server/templates/plugins.html index ab6d577..b553bcd 100644 --- a/hbd/server/templates/plugins.html +++ b/hbd/server/templates/plugins.html @@ -1347,6 +1347,11 @@ document.querySelectorAll('.host-card:not(.collapsed)').forEach(card => { const hostname = card.dataset.hostname; + fetchHostInfo(hostname).then(data => { + infoCache[hostname] = data; + renderInfoSection(hostname, data); + }).catch(() => {}); + card.querySelectorAll('.plugin-accordion:not(.collapsed)').forEach(acc => { const pname = acc.dataset.plugin; if (!GLANCE_PLUGINS.includes(pname)) {