w3ui
w3ui copied to clipboard
w3console: Dropped files should upload immediately
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
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.
I just will forget to click it, because I would think it is already done
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...
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.