szimek / sharedrop

Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
https://www.sharedrop.io
MIT License
9.94k stars 725 forks source link

When uploading multiple files, ask whether to send them right away #122

Open ghost opened 2 years ago

ghost commented 2 years ago

If the user sends multiple files, they will be compressed first and then the interface will ask whether to send the files. But it requires waiting for the files to be compressed and then picking up the phone again and clicking "send". But if it was possible to confirm "send" right away, it would make it one less step.

szimek commented 2 years ago

Unfortunately, enabling the app to send multiple files one after another would be much more work. This is just a workaround. You could archive all files before sending them to avoid doing it in the browser, but I understand it might not be easy on the phone.

ghost commented 2 years ago

I'm not sure if you understood me though. I didn't mean sending multiple files one after another. I meant that now it happens this way:

  1. The user chooses multiple files.
  2. The website is showing a progress circle indicating that the files are being compressed.
  3. Once compressed, the website asks the user to confirm sending.

I suggest to make it this way:

  1. The user chooses multiple files.
  2. The website asks the user to confirm sending, while beginning compression at the same time. When the files have been compressed, they are immediately sent, without an additional dialogue box.

So the dialogue box to confirm sending the files which are to be compressed is shown right away, eliminating one step.