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:
5
src/services/index.ts
Normal file
5
src/services/index.ts
Normal 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';
|
||||
Reference in New Issue
Block a user