Add drag-and-drop document uploads
From the PR description
Summary
- Add drag-and-drop upload support to the shared document picker modal
- Add the same drag-and-drop upload flow to the project document picker modal
- Filter dropped/uploaded files to PDF, DOC, and DOCX with inline feedback for unsupported or failed uploads
Checks
npx eslint src/app/components/shared/AddDocumentsModal.tsx src/app/components/shared/AddProjectDocsModal.tsx src/app/components/shared/documentUpload.tsNEXT_PUBLIC_SUPABASE_URL=https://example.supabase.co NEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY=placeholder-anon-key SUPABASE_SECRET_KEY=placeholder-service-role-key NEXT_PUBLIC_API_BASE_URL=http://localhost:3001 npm run build
Note: full npm run lint currently fails on pre-existing lint errors outside this change.
Our analysis
Drag-and-drop upload in document picker modals — read the full analysis →
Think the analysis missed something the PR description covers?
Capture this PR into my fork
Download a Markdown prompt that tells Claude how to port every
commit in this PR into your working tree. Run it via
claude -p < capture-pull-35.md from
inside the repo you want the changes in.