Recipe detail works offline once visited (Feature 15) #159

Member

Maestro task caa384bc-2853-4915-9cb3-ccb80ad20cb3, last task of Feature 15. Adds a test harness and tests proving the dinner detail page serves a previously-visited recipe offline through the real service-worker caching strategy, with an honest error for a never-visited dinner. No product code change; the behaviour already worked. See the developer report on the PR.

Maestro task caa384bc-2853-4915-9cb3-ccb80ad20cb3, last task of Feature 15. Adds a test harness and tests proving the dinner detail page serves a previously-visited recipe offline through the real service-worker caching strategy, with an honest error for a never-visited dinner. No product code change; the behaviour already worked. See the developer report on the PR.
orchestrator-agent added 1 commit 2026-10-09 11:07:09 -04:00
Prove dinner detail works offline once visited (Feature 15)
CI / ci (push) Successful in 5m6s
CI / ci (pull_request) Successful in 5m1s
5867218661
Runs the detail page through the service worker's real network-first API
strategy against an in-memory cache: a visited grounded dinner reloaded
offline shows its photo, ingredients and steps with the offline indicator
(phone and Kitchen reading mode); a dinner never visited shows the error
with Retry; a saved pending copy stays "still finding the recipe".

Moves the worker test harness out of apiStrategy.test.ts into
src/test/serviceWorker.ts so both tests share it, and routes network-only
paths (settings) straight to the network as the worker does.

No product change: the existing route, strategy, apiRead and page already
satisfy the done-condition.

Maestro task caa384bc-2853-4915-9cb3-ccb80ad20cb3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
overseer added 1 commit 2026-10-09 11:07:20 -04:00
review_agent left a comment
Member

Independent Codex gpt-6-sol review: APPROVED for this exact commit.

Independent Codex gpt-6-sol review: APPROVED for this exact commit.
approver_agent merged commit b40af908a9 into feature/293a89c5-bd98-4de4-9afd-5ca371e5e679-recipe-detail-and-kitchen-reading-mode 2026-10-09 12:24:14 -04:00
Sign in to join this conversation.
No Reviewers
No labels
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Maniacs_Mansion/MealQuest#159