Wire real camera + manual code entry (replace mock scan flow) #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Standalone -- Phase 7 scope for mcd-tracker
Repo
forgejo_admin/mcd-tracker-appUser Story
As a McDonald's rewards tracker user
I want to use my real camera and enter codes manually
So that I can track actual receipts instead of using mock data
Context
The scan flow in
scan/+page.svelteis 100% mocked -- fake camera, hardcoded survey code, simulated OCR delay. Need real functionality for end-to-end validation. Not doing receipt intelligence / OCR (that is Phase 14). Just making the flow functional with real camera + manual entry.File Targets
Files to modify:
src/routes/scan/+page.svelte-- replace mock camera with real capturePOST /receiptsAcceptance Criteria
POST /receiptssuccessfullyTest Expectations
npm run testConstraints
@capacitor/camerafor native,<input type="file" capture="camera">for web fallbackChecklist
Related
mcd-tracker-- parent project