No description
Find a file
Your Name 14f9ec3160 refactor: decompose render pipeline into decorate() + source value
Replace the one branchy bootstrapTemplateWithHTMXetc (six positional
args, five jobs) with small pure functions: headChrome, blissAttrs,
decoratePage, decorateFragment, and a decorate() entry point. The
route/clone/copy provenance triple becomes a single `source` value
({structureId, routeId, copyUrl}) threaded through render — the same
data the inspector roadmap needs.

Collapse the four copy-pasted render sites (res.render, ws.render,
template preview, scaffold preview) onto renderTemplate + decorate,
and dedupe the per-structure route() closure into makeRoute().

Emitted HTML (head chrome + data-bliss-* attributes) is unchanged;
verified full-page and htmx-fragment output.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-02 22:22:00 -04:00
migrations feat: add file lib to routes, abstract out file upload functionality 2025-02-01 01:14:32 -05:00
public chore: add ws htmx ext to vc 2025-02-12 00:41:58 +09:00
views feat: wip previews for non-get routes 2025-01-21 02:38:24 -05:00
.gitignore chore: various gitignore fixes 2025-01-12 12:13:59 -05:00
CLAUDE.md chore: cleanup of code 2026-08-02 22:14:02 -04:00
db.js chore: cleanup of code 2026-08-02 22:14:02 -04:00
index.js refactor: decompose render pipeline into decorate() + source value 2026-08-02 22:22:00 -04:00
out.mp3 feat: add route helper to handler context 2025-02-12 00:46:39 +09:00
package-lock.json feat: add web push 2025-01-12 12:07:08 -05:00
package.json feat: add web push 2025-01-12 12:07:08 -05:00