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:
parent
2d3da56907
commit
7bdaea7954
1 changed files with 494 additions and 154 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// An opened agent card's SSH row: the badge, the PUT body and the target
|
||||
// The agent details' SSH row: the badge, the PUT body and the target
|
||||
// snippets. Run by `npm test` with Node's type stripping.
|
||||
import assert from "node:assert/strict";
|
||||
import { test } from "node:test";
|
||||
|
|
|
|||
Loading…
Reference in a new issue