-
Notifications
You must be signed in to change notification settings - Fork 79
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
feat(onboarding): add AC notif for importing old accounts #17078
base: feat/new-onboarding-metrics
Are you sure you want to change the base?
feat(onboarding): add AC notif for importing old accounts #17078
Conversation
Jenkins BuildsClick to see older builds (14)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in general!
ui/app/mainui/activitycenter/views/ActivityNotificationProfileFetching.qml
Outdated
Show resolved
Hide resolved
ui/app/mainui/activitycenter/views/ActivityNotificationProfileFetching.qml
Outdated
Show resolved
Hide resolved
ui/app/mainui/activitycenter/views/ActivityNotificationProfileFetching.qml
Show resolved
Hide resolved
asset { | ||
width: 24 | ||
height: width | ||
name: d.assetName |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always the same, no need to put it into d
color: Theme.palette.primaryColor1 | ||
bgWidth: 40 | ||
bgHeight: 40 | ||
bgColor: d.assetBgColor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
ee35755
to
a61d968
Compare
d2d7fe9
to
0e412d4
Compare
a61d968
to
6958aa5
Compare
0e412d4
to
aa5321c
Compare
Fixes #17028 When an old user imports an account, we now fetch the backups in the background and show an AC notification. When the fetch is successful, the AC notif switches to a success message. If after a timeout we detect that we didn't fetch anything or just part, we show an error and the possibility to try again.
6958aa5
to
a3fcb11
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
What does the PR do
Fixes #17028
When an old user imports an account, we now fetch the backups in the background and show an AC notification.
When the fetch is successful, the AC notif switches to a success message.
If after a timeout we detect that we didn't fetch anything or just part, we show an error and the possibility to try again.
Based on top of #17058
Status-go PR: status-im/status-go#6255
Affected areas
Onboarding and AC. In the status-go side, backup handling
Architecture compliance
My PR is consistent with this document: Status Desktop Architecture Guide
Screenshot of functionality (including design for comparison)
backup-fetching.webm
@micieslak @caybro if I could request your help please. I managed to make all the states (pending, failure, success), but the badge looks ugly in all but the pending state.
If you could give me a hand in making sure the badge icon looks ok, I'd appreciate. See in the video how the checkmark is way to big for no reason.
Impact on end user
Instead of waiting on a screen for the fetching to work only at the end they could move to the main screen, now they can see the app straight away and data is fetched in the background and shows up when it's ready.
How to test
Risk
Described potential risks and worst case scenarios.
Tick one:
Worst case, the bakcup fetching doesn't work