Users are navigated to this screen after they provide credentials and wait here until the backup is restored.
https://linear.app/comm/issue/ENG-9680/create-a-restoration-screen
Depends on D14038
Differential D14084
[native] Create a restore backup screen tomek on Thu, Dec 5, 7:37 AM. Authored by Tags None Referenced Files
Subscribers None
Details Users are navigated to this screen after they provide credentials and wait here until the backup is restored. https://linear.app/comm/issue/ENG-9680/create-a-restoration-screen Depends on D14038 Click restore button on the password screen and check if this screen is displayed and looks correctly.
Diff Detail
Event TimelineComment Actions Accepting to unblock, but the style of the box looks a bit inconsistent with the design language we're using here. It's left-aligned, so it's maybe a bit less awkward than the box in D14064. But overall, these boxes with curved borders feel a little out-of-place. Comment Actions This is how this screen looks like without the borders and with a consistent text style: Comment Actions I think the consistency is improved, but three notes:
Comment Actions
The backup details is a header for the two fields that are displayed. Based on the discussion from https://linear.app/comm/issue/ENG-9680/create-a-restoration-screen it seems like getting the size might take some time, so if we decide to support only the timestamp for now, we shouldn't display the backup details header and the bullet points.
Going to do some research about it. Comment Actions We're using a library https://www.npmjs.com/package/react-native-progress for displaying the multimedia upload progress, and we can consider using it here. I updated the diff with one of the options, but the NPM page presents some alternatives. Comment Actions Looks okay. Would be nice to be able to show progress, but I recognize we'll probably need to wait on backup size calculation for that. Comment Actions Having the size is only one part of this. If we had it, we would be able to show the downloading progress, but then there are two more steps: decrypting and restoring - for these, showing an actual progress could be a lot more challenging. Regardless, without user data backup, showing the progress isn't too useful - with just the keys, the operation shouldn't take too much time.
|