From 0a0038f23cdd6fdf4dc274d3356b1dba38577cf9 Mon Sep 17 00:00:00 2001 From: iris Date: Mon, 8 Jun 2026 22:20:12 +0200 Subject: [PATCH] refactor(dashboard): drop the P33RS tab, fold peers + identity into SW4RM (#1535) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes the standalone P33RS tab + pane. Peer hives now render as a headline section at the bottom of the SW4RM pane; the swarm/hive name moves off the cramped strip above the tabbar into a headline at the top of SW4RM. Both are quiet when nothing's configured: - swarm/hive identity → `#swarm-identity` h2 in the SW4RM pane (hidden until hive_name/swarm_name are set), replacing the `#hive-identity` banner-thin line above the tabbar. - peer hives → `#peers-block` headline + `#peers-section` cards in the SW4RM pane. When no peers are federated the headline block is hidden entirely and a grey "no peer hives configured" note shows in its place. - drops `peers` from the tab list + the per-refresh peers-tab gating; renderPeerHives now toggles its own headline. No backend change — still reads `state.peer_hives` + `hive_name` / `swarm_name`. Build green. --- .../packages/dashboard/src/dashboard.html | 38 +++++++------------ frontend/packages/dashboard/src/tabs.js | 28 ++++++++------ 2 files changed, 30 insertions(+), 36 deletions(-) diff --git a/frontend/packages/dashboard/src/dashboard.html b/frontend/packages/dashboard/src/dashboard.html index e998e496..d62c4a9c 100644 --- a/frontend/packages/dashboard/src/dashboard.html +++ b/frontend/packages/dashboard/src/dashboard.html @@ -22,10 +22,6 @@ dashboard all link back to the landing page rather than to each other — H0M3 is the single navigation hub. --> ← home - -