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:
parent
3d88108c4f
commit
a1e5855859
1 changed files with 78 additions and 990 deletions
|
|
@ -12,13 +12,8 @@
|
|||
// lucide-style line icons, `currentColor` stroke so they pick up
|
||||
// whatever text colour the surrounding `Badge`/button already has.
|
||||
//
|
||||
// Originated in swarm-ui's `shell/SettingsMenu.tsx` (gear) and
|
||||
// `shell/LinksMenu.tsx` (link chain) as separate inline copies; moved
|
||||
// here once the agent page's `MetaNav`/`SettingsMenu` needed the exact
|
||||
// same icons too (mara: the settings trigger went back to a text glyph
|
||||
// when `SettingsMenu` was extracted into `@hive/shared`, undoing this
|
||||
// fix — restoring the SVG here, in the shared component this time,
|
||||
// fixes it for both pages at once instead of just one).
|
||||
// Shared here so `SettingsMenu`, `LinksMenu` and the swarm UI's shell draw the
|
||||
// settings gear and the link chain from one place.
|
||||
import type { ComponentChildren } from "preact";
|
||||
|
||||
export function GearIcon() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue