From c24f3c3d88f1415449d2bdb9063b4b8ab0e32c60 Mon Sep 17 00:00:00 2001 From: iris Date: Sun, 22 Nov 2026 22:31:44 +0100 Subject: [PATCH] swarm ui: remove the config PR filter from the agents page The filter bar no longer offers a filter on an agent's config PR. A filter saved on it before is dropped by the table's existing handling of columns that no longer exist. --- docs/4-implementation/web-ui/swarm-ui.md | 8 ++++---- .../packages/swarm-ui/src/pages/agents/AgentsPage.tsx | 6 ------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/docs/4-implementation/web-ui/swarm-ui.md b/docs/4-implementation/web-ui/swarm-ui.md index 583b8690e..5d8613fe8 100644 --- a/docs/4-implementation/web-ui/swarm-ui.md +++ b/docs/4-implementation/web-ui/swarm-ui.md @@ -150,10 +150,10 @@ above the details shuts them and the list takes the width again, and focus returns to the agent's card. A name the roster doesn't have, from a stale link, shows "no agent named …" and the same button. The filter card, which also holds the **+ agent** button and the refresh picker, filters by name, hive, status, -message, wanted state and config PR. While the agent list loads for the first -time, the page shows grey placeholder cards with the same layout as the real -ones, so the cards don't jump when the data arrives. The placeholders stand -still where motion is off. +message and wanted state. While the agent list loads for the first time, the +page shows grey placeholder cards with the same layout as the real ones, so the +cards don't jump when the data arrives. The placeholders stand still where +motion is off. To act on several agents at once, press the **select** button in the filter card, select an agent's icon, or press and hold a card (half a second; moving diff --git a/frontend/packages/swarm-ui/src/pages/agents/AgentsPage.tsx b/frontend/packages/swarm-ui/src/pages/agents/AgentsPage.tsx index 0d93c9eaf..7a3a5d265 100644 --- a/frontend/packages/swarm-ui/src/pages/agents/AgentsPage.tsx +++ b/frontend/packages/swarm-ui/src/pages/agents/AgentsPage.tsx @@ -92,12 +92,6 @@ const FIELDS: FilterColumn[] = [ filterValues: (a) => [a.wanted ?? "no declaration"], filterMode: "multiselect", }, - { - key: "config-pr", - header: "config PR", - sortBy: (a) => a.config_pr?.pr_number ?? 0, - filterValue: (a) => (a.config_pr ? `#${a.config_pr.pr_number}` : ""), - }, ]; export function AgentsPage() {