kiwi/frontend
pyr0ball 896b4e048c feat: recipe scanner — photo to structured recipe (kiwi#9)
New feature: photograph a recipe card, cookbook page, or handwritten
note and have it extracted into a structured, editable recipe.

Backend:
- POST /recipes/scan: accept 1-4 photos, run VLM extraction, return
  structured JSON for review (not auto-saved)
- POST /recipes/scan/save: persist a reviewed/edited recipe
- GET/DELETE /recipes/user: user-created recipe CRUD
- Vision backend priority: cf-orch -> local Qwen2.5-VL -> Anthropic BYOK
- 503 with clear config hint when no vision backend available
- Multi-photo support: facing pages (ingredients/directions) sent together
- Pantry cross-reference: marks which ingredients are already on hand
- migration 041: user_recipes table (title, servings, cook_time, steps,
  ingredients JSON, source, pantry_match_pct)
- Tier gate: recipe_scan -> paid, BYOK-unlockable

Frontend:
- "Scan" button in the Recipes tab bar (camera icon)
- RecipeScanModal: upload step (drag-drop + file picker, up to 4 photos,
  live previews), processing step (spinner), review/edit step (all
  fields inline-editable before save), pantry match badge, warning banner
  for low-confidence or incomplete scans

Tests: 35 new tests (23 unit + 12 API), 404 total passing
2026-04-27 08:23:01 -07:00
..
.vscode chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
public feat(pwa): add Progressive Web App support — installable to homescreen 2026-04-25 12:33:22 -07:00
src feat: recipe scanner — photo to structured recipe (kiwi#9) 2026-04-27 08:23:01 -07:00
.env chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
.gitignore chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
index.html feat(pwa): add Progressive Web App support — installable to homescreen 2026-04-25 12:33:22 -07:00
package-lock.json feat(pwa): add Progressive Web App support — installable to homescreen 2026-04-25 12:33:22 -07:00
package.json feat(pwa): add Progressive Web App support — installable to homescreen 2026-04-25 12:33:22 -07:00
THEMING_SYSTEM.md chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
tsconfig.app.json feat(kiwi-fe): wire OrchUsagePill into RecipesView and Settings opt-in toggle 2026-04-14 15:51:34 -07:00
tsconfig.json chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
tsconfig.node.json chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
vite.config.ts fix(pwa): set start_url/scope from VITE_BASE_URL so install launches /kiwi/ not site root 2026-04-25 12:59:59 -07:00