feat: implement report submission and display (task 9)

- Created reportService for API interactions (upload, create, get, verify, dispute)
- Built ReportDetailModal component with photo gallery and verification UI
- Updated ReportForm with actual API submission and progress tracking
- Added error handling and success states
- Created ReportDetailDemo page to showcase modal functionality
- Added route for demo page at /demo/report-detail
- Exported services through index file for cleaner imports
- Documented implementation in SUBMISSION_IMPLEMENTATION.md

Requirements fulfilled: 1.8, 7.4
This commit is contained in:
2025-11-16 16:35:05 +00:00
parent c4aad5d099
commit 3aa7576487
10 changed files with 1105 additions and 19 deletions

View File

@@ -1,4 +1,5 @@
export { PhotoUpload } from './PhotoUpload';
export { LocationSelector } from './LocationSelector';
export { ReportForm } from './ReportForm';
export { ReportDetailModal } from './ReportDetailModal';
export type { PhotoMetadata } from './PhotoUpload';