- Add backend/internal/web/ui/catalog/catalog.templ: single-page layout with 240px sidebar nav (11 anchor links) and 11 component sections with section headings matching DS-XX requirement IDs - Add backend/internal/web/ui/catalog/examples.go: Example struct + typed example functions for all 11 component types (badge/button/card/empty-state/ form-field/icon-button/input/modal/select/table/textarea); modal renders panel-only (no backdrop wrapper, Pitfall 7) - Add backend/internal/web/catalog_route_catalog.go (//go:build catalog): RegisterCatalogRoute mounts GET /ui-catalog via catalogPageHandler() - Add backend/internal/web/catalog_route_stub.go (//go:build !catalog): no-op RegisterCatalogRoute for production builds - Wire RegisterCatalogRoute(r) unconditionally in NewRouter after protected routes - Add justfile catalog target: just generate + go run -tags catalog ./cmd/web - go build ./... and go build -tags catalog ./... both pass; go test ./... green |
||
|---|---|---|
| .. | ||
| auth | ||
| db | ||
| files | ||
| jobs | ||
| session | ||
| tablos | ||
| tasks | ||
| web | ||