googleinterns / filesystem-in-appsscript

Apache License 2.0
5 stars 1 forks source link

Updated Local file upload prompt #74

Closed muskangarg98 closed 4 years ago

muskangarg98 commented 4 years ago

Updated the Local File Uploader UI and added some checks. Added a file picker so that the user can decide which drive folder they want the uploaded file to be stored to.

  1. New Local File Upload From Screenshot 2020-07-06 at 12 47 02 PM

  2. Check if the uploaded file and local path mimetype matches or not Screenshot 2020-07-06 at 12 55 44 PM

  3. Success message Screenshot 2020-07-06 at 12 56 49 PM

muskangarg98 commented 4 years ago

I have made a separate HTML script file which contains the "getMimetypeFromExtension" function and is shared across File Picker and the Local File Uploader. Now, we don't need to have repetition atleast on the client-side.