feat: continue your session and link device to I have an account

pull/3056/head
William Grant 2 years ago
parent 68f8d12aa5
commit 825c617794

@ -98,7 +98,6 @@
"contactsHeader": "Contacts",
"contextMenuNoSuggestions": "No Suggestions",
"continue": "Continue",
"continueYourSession": "Continue Your Session",
"conversationsHeader": "Contacts and Groups: $count$",
"conversationsNone": "You don't have any conversations yet",
"conversationsSettingsTitle": "Conversations",
@ -270,7 +269,6 @@
"leaving": "Leaving...",
"leftTheGroup": "$name$ has left the group.",
"lightboxImageAlt": "Image sent in conversation",
"linkDevice": "Link Device",
"linkPreviewDescription": "Generate link previews for supported URLs.",
"linkPreviewsConfirmMessage": "You will not have full metadata protection when sending link previews.",
"linkPreviewsTitle": "Send Link Previews",

@ -36,14 +36,14 @@ export const useRecoveryProgressEffect = (props: UseRecoveryProgressEffectProps)
dispatch(setProgress(progress + 1));
}
window.log.debug(
`WIP: [continueYourSession] AccountRestoration.Loading Loading progress ${progress}%`
`WIP: [useRecoveryProgressEffect] AccountRestoration.Loading Loading progress ${progress}%`
);
if (progress >= 100) {
clearInterval(interval);
// if we didn't get the display name in time, we need to enter it manually
window.log.debug(
`WIP: [continueYourSession] AccountRestoration.Loading We didn't get the display name in time, so we need to enter it manually`
`WIP: [useRecoveryProgressEffect] AccountRestoration.Loading We didn't get the display name in time, so we need to enter it manually`
);
dispatch(setAccountRestorationStep(AccountRestoration.DisplayName));
}
@ -56,7 +56,7 @@ export const useRecoveryProgressEffect = (props: UseRecoveryProgressEffectProps)
dispatch(setProgress(progress + 1));
}
window.log.debug(
`WIP: [continueYourSession] AccountRestoration. Finishing progress ${progress}%`
`WIP: [useRecoveryProgressEffect] AccountRestoration. Finishing progress ${progress}%`
);
if (progress >= 100) {
@ -71,13 +71,13 @@ export const useRecoveryProgressEffect = (props: UseRecoveryProgressEffectProps)
clearInterval(interval);
if (!isEmpty(displayName)) {
window.log.debug(
`WIP: [continueYourSession] AccountRestoration.Complete Finished progress`
`WIP: [useRecoveryProgressEffect] AccountRestoration.Complete Finished progress`
);
dispatch(setAccountRestorationStep(AccountRestoration.Complete));
} else {
dispatch(setAccountRestorationStep(AccountRestoration.DisplayName));
window.log.debug(
`WIP: [continueYourSession] AccountRestoration.DisplayName failed to fetch display name so we need to enter it manually`
`WIP: [useRecoveryProgressEffect] AccountRestoration.DisplayName failed to fetch display name so we need to enter it manually`
);
}
}, ONBOARDING_TIMES.RECOVERY_FINISHED);
@ -87,7 +87,7 @@ export const useRecoveryProgressEffect = (props: UseRecoveryProgressEffectProps)
clearInterval(interval);
if (!isEmpty(displayName)) {
window.log.debug(
`WIP: [continueYourSession] AccountRestoration.Complete opening inbox for ${displayName}`
`WIP: [useRecoveryProgressEffect] AccountRestoration.Complete opening inbox for ${displayName}`
);
trigger('openInbox');
}

@ -102,7 +102,6 @@ export type LocalizerKeys =
| 'contactsHeader'
| 'contextMenuNoSuggestions'
| 'continue'
| 'continueYourSession'
| 'conversationsHeader'
| 'conversationsNone'
| 'conversationsSettingsTitle'
@ -269,7 +268,6 @@ export type LocalizerKeys =
| 'leaving'
| 'leftTheGroup'
| 'lightboxImageAlt'
| 'linkDevice'
| 'linkPreviewDescription'
| 'linkPreviewsConfirmMessage'
| 'linkPreviewsTitle'

Loading…
Cancel
Save