Watch
0
0
Fork
You've already forked hyperhive
0

swarm ui: agents page opens an agent's details beside the list

Selecting an agent card opens its details in a column on the right of the
agents list, at /agents/<name>, instead of unfolding the card in place. The
list is full width until an agent is selected, then narrows and the details
slide in. A narrow screen shows the details alone, with a back button. A
card's message is cut to one line.

The shell treats /agents/<name> as the agents page, so the nav tab stays lit
and the page is not rebuilt on each selection.
This commit is contained in:
iris 2026-11-22 18:42:20 +01:00
commit 7bdaea7954

View file

@ -54,7 +54,8 @@ export function App() {
<MovedTo from={from} />
</Route>
))}
<Route path="/agents" component={AgentsPage} />
{/* `/agents/:name` is the same page with that agent selected. */}
<Route path="/agents/:name?" component={AgentsPage} />
<Route path="/agents/group/:id" component={AgentGroupPage} />
<Route path="/agents/:name/terminal" component={AgentTerminalPage} />
<Route