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

[Request] Improve UI for sending/receiving (multiple) file(s) #560

Open
schlagmichdoch opened this issue Jan 6, 2023 · 0 comments
Open

Comments

@schlagmichdoch
Copy link

I have some issues with the current implementation when sending and receiving multiple files:

  • The 'Ask to save each file before downloading' button is never shown again once it is unchecked
  • When receiving mutliple files we do not know how many files are sent and how big they are
  • When sending multiple files we do not know whether all files have been sent successfully or what the overall status for sending files is
  • Files are sent and received without the user accepting the transfer which presents a security issue

I would love an implementation that is similar to Apples AirDrop:

  • Show a Dialog with a possibility to "Accept" or "Decline" the file to be send and only start sending afterwords
    • First, only a header is sent which includes: number of files and maybe the overall size to the receiving peer
    • if only one File is sent and it is an image, add an image thumbnail to show the file
      • Thumbnail dimensions:
        • max-size: 64kb (size of one chunk)
        • max-width: 352px (max-size of preview [bug] fix image overflow #559 )
        • probably reducing the image width to 352px should be enough to get below 64kb
  • Only after the receiving peer accepts the file(s) they are transferred one by one.
  • (Transfer status is shown dependent on the files already sent)
  • 'transfer-complete' is only sent when all files are transferred successfully
  • When all files are transferred successfully do not show a ReceiveDialog anymore (as we already did before transferring) but immediately start the download of all files

I think this would increase snapdrops security and intuitivity but needs some work.

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

1 participant