Skip to content

VSN-2437/ feat(vehicle-inspection): add 'état des lieux' module with inspections, reports and AI image analysis

fatima senan a demandé de fusionner feature/VSN-2437 vers develop

Summary

  • New "État des lieux" tab module accessible from the home screen
  • Inspections: list, detail view, and creation form
    • Multi-section form
    • Multi-slot photo fields with camera/gallery picker
    • AI photo validation via OpenAI Vision (validates correct vehicle part per photo)
    • damage detection on accepted vehicle photos — auto-populates the anomaly photo field
    • Bounding boxes drawn on detected damage photos using a hidden off-screen WebView canvas
  • Reports: list (filtered by driver) and detail view with PDF download and email send
  • Planning: list and detail screens (mock data)
  • New API layer: vehicleInspectionService.ts, vehicleInspectionEndpoints.ts
  • New Zustand store: inspectionListStore
  • Shared components: ReportSkeleton, InspectionCard, ReportCard, MissionCard

Rapports de requête de fusion