Add the node builder app, served at /node_builder #36
Loading…
Reference in a new issue
No description provided.
Delete branch "node-builder"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ports the Claude Design Node Builder and Node Builder Mobile files into a self-contained app in
node_builder/, served at/node_builder. It shares only the font files with the rest of the site. The design's logic class is kept almost verbatim; the template is rewritten with htm because the design runtime needsevaland CDN React, which the CSP blocks. The design-system components it uses are copied from the bundle and the Lucide icons are vendored as a sprite. React, htm, js-yaml and JSZip are pinned copies undervendor/.Under 900px it switches to the mobile design: sheets instead of side panels, tap-to-connect, a tile-based add sheet and a full-screen problems list.
Behavioural changes to the site:
server.jsserves a directory'sindex.html, and the build copies the folder intodist/node_builder/with content-hashed asset links and adds the page to the sitemap. No CSP change.Tested with
node --test(20 passing, 1 skipped), html-validate on the built output, and a headless Chromium run through both layouts: selecting, pin assignment, wire drag and the bind/command chooser, YAML, zip download, dark theme, and on the phone layout the sheets, tap-to-connect, add, problems and pinch zoom. No console errors or failed requests.Not included: no Umami tag on the builder page and no link to it from the site nav.