Commit Graph

8 Commits

Author SHA1 Message Date
khalid@traclabs.com
6599a5e68f v0.7: shop storefront + routed app
AppRouter replaces the single-page App as the mounted root: shop routes
(/ and /shop → ShopHome, /shop/:productSlug → ProductPage, /cart →
CartStub, /customize → CustomizeRoute) plus the template-manager admin
surfaces (/admin/templates|products|featured|trash, v0.8 adds
/admin/inventory + RequireAdmin wrapping). App.jsx stays on disk one
release as the documented legacy fallback — nothing imports it.

New shop UI: components/shop/ (ShopHome/Hero/ProductGrid/ProductCard/
ProductPage/ProductGallery/ProductInfo/ProductBuyPanel/CartStub/
ShopHeader/TemplateGalleryForProduct), hooks (useShopProducts/
useShopProduct/useCart/useFacetCatalog), and shop.css + admin.css.

Header gains the module-gated Clear button (onCanClearChange /
onElementCountChange mirror the editor module's history-commit
signals); i18n keys follow. vite proxies /products to the Node server
(template-manager serves product imagery — without it the SPA fallback
returns index.html as an image) and adds a template-manager chunk.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-01 23:28:58 -05:00
khalid@traclabs.com
87f5753804 Fix uploads and stickers caching rules 2026-05-24 11:06:10 -05:00
khalid@traclabs.com
e4e9459c86 Update to add externalized dependencies for the goods-editor-module 2026-05-24 10:56:43 -05:00
khalid@traclabs.com
070c95e254 Break editor into a module 2026-05-24 08:44:29 -05:00
khalid@traclabs.com
3277bbe5ec Update to use a function 2026-05-23 04:10:22 -05:00
khalid@traclabs.com
8294c47f74 Spit dependencies into chunks 2026-05-23 04:05:03 -05:00
khalid@traclabs.com
b1fb6fa3aa Major update for v1 and tests 2026-05-23 03:28:58 -05:00
khalid@traclabs.com
4d19363d58 Flatted and issues fixed with Claude Desktop. 2026-04-22 06:21:02 -05:00