Commit Graph
2 Commits
Author SHA1 Message Date
admin 172ca4a29e fix(bulk-import): handle missing location data from DeepSeek analysis
Make location optional in ExtractedIncidentMetadata. Skip incidents without
site/zone instead of crashing. Handle null location in UI form inputs with
empty string defaults.

Fixes batch creation errors when PDF documents don't contain clear location
information for DeepSeek to extract.
2026-08-20 07:50:22 +08:00
admin abb2b3e707 feat(bulk-import): complete implementation
- API upload handler: extract folders/zip, analyze PDFs, return preview
- API batch creation: create incidents from reviewed metadata
- Form component: upload, editable preview table, import controls
- Admin page: bulk import page at /admin/bulk-import
- Admin link: button in admin panel

All components integrated and ready for testing.
2026-08-16 15:35:33 +08:00