element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.05k stars 1.97k forks source link

Restore keys (from secure online backup) in background rather than foreground #20694

Open HarHarLinks opened 2 years ago

HarHarLinks commented 2 years ago

Your use case

What would you like to do?

I would like to put the progress window of restoring keys from online backup into background and continue using the app while it is (down)loading them. There should still be a progress indicator somewhere, and maybe a notification when restoration is complete.

Why would you like to do it?

image Once your account has a certain age, it will have loads of keys that take a long time to restore. In my case it takes "only" 1-2 minutes but I'm still impatient. (see also #15011, perhaps #19778?)

I would like to keep using the app in the meantime.

This would also solve or work around a couple of other issues

How would you like to achieve it?

Similar to how room joining can now happen in background.

Have you considered any alternatives?

No response

Additional context

No response

robintown commented 2 years ago

Progress could be indicated with the spinner at the top of the room list

germain-gg commented 2 years ago

I am very much on board with this idea! I have hit this a couple of times and this is a process that will understandly take a little while, but does not have to block a user from performing actions in the app

richvdh commented 3 months ago

It's not even obvious we should have this button. We should maybe instead always download key backups in the background (https://github.com/element-hq/element-meta/issues/2446)