From 953211624341c6d78e4afde65f3ff9d49ee46924 Mon Sep 17 00:00:00 2001 From: "shoney.arickathil" Date: Mon, 24 Aug 2026 00:01:11 +0200 Subject: [PATCH] feat(shop): story-37 target templates beside the hand-lowering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - view.html per feature + layout app/header/footer.html: the markup- first form woc will compile ({{}} auto-escaped, w:if/w:for, {!! !!} slots, w:component sections); inert today, verified not to disturb the build - README: pair is the DX referendum — .html is the target feel, view.wo is today's cost; doctrine line reworded (templates compile or don't exist) Co-Authored-By: Claude Fable 5 --- docs/examples/shop/README.md | 16 +++++++++---- docs/examples/shop/layout/app.html | 20 ++++++++++++++++ docs/examples/shop/layout/footer.html | 7 ++++++ docs/examples/shop/layout/header.html | 11 +++++++++ docs/examples/shop/orders/view.html | 28 +++++++++++++++++++++++ docs/examples/shop/product_list/view.html | 20 ++++++++++++++++ docs/examples/shop/product_page/view.html | 18 +++++++++++++++ 7 files changed, 115 insertions(+), 5 deletions(-) create mode 100644 docs/examples/shop/layout/app.html create mode 100644 docs/examples/shop/layout/footer.html create mode 100644 docs/examples/shop/layout/header.html create mode 100644 docs/examples/shop/orders/view.html create mode 100644 docs/examples/shop/product_list/view.html create mode 100644 docs/examples/shop/product_page/view.html diff --git a/docs/examples/shop/README.md b/docs/examples/shop/README.md index 0d99509..4af0cba 100644 --- a/docs/examples/shop/README.md +++ b/docs/examples/shop/README.md @@ -29,6 +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 `