Watch
0
0
Fork
You've already forked hyperhive
0

dashboard: drop the path-link and side-panel code the flow page was the only user of

appendLinkified had one caller, the flow page, and it pulled in the
path-link and file-preview chain, the side-panel singleton, the marked
and DOMPurify wiring and the css only they used. The docs stop
describing the dashboard side panel and the client reading file_refs.
This commit is contained in:
iris 2026-10-21 23:06:53 +02:00 • committed by mara
commit e7f977b99e
7 changed files with 9 additions and 437 deletions

View file

@ -8,7 +8,6 @@
// live in `./common.js`.
// 4G3NTS (containers) domain lives in `./agents.js`.
import { marked } from "marked";
import { $, openStream, initStickyTop } from "./common.js";
import { el } from "@hive/shared/dom.js";
import { bindAsyncForms } from "@hive/shared/forms.js";
@ -42,11 +41,6 @@ import {
} from "./kept.js";
import { renderLinksMenu } from "./links-menu.js";
// mdNode (in common.js) reads `window.marked` for the markdown side
// panel preview path. Set it here on the dashboard entry so file
// previews work.
window.marked = marked;
(() => {
initStickyTop();