diff --git a/frontend/packages/shared/src/badge/Badge.tsx b/frontend/packages/shared/src/badge/Badge.tsx index e0c64461..f5d7d902 100644 --- a/frontend/packages/shared/src/badge/Badge.tsx +++ b/frontend/packages/shared/src/badge/Badge.tsx @@ -10,12 +10,11 @@ // "alive"). Same component either way so a page reads as one consistent // row of badges regardless of which ones happen to be interactive. // -// Formerly two components: swarm-ui had its own presentational-only -// `StatusChip`, a strict subset of this shape (no interactivity, no -// label/value split, no icon). Deleted in favour of this one — a -// non-interactive `Badge` renders identically, and having two components -// for the same visual pill just meant a page had to pick between them -// with no real distinction to justify it. Lives in `shared` because both +// Replaces swarm-ui's own presentational-only `StatusChip`, a strict +// subset of this shape (no interactivity, no label/value split, no +// icon) — a non-interactive `Badge` renders identically, so having two +// components for the same visual pill meant a page had to pick between +// them with no real distinction to justify it. Lives in `shared` because both // swarm-ui *and* the per-agent page need the interactive shape, and // `shared` is the one package both already depend on (see // `docs/web-ui/design-guide.md`'s component-first + junk-drawer rules).