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
|
|
@ -2,24 +2,20 @@
|
|||
"name": "@hive/shared",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"description": "Shared frontend modules used by both the dashboard and the per-agent UI: terminal log pane, Catppuccin palette, base typography. Imported by sibling workspaces; not bundled standalone.",
|
||||
"description": "Shared frontend modules used by both the dashboard and the per-agent UI: terminal log rows, Catppuccin palette, base typography. Imported by sibling workspaces; not bundled standalone.",
|
||||
"type": "module",
|
||||
"main": "./src/index.js",
|
||||
"dependencies": {
|
||||
"dompurify": "^3.2.4",
|
||||
"marked": "18.1.3",
|
||||
"preact": "11.2.0"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.js",
|
||||
"./terminal.js": "./src/terminal/terminal.js",
|
||||
"./term-msg.js": "./src/terminal/termMsg.ts",
|
||||
"./term-row.js": "./src/terminal/Row.tsx",
|
||||
"./term-linkify.js": "./src/terminal/linkify.tsx",
|
||||
"./term-markdown.js": "./src/terminal/markdown.ts",
|
||||
"./tabs.js": "./src/tabs/tabs.js",
|
||||
"./tabs.css": "./src/tabs/tabs.css",
|
||||
"./hive-tab-strip.js": "./src/tabs/hive-tab-strip.js",
|
||||
"./colors.css": "./src/colors.css",
|
||||
"./theme.css": "./src/theme.css",
|
||||
"./base.css": "./src/base.css",
|
||||
|
|
|
|||
Loading…
Reference in a new issue