Yashdew / Assessor

An open-source Resume Analyzer and Ranking tool for recruiters and candidates.
http://assessor.vercel.app/
MIT License
18 stars 8 forks source link

Upload Files Error Handling #30

Open SkSumit opened 2 years ago

SkSumit commented 2 years ago

This uploading file component does not handle HTTP errors.

SandraBiros commented 2 years ago

Hello can I work on this issue ? Please assign me.

SkSumit commented 2 years ago

Yeah @SandraBiros go ahead!

Yashdew commented 2 years ago

Hi @SandraBiros, I have assigned you this issue. Kindly raise PR to the dev branch.

saurabh-lohiya commented 2 years ago

But it doesn't allow users to upload the file which isn't pdf

Yashdew commented 2 years ago

@saurabh-lohiya Yes, It's because the standard format while applying for the job is PDF. That's why we are only using PDF files.

saurabh-lohiya commented 2 years ago

@saurabh-lohiya Yes, It's because the standard format while applying for the job is PDF. That's why we are only using PDF files.

Yaa but then why are doing error handling of it won't upload any other file

Yashdew commented 2 years ago

@SkSumit and @JayeshPadhiar Kindly look into this

SkSumit commented 2 years ago

@saurabh-lohiya You can do the error handling for server errors, show some visual cue, such as a modal, alert or toast.

saurabh-lohiya commented 2 years ago

Okay thanks!! @SkSumit