docs: fix P33RS tab — correct nix option name and peer card icon
This commit is contained in:
parent
8ba1947c3f
commit
2fb1b9eb5a
1 changed files with 4 additions and 4 deletions
|
|
@ -182,18 +182,18 @@ operator has one place for everything time-fired.
|
||||||
|
|
||||||
Peer hives in this swarm. The tab is hidden when the
|
Peer hives in this swarm. The tab is hidden when the
|
||||||
`state.peer_hives` array from `/api/state` is empty (i.e. no
|
`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
|
one peer is present the `hidden` attribute is removed and the tab
|
||||||
becomes active.
|
becomes active.
|
||||||
|
|
||||||
**P33R H1V3S** — each peer renders as a card row: a globe icon
|
**P33R H1V3S** — each peer renders as a card row: a hexagon icon
|
||||||
(`🌐`), the peer's configured label as the primary name, and the
|
(`⬡`), the peer's configured label as the primary name, and the
|
||||||
peer dashboard URL as a clickable secondary link. Clicking the
|
peer dashboard URL as a clickable secondary link. Clicking the
|
||||||
URL opens the peer hive's dashboard in a new tab.
|
URL opens the peer hive's dashboard in a new tab.
|
||||||
|
|
||||||
### Backend wiring
|
### 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
|
nix config, serialises each entry as `{ name, url }` into
|
||||||
`state.peer_hives: Vec<PeerHiveView>`, and includes the field
|
`state.peer_hives: Vec<PeerHiveView>`, and includes the field
|
||||||
in the `/api/state` snapshot. `tabs.js` reads
|
in the `/api/state` snapshot. `tabs.js` reads
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue