feat(web): panel scroll contract, layout probe and functional suite
- lock the three-column height chain on workbench/PartDesign pages so each side panel scrolls independently and the centre stage keeps its size - dock module task panels above the layout with their own scrollbar instead of letting them push the stage out of the viewport - add tools/layout-probe.mjs (page scroll, aside bounds, pane scrolling, stage stability) and CLI mode for tools/static-host.mjs with relative --root support - add the P0-P4 browser functional suite, manual scenarios and capture tooling; document it under docs/current/web-functional-suite Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
19
web/src/workbench-entry.tsx
Normal file
19
web/src/workbench-entry.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
// Standalone entry for /workbench.html.
|
||||
//
|
||||
// The shell itself is a pure component: everything that touches document.body or
|
||||
// the URL at import time lives here, so that project-shell can import and render
|
||||
// <WorkbenchShell /> without side effects on its own document.
|
||||
import { createRoot } from "react-dom/client";
|
||||
import { installNavigation, readNavigationContext } from "./navigation.js";
|
||||
import { installUiAccessibility } from "./ui-accessibility.js";
|
||||
import { WorkbenchShell } from "./workbench-shell.js";
|
||||
|
||||
installNavigation("workbench", readNavigationContext());
|
||||
installUiAccessibility();
|
||||
|
||||
const container = document.querySelector<HTMLDivElement>("#app");
|
||||
if (!container) throw new Error("workbench entry: #app container is missing");
|
||||
// Lock the page to the viewport so the three-column layout can hand its own
|
||||
// scrollbars to the left and right panels (see panel-scroll.css).
|
||||
document.documentElement.classList.add("stage-lock");
|
||||
createRoot(container).render(<WorkbenchShell standalone />);
|
||||
Reference in New Issue
Block a user