From 9f8df505c68aad727dd28e61413178bec3319066 Mon Sep 17 00:00:00 2001 From: iris Date: Sun, 13 Sep 2026 18:44:59 +0200 Subject: [PATCH] swarm-ui: widen the agents page's shell body cap, same as issue report AgentsPage's table view (and its list+detail split) hits the same 60em readable-line-length cap the issue report's wide table already opts out of via shell-body-wide. Adds /agents to WIDE_BODY_ROUTES -- the allowlist's own comment already anticipated this, a future wide page reaches for the same class rather than inventing its own cap. --- frontend/packages/swarm-ui/src/shell/Shell.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/packages/swarm-ui/src/shell/Shell.tsx b/frontend/packages/swarm-ui/src/shell/Shell.tsx index ca45aac3..c975985d 100644 --- a/frontend/packages/swarm-ui/src/shell/Shell.tsx +++ b/frontend/packages/swarm-ui/src/shell/Shell.tsx @@ -57,10 +57,9 @@ const NAV_ITEMS: { href: string; label: string; accent: string }[] = [ // clipped; that width is deliberate for the rest of the UI's cards/ // forms, but too narrow for a wide table. `.shell-body-wide` (Shell.css) is a // modifier alongside the base class, not a replacement, so every other -// route's layout is untouched — first user of this allowlist, but a -// future wide page reaches for the same class rather than inventing -// its own cap. -const WIDE_BODY_ROUTES = new Set(["/issues"]); +// route's layout is untouched. `/agents` joined for the same reason — +// its own table view (plus the list+detail split) hits the same cap. +const WIDE_BODY_ROUTES = new Set(["/issues", "/agents"]); // Static fallback — matches `index.html`'s `` default, so a page // never flashes something else before the fetch below resolves, and an