-
Notifications
You must be signed in to change notification settings - Fork 987
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
Keycard - Allow user to migrate existing Profile [Part 2] #21408
Conversation
:phrase mnemonic | ||
:on-error | ||
set-invalid-seed-phrase}) | ||
(rf/dispatch |
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.
onboarding still a special case, should be refactored later
(rn/use-unmount | ||
#(rf/dispatch [:onboarding/clear-navigated-to-enter-seed-phrase-from-screen])) | ||
(when-not on-success | ||
#(rf/dispatch [:onboarding/clear-navigated-to-enter-seed-phrase-from-screen]))) |
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, later
on-error]}])}]) | ||
(rf/dispatch [:open-modal :screen/backup-recovery-phrase | ||
{:on-success (fn [{:keys [masked-seed-phrase | ||
random-phrase]}])}]))} |
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.
this is the end of the task, and will be continued in the next PRs
Jenkins BuildsClick to see older builds (4)
|
71% of end-end tests have passed
Failed tests (2)Click to expandClass TestWalletMultipleDevice:
Passed tests (5)Click to expandClass TestCommunityOneDeviceMerged:
Class TestWalletOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMerged:
|
e05973e
to
ab27849
Compare
94% of end-end tests have passed
Failed tests (3)Click to expandClass TestActivityCenterContactRequestMultipleDevicePR:
Passed tests (51)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestFallbackMultipleDevice:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityMultipleDevicePRTwo:
Class TestDeepLinksOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestCommunityOneDeviceMerged:
Class TestWalletMultipleDevice:
Class TestWalletOneDevice:
Class TestActivityMultipleDevicePR:
|
:profile/recovery-phrase-backed-up? | ||
:<- [:profile/profile] | ||
(fn [profile] | ||
(not (boolean (seq (:mnemonic profile)))))) |
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.
I think we can remove boolean here.
100% of end-end tests have passed
Passed tests (3)Click to expandClass TestActivityCenterContactRequestMultipleDevicePR:
|
hi @flexsurfer thank you for PR. No issues from my side. PR can be merged |
fixes #21366
fixes #21367
This PR makes two screens used by onboarding and wallet more general, so they could be used anywhere in the app
:screen/wallet.backup-recovery-phrase
is now more general:screen/backup-recovery-phrase
and
:screen/wallet.enter-seed-phrase
is:screen/use-recovery-phrase
:screen/use-recovery-phrase
is still not perfect, because it was implemented for onboarding and is still used there, but the onboarding code is a nightmare, and should be completely refactored laterQA: we need to make sure
backup-recovery-phrase
works fine in wallet still, anduse-recovery-phrase
work on onboarding and in walletin this PR we still don't test keycard, thank you