TryQuiet / quiet

A private, p2p alternative to Slack and Discord built on Tor & IPFS
https://www.tryquiet.org
GNU General Public License v3.0
1.98k stars 86 forks source link

QSS: User should get feedback while invite data is uploading / invite link is being prepared #2465

Open holmesworcester opened 7 months ago

holmesworcester commented 7 months ago

Quiet Storage Service (QSS) introduces a step where invite data is uploaded to QSS so that when a user joins they will be able to join quickly and easily.

On Android and Desktop this upload can happen in the background, but on iOS we will need to have users keep the app open while this upload happens to be sure that it completes. I think the best way to do this is to hide the invite link itself behind upload progress. It might be annoying to wait, but the end result will be more reliable.

I think the best way to do this is to extend this design for joining, so that there is an intermediate step while the invite link is being generated that shows upload progress:

https://www.figma.com/file/KWwKWqDtwobe53l8RL84WJ/Invites?type=design&node-id=338-4976&mode=design&t=itvNqPq2kdsJAqKx-4

It can say "Preparing invite link" or "Generating invite link"

When complete, users get the choice of copying it, a QR code, etc.

holmesworcester commented 7 months ago

Here is a rough design:

Image

Figma: https://www.figma.com/file/KWwKWqDtwobe53l8RL84WJ/Invites?type=design&node-id=720-6208&mode=design&t=itvNqPq2kdsJAqKx-4

We can choose whether to do this on desktop as well or just on mobile.