Skip to content

docs(tutorials): storefront typed cart/checkout frontend chapter + series polish#684

Merged
rickylabs merged 2 commits into
mainfrom
docs/661-storefront-quality
Jul 11, 2026
Merged

docs(tutorials): storefront typed cart/checkout frontend chapter + series polish#684
rickylabs merged 2 commits into
mainfrom
docs/661-storefront-quality

Conversation

@rickylabs

Copy link
Copy Markdown
Owner

Refs #661 (storefront rollout slice — headline of the wave)

Adds the missing storefront FRONTEND chapter (audit proposal 6): new 06-storefront-ui.md — typed cart route + typed checkout mutation through the sdk seam (contract-derived keys from createServiceQueryUtils + typed client calls as the hook bodies, with an honest callout: scratch deno check proved the utils' queryOptions()/mutationOptions() results are not raw-spreadable into the island hooks, so the chapter teaches the real seam, not a fiction). Deploy renumbered to ch07 with the one-command Aspire framing (proposal 18); series learningPaths renumbered; index lede names the differentiator + contrast (proposal 17); ch02 PORT typed-config note; xref map updated.

New chapter code:prose 42% (within the 25–45% MedusaJS band). Validation: docs verify green — 170 pages (169 + the new chapter) / 23,624 links; grep gate 0 hits; no stale deploy refs (worklog in-branch at .llm/runs/docs-661a-storefront--opus/).

Authored by a Claude Opus 4.8 docs agent under the beta-8 orchestrator (4d300496); Tier-A reviewed.

rickylabs and others added 2 commits July 12, 2026 00:18
…roposal #6)

Add 06-storefront-ui.md showcasing the frontend typed spine the storefront
series never touched: a bound route contract (createRouteReference /
defineRouteContract / bindRoutePattern), a per-service createServiceClient +
createServiceQueryUtils clients module, and a Fresh island reading with
useIslandQuery and beginning checkout with useIslandMutation. Deploy renumbered
06 -> 07; prev/next/learningPath/xref navigation rewired across the series.

Every API grounded via deno doc + two scratch deno checks against packages/sdk
and packages/fresh; the island uses contract-derived keys with typed client
calls (the SDK queryOptions/mutationOptions result is not raw-spreadable into
the zero-arg island hooks).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VifzAytcxBk5odEMaCXihM
…ng, PORT note

- index.md: name the differentiator the series proves + a 'what this replaces'
  contrast sentence (proposal #17).
- 02-catalog-service.md: note that Aspire injects PORT and services.<name>.port
  in netscript.config.ts is the typed source of truth (proposal #7).
- 07-deploy.md one-command scaffold-to-Aspire framing shipped with commit 1;
  worklog records the full run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VifzAytcxBk5odEMaCXihM
@rickylabs rickylabs added this to the 0.0.1-beta.8 milestone Jul 11, 2026
@rickylabs rickylabs added area:docs status:impl-eval type:docs priority:p1 High epic:docs-cut beta.7 docs release cut epic (tutorials + positioning) labels Jul 11, 2026
@rickylabs
rickylabs marked this pull request as ready for review July 11, 2026 22:27
@rickylabs
rickylabs merged commit 4674f67 into main Jul 11, 2026
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs epic:docs-cut beta.7 docs release cut epic (tutorials + positioning) priority:p1 High status:impl-eval type:docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant