Watch
0
0
Fork
You've already forked hyperhive
0

swarm ui: the messages cards move to the swarm page and the messages tab goes

The broadcast, schedules and message log cards now sit on the swarm page, after the notification router; the message log opens its stream on its first open instead of when the page loads, and its connection badge moves into its filter bar. The messages tab is removed from the header, and the old /messages address redirects to /swarm next to /schedules, which now does too. MessagesPage becomes MessageCards, and comments, tests and the swarm UI docs say the swarm page where they said the messages tab.
This commit is contained in:
iris 2026-11-20 22:05:28 +01:00
commit 797e6e3137

View file

@ -1,11 +1,13 @@
// <SwarmPage> — what belongs to the swarm as a whole rather than to one agent:
// 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 hive roster, the swarm-wide egress allow list, the notification router and
// the messages: the broadcast composer, the schedules and the message log. 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 { MessageCards } from "../messages/MessageCards.js";
import { NotificationRouter } from "../notifications/NotificationsPage.js";
import { EgressCard } from "./EgressCard.js";
import { HivesCard } from "./HivesCard.js";
@ -33,6 +35,7 @@ export function SwarmPage() {
</p>
<NotificationRouter />
</LazyDisclosure>
<MessageCards />
</div>
);
}