📋 Description
The ResumeDropzone component has inconsistent file validation. It validates file types when files are dragged and dropped, but fails to validate when files are selected through the file picker.
🐛 The Problem
Current Behavior:
- Drag-and-drop: ✅ Validates file is PDF, shows error if not
- File input picker: ❌ No validation, accepts any file type
Impact:
- Users can select non-PDF files via the file picker
- App attempts to parse non-PDF files, causing silent failures
- The error state (
hasNonPdfFile) is never triggered for file input selections
📍 Location
File: src/app/components/ResumeDropzone.tsx
🧪 Testing
- Select a
.pdf file via file picker → should import successfully
- Select a non-PDF file (
.txt, .docx, etc.) → should show "Only pdf file is supported" error
📌 Type
- bug: Missing file format validation
- good first issue
- GSSoC-2026
CAN I GET THE ISSUE ASSIGNED?
📋 Description
The
ResumeDropzonecomponent has inconsistent file validation. It validates file types when files are dragged and dropped, but fails to validate when files are selected through the file picker.🐛 The Problem
Current Behavior:
Impact:
hasNonPdfFile) is never triggered for file input selections📍 Location
File:
src/app/components/ResumeDropzone.tsx🧪 Testing
.pdffile via file picker → should import successfully.txt,.docx, etc.) → should show "Only pdf file is supported" error📌 Type
CAN I GET THE ISSUE ASSIGNED?