Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: an egress card on the swarm page for the swarm-wide allowed domains, sharing the agent card's add form and list hook

This commit is contained in:
iris 2026-11-04 21:14:43 +01:00
commit ad76e7e937

View file

@ -1,12 +1,13 @@
// <SwarmPage> — what belongs to the swarm as a whole rather than to one agent:
// the hive roster and the notification router. Each is a card that starts
// folded and reads nothing until it is opened.
// the hive roster, the swarm-wide egress allow list and the notification router.
// Each is a card that starts folded and reads nothing until it is opened.
//
// The notification router is marked beta: its card says so beside the title and
// carries a warning banner inside.
import { Badge } from "@hive/shared/badge.js";
import { LazyDisclosure } from "../../ui/disclosure/LazyDisclosure.js";
import { NotificationRouter } from "../notifications/NotificationsPage.js";
import { EgressCard } from "./EgressCard.js";
import { HivesCard } from "./HivesCard.js";
import "./SwarmPage.css";
@ -16,6 +17,9 @@ export function SwarmPage() {
<div class="ui-swarm-card">
<HivesCard />
</div>
<div class="ui-swarm-card">
<EgressCard />
</div>
<div class="ui-swarm-card">
<LazyDisclosure
title="notification router"