Skip to content

fix(frontend): add validation and error handling to UploadPanel (#242) - #1031

Open
krish-2048-real wants to merge 1 commit into
imDarshanGK:mainfrom
krish-2048-real:fix/upload-panel-errors
Open

fix(frontend): add validation and error handling to UploadPanel (#242)#1031
krish-2048-real wants to merge 1 commit into
imDarshanGK:mainfrom
krish-2048-real:fix/upload-panel-errors

Conversation

@krish-2048-real

Copy link
Copy Markdown

Changes Made

  • Added file format (.pdf, .txt, .csv, .docx, .md, .html) and 50MB file size checks.
  • Handled drag-and-drop file type validation.
  • Fixed file input state reset on re-uploading the same file.
  • Improved error message formatting for API failures.

Closes #242

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

@krish-2048-real is attempting to deploy a commit to the Darshan's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: upload panel should show a clear error for unsupported files

1 participant