Skip to content

Add scan history, quick add button, camera manual UPC test, and warning pop up#33

Merged
stephen2002119 merged 7 commits intomainfrom
feature/scan-history-and-ui
May 4, 2026
Merged

Add scan history, quick add button, camera manual UPC test, and warning pop up#33
stephen2002119 merged 7 commits intomainfrom
feature/scan-history-and-ui

Conversation

@oerivas-star
Copy link
Copy Markdown
Contributor

Add scan history, quick add button, camera manual UPC test, and warning

Changes

  • Added scan history storage using Firestore subcollection (users/{userId}/scans)
  • Added endpoint to fetch recent scans
  • Updated camera screen:
    • Saves scans automatically
    • Manual UPC input for testing
    • Warning modal for allergens/intolerances
  • Updated home screen:
    • Displays real recent scans
    • Quick Add modal
    • Improved bottom navigation
  • Updated profile screen:
    • Fetches real user data
    • Added working logout button

Notes

  • Manual UPC testing added for web since Expo Go camera is currently unreliable
  • Backend now handles scan persistence automatically

Future Work

  • Improve scan history UI
  • Add deletion/editing for scans
  • Improve mobile camera testing setup

Also fixing the edit functions
there was a bug in the edit that i totatlly forgot about but its good now

Copy link
Copy Markdown
Contributor

@Logan-Roche Logan-Roche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@stephen2002119 stephen2002119 merged commit 72179ce into main May 4, 2026
4 checks passed
@stephen2002119 stephen2002119 deleted the feature/scan-history-and-ui branch May 4, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants