User Interface medium complexity mobile
1
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Full-screen camera and photo library picker interface for capturing receipt images. Displays a live camera preview with accessible capture controls, a gallery picker option, and confirmation/retake flow after capture. Enforces WCAG 2.2 AA requirements with semantic labels on all controls and confirmation feedback on successful upload.

Feature: Receipt Photo Upload

receipt-camera-screen

Responsibilities

  • Present camera viewfinder and photo library access options
  • Trigger image capture or gallery selection via image_picker
  • Display upload progress and success/failure confirmation feedback
  • Enforce threshold-based receipt prompt when expense amount exceeds configured limit
  • Provide accessible camera trigger buttons with semantic labels

Interfaces

openCamera()
openGallery()
captureImage()
retakeImage()
confirmUpload(imageFile)
showUploadProgress(progress)
showSuccessConfirmation(receiptId)
showErrorFeedback(error)
close()

Relationships

Dependencies (1)

Components this component depends on

Related Data Entities (1)

Data entities managed by this component