Enable users to drag-and-drop PDF reports onto the audit list page, which automatically opens the create-audit dialog with the file attached. The dialog chains createAudit → uploadAuditReport mutations, with graceful handling for partial failures (audit created but upload failed). Changes: - AuditsPage: Add dropzone with visual overlay (dashed border + icon) when dragging PDFs - CreateAuditDialog: Accept optional file prop, show file info, chain mutations on submit - Extract audit ID from createAudit response to pass to uploadAuditReport - Handle upload failure with warning toast, allowing manual upload from audit detail page - Add react-dropzone dependency to console app Signed-off-by: Bryan Frimin <bryan@getprobo.com>
1.8 KiB
1.8 KiB