Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: a maximize button on each pane of a terminal group opens that agent's own terminal

This commit is contained in:
iris 2026-11-05 12:35:32 +01:00
commit 5665bbf827

View file

@ -10,6 +10,7 @@
import { useEffect } from "preact/hooks";
import { useLocation, type RouteComponentProps } from "wouter-preact";
import { Badge } from "@hive/shared/badge.js";
import { ExpandIcon } from "@hive/shared/icons.js";
import { AgentIcon } from "../../agent/AgentIcon.js";
import {
AgentTermPreview,
@ -158,6 +159,14 @@ export function AgentGroupPage({
groups.update(id, (r) => splitPane(r, agent, other, side))
}
/>
<Badge
icon={<ExpandIcon />}
value="maximize"
title={`open ${agent}'s terminal on its own`}
onClick={() =>
open({ href: termPaths(agent).page, label: agent })
}
/>
<Badge
variant="quiet"
value="×"