swarm ui: an open todos section on the agent card
This commit is contained in:
parent
b239500f88
commit
fa2a75d499
1 changed files with 200 additions and 12 deletions
|
|
@ -8,17 +8,18 @@ import {
|
|||
startsOpen,
|
||||
} from "../src/agent/detail/sections.ts";
|
||||
|
||||
test("a card holds status, terminal, subagents, background tasks, then settings", () => {
|
||||
test("a card holds status, terminal, open todos, subagents, background tasks, then settings", () => {
|
||||
assert.deepEqual(sectionsFor(true), [
|
||||
"status",
|
||||
"terminal",
|
||||
"todos",
|
||||
"subagents",
|
||||
"tasks",
|
||||
"settings",
|
||||
]);
|
||||
});
|
||||
|
||||
test("a page beside a terminal leaves the terminal, subagents and tasks out", () => {
|
||||
test("a page beside a terminal leaves the terminal, todos, subagents and tasks out", () => {
|
||||
assert.deepEqual(sectionsFor(false), ["status", "settings"]);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue