Watch
0
0
Fork
You've already forked hyperhive
0

frontend: remove the unused vanilla terminal and tab strip, and fix comments that describe removed UI

shared/src/terminal/terminal.js (and its index.js re-export and package export) had no importer: the Preact Row replaced it. The .tail-pill and .load-more-pill rules were only made by it, and the preview's own tail-pill override styled a pill that no longer exists. hive-tab-strip.js had no importer either. Four constants nobody imports are no longer exported. The shared terminal pane section of the web-ui shape doc now describes Row, linkify and markdown instead of the removed factory. Header comments that named removed components (StatusChips, MetaNav, Root.tsx, the cost badge, four folded sections, a detail dialog) now describe the current code.
This commit is contained in:
iris 2026-11-19 18:31:24 +01:00 • committed by mara
commit a1e5855859

View file

@ -31,10 +31,8 @@ export type BadgeTone =
* `'default'` — the filled pill every status/picker badge has always
* been. `'quiet'` — no permanent fill, only a background on hover/
* `expanded`; for an icon-only trigger that should read as chrome (a
* header button) rather than a status chip — mara: "link and settings
* button should not have the badge bg" against both the agent page's
* `MetaNav` and the shared `SettingsMenu` (swarm-ui + agent both use
* it). Same `variant` naming/shape as `Button`'s
* header button) rather than a status chip, as the shared
* `SettingsMenu` trigger does. Same `variant` naming/shape as `Button`'s
* `ButtonVariant` (`../../swarm-ui/src/ui/button/Button.tsx`) — visual
* weight is orthogonal to `tone` (color semantics), so it's its own prop
* rather than a new `tone` value.