Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve experience for Multifile/Folder Upload #6803

Open
hoxbro opened this issue Apr 30, 2024 · 0 comments
Open

Improve experience for Multifile/Folder Upload #6803

hoxbro opened this issue Apr 30, 2024 · 0 comments
Labels
bokeh Request is for change in bokeh type: enhancement Minor feature or improvement to an existing feature

Comments

@hoxbro
Copy link
Member

hoxbro commented Apr 30, 2024

Currently, the FileUpload widget looks like something from the '90s, which is "good enough" for simple cases.

 Screenshot 2024-04-30 14 40 11

A case where one could argue that it could be improved are:

  1. Better feedback for the process of uploading multiple files. This could be a two-step procedure
    a) Uploading of files to the browser. If we can monitor the process of individual files, I suggest adding a progress bar per file. If not, then we can do one for all files.
    b) When the files are synchronized to the server. This could be done with a green checkmark for each file or one for all.
  2. The second thing is that it is currently not possible to upload a folder/directory directly. This can solved by enabling the HTML attribute webkitdirectory. I have a POC here. A limitation of this attribute is you will get a warning message (for security re
     Screenshot 2024-04-30 14 35 15
    asons).

The good thing is the files will have information on the folder structure, as shown in this playground example.  
 Screenshot 2024-04-30 14 35 24

Some inspiration for how a more modern could look:

  • If we want to implement it ourselves [ref]
  • A finished product [filepond]
@hoxbro hoxbro added the TRIAGE Default label for untriaged issues label Apr 30, 2024
@philippjfr philippjfr added type: enhancement Minor feature or improvement to an existing feature bokeh Request is for change in bokeh and removed TRIAGE Default label for untriaged issues labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bokeh Request is for change in bokeh type: enhancement Minor feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants