From 2fb1b9eb5a6172711bdfab2778a5aa85aef9a7c0 Mon Sep 17 00:00:00 2001 From: iris Date: Sun, 31 May 2026 23:30:56 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20fix=20P33RS=20tab=20=E2=80=94=20correct?= =?UTF-8?q?=20nix=20option=20name=20and=20peer=20card=20icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/web-ui/dashboard.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/web-ui/dashboard.md b/docs/web-ui/dashboard.md index 7edaeec8..c9e7daf6 100644 --- a/docs/web-ui/dashboard.md +++ b/docs/web-ui/dashboard.md @@ -182,18 +182,18 @@ operator has one place for everything time-fired. Peer hives in this swarm. The tab is hidden when the `state.peer_hives` array from `/api/state` is empty (i.e. no -`services.hyperhive.swarm.peers` are configured). When at least +`services.hyperhive.peers` are configured). When at least one peer is present the `hidden` attribute is removed and the tab becomes active. -**P33R H1V3S** — each peer renders as a card row: a globe icon -(`🌐`), the peer's configured label as the primary name, and the +**P33R H1V3S** — each peer renders as a card row: a hexagon icon +(`⬡`), the peer's configured label as the primary name, and the peer dashboard URL as a clickable secondary link. Clicking the URL opens the peer hive's dashboard in a new tab. ### Backend wiring -The host daemon reads `services.hyperhive.swarm.peers` from the +The host daemon reads `services.hyperhive.peers` from the nix config, serialises each entry as `{ name, url }` into `state.peer_hives: Vec`, and includes the field in the `/api/state` snapshot. `tabs.js` reads