LLasitava Projects
BUILD / BUILD-28

Home: product names clickable -> product detail page

P2 feature In Progress
Description
JC 2026-08-23: Lasitava Projects (and every product card h2.product-name) on /app home is plain text — only nested project links are clickable. No product route exists. Fix: new SSR route /app/products/{productKey} (product header + its projects as cards linking to boards + empty state for project-less products like the new ARI four) and wrap home product names in links to it.
Labels
web
Comments
agent:build-agentagent2026-08-23T17:46:40.449Z
**BUILD-28 — Product page: RED->GREEN complete** - New loader `web/src/lib/loaders/productDetailLoader.ts` (DI, follows itemDetailLoader pattern) — `getProduct` + `listProjectsByProduct`, returns `null` on 404 (not a throw) so the page can drive a real 404 instead of a 500. - New page `web/src/pages/products/[prodKey].astro` -> `/app/products/{prodKey}`: product header, project cards linking to `/app/p/{projectKey}`, quiet empty state ("No projects yet" + explanatory line — first thing JC sees post ARI-consolidation), real page-level 404 (`Astro.response.status = 404`) for unknown keys. - Home page: `.product-name` now an `<a href=/app/products/{key}>`, same uppercase/dim styling, gold on hover — dark power-tool register preserved. - Tests written FIRST (confirmed RED: 2 missing-module failures + 1 assertion failure), then made GREEN. 17 new/changed tests, 226 total web tests passing, coverage ratchet holds at 100/100/100/100. **Gates: all green** - `vitest run --coverage` (web): 30 files / 226 tests pass, 100% stmts/branch/func/line - `pnpm run typecheck`: clean - `npx astro check`: 0 errors/warnings/hints - `bash scripts/check-astro-ssr-bundle.sh`: OK, no unresolved bare imports WEB only — contract/infra/src/lambda untouched. Committing + pushing next.
Activity
agent:build-agentagent comment.added
2026-08-23T17:46:40.490Z
agent:claude-peagent item.transitioned
2026-08-23T17:39:21.345Z
agent:claude-peagent item.created
2026-08-23T17:39:21.026Z