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
|
|
@ -3,10 +3,8 @@
|
|||
// value, react to it changing, write a new one") rather than each
|
||||
// caller reinventing its own key handling. Not settings-page-specific:
|
||||
// any client-local preference reaches for `useLocalSetting` directly.
|
||||
// Originated in swarm-ui's own `lib/settings-storage.ts`; moved here
|
||||
// once the per-agent page needed the identical mechanism (mara: "i
|
||||
// think the component should be shared" — see `SettingsMenu.tsx`'s
|
||||
// file comment for the full story).
|
||||
// Lives in `@hive/shared` so every package that needs a stored setting uses
|
||||
// the one mechanism (see `SettingsMenu.tsx`'s file comment).
|
||||
//
|
||||
// `localStorage`'s own `storage` event only fires in *other* tabs, never
|
||||
// the tab that made the write — so two components in the same tab both
|
||||
|
|
|
|||
Loading…
Reference in a new issue