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

w3console: Dropped files should upload immediately #286

Open
jchris opened this issue Jan 20, 2023 · 4 comments
Open

w3console: Dropped files should upload immediately #286

jchris opened this issue Jan 20, 2023 · 4 comments

Comments

@jchris
Copy link
Contributor

jchris commented Jan 20, 2023

For many cases the upload will be faster than the time it takes to focus and click the upload button.

Also the case where you want to compose an upload from multiple drops in the browser is not one we want to support. Too many edge cases.

I can see needing an undo or delete button, but that can be after mvp

@jchris jchris changed the title Dropped files should upload immediately w3console: Dropped files should upload immediately Jan 20, 2023
@olizilla
Copy link
Contributor

I was thinking we could cronch the file into a CAR on file drop, so we get the CID early, and then let the user trigger the upload manually, to reinforce the "it's your CID, you made it, we can store it for you if you want". The upload step would be faster with a pre-baked CAR... but yeah, we could also just straight upload it on drop.

@jchris
Copy link
Contributor Author

jchris commented Jan 25, 2023

I just will forget to click it, because I would think it is already done

@travis
Copy link
Member

travis commented Jan 25, 2023

I think it'd be pretty straightforward to add an autoupload option to the uploader components. Still leave the question of what the default should be and TBH I'm very undecided - not automatically uploading is probably a bit more in line with the way HTML form-based UX usually works so soft preference for defaulting to no autoupload, but you could push me off this position pretty easily...

@jchris
Copy link
Contributor Author

jchris commented Jan 26, 2023

I guess if I'm doing a form submit on a general-purpose website I agree that helps capture intent. For uploading on a file upload website, personally I think it makes the website into the tool people are seeking, moreso if the upload is immediate. Eg the tool is more ready-to-hand if the upload is automatic.

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

No branches or pull requests

3 participants