From 5c48f4ba777a51cf162d3433a6a4f43eb1ffefca Mon Sep 17 00:00:00 2001 From: "shoney.arickathil" Date: Mon, 24 Aug 2026 00:15:38 +0200 Subject: [PATCH] feat(shop): 37 target = in-class raw template literals (developer form) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - separate view.html files dropped; every render() now carries its '-- 37 target:' literal above the hand-lowered body — the pair is the DX referendum in one file - story 37 re-pointed: raw multi-line literal + {{ }} auto-escaped typed holes + {!! !!} raw slots; structural control stays if/for; w:if/w:for and .html files demoted to later; forks revised - rebuild verified on untouched toolchain Co-Authored-By: Claude Fable 5 --- docs/examples/shop/README.md | 26 +++++----- docs/examples/shop/layout/app.html | 20 -------- docs/examples/shop/layout/app.wo | 14 +++++ docs/examples/shop/layout/footer.html | 7 --- docs/examples/shop/layout/footer.wo | 2 + docs/examples/shop/layout/header.html | 11 ---- docs/examples/shop/layout/header.wo | 6 +++ docs/examples/shop/orders/view.html | 28 ---------- docs/examples/shop/orders/view.wo | 30 ++++++++++- docs/examples/shop/product_list/view.html | 20 -------- docs/examples/shop/product_list/view.wo | 26 ++++++++-- docs/examples/shop/product_page/view.html | 18 ------- docs/examples/shop/product_page/view.wo | 18 +++++++ .../refine/37-wo-html-components.md | 51 ++++++++++--------- 14 files changed, 130 insertions(+), 147 deletions(-) delete mode 100644 docs/examples/shop/layout/app.html delete mode 100644 docs/examples/shop/layout/footer.html delete mode 100644 docs/examples/shop/layout/header.html delete mode 100644 docs/examples/shop/orders/view.html delete mode 100644 docs/examples/shop/product_list/view.html delete mode 100644 docs/examples/shop/product_page/view.html diff --git a/docs/examples/shop/README.md b/docs/examples/shop/README.md index 4af0cba..5b57161 100644 --- a/docs/examples/shop/README.md +++ b/docs/examples/shop/README.md @@ -29,7 +29,7 @@ it and restart: the orders are still there (WAL replay). | `product_page/`, `orders/` | one view module per feature + its root controller file | feature folders | | `static_files/controller.wo` | `/assets/*` from disk, traversal-safe, typed | `angular.json` assets | | `assets/style.css` | ONE real stylesheet, sectioned per feature | the `.scss` files | -| `*/view.html`, `layout/*.html` | STORY 37's TARGET — markup-first templates ({{ }} auto-escaped, w:if/w:for, {!! !!} slots) that woc will COMPILE against the view classes; inert today | `.component.html` / Vue `