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

5
src/services/index.ts Normal file
View File

@@ -0,0 +1,5 @@
// Service exports
export { apiClient } from './api';
export { reportService } from './reportService';
export type { ApiError } from './api';
export type { CreateReportPayload, UploadPhotoResponse } from './reportService';