Skip to content

Commit

Permalink
feat: EWM-251 add back up flow (#454)
Browse files Browse the repository at this point in the history
* create badge on wallet
create common modal
create modal backup modal

* keep safe modal

* create good job modal

* password modal + manul back up modal + logic

* add ui for check seed phrase screen, add logic of choosing word, showing finish modal dialog

* fix linter and comments

* finish logic

* fix modal with keyboard

* fix linter issues and some comments

* make method get value more universal

---------

Co-authored-by: Andrey Malochka <[email protected]>
  • Loading branch information
AndreyMolochko and Andrey Malochka authored Sep 9, 2024
1 parent c2563c0 commit d637d23
Show file tree
Hide file tree
Showing 52 changed files with 3,741 additions and 78 deletions.
Binary file added assets/images/circle_check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/exclamation_mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/lock_backup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 16 additions & 1 deletion assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"chooseNetwork": "Choose a network",
"chooseNetworkEverDescription": "Benefit from fast transactions,\nscalability, and seamless integration\nwith decentralized applications.",
"chooseNetworkVenomDescription": "Access a range of digital assets and\nservices with ease, thanks to its\nstreamlined and efficient blockchain\ninfrastructure.",
"checkSeedPhraseCorrectly": "Now let’s check that you wrote your seed phrase correctly. Please choose the correct words to continue.",
"checkSeedPhraseCorrectly": "We’ll verify that you wrote your seed phrase correctly. Please select the correct words to continue.",
"seedIsWrong": "The seed phrase is wrong",
"selectNetworkNewWalletDescription": "Select the network for your new wallet.\nThis will determine the blockchain and\ncryptocurrency you'll be using.",
"wordWord": "Word",
Expand Down Expand Up @@ -516,12 +516,27 @@
"sign": "Sign",
"encrypt": "Encrypt",
"decrypt": "Decrypt",
"notBackedUpTitle": "Not backed up",
"notBackedUpSubtitle": "Your seed phrase isn’t backed up. Back it up now to ensure you can restore it if needed.",
"backedUpTitleModal": "Back up your wallet",
"backedUpSubtitleModal": "Don’t lose your wallet! Save an encrypted copy to iCloud or back it up manually.",
"backedUpManuallyButton": "Back up manually",
"keepThisSafeTitleModal": "Keep this safe",
"keepThisSafeSubtitleModal": "Don\\'t forget this password! It is separate from your Apple iCloud password, and you should save it in a secure location.",
"keepThisSafeContentModal": "You\\'ll need it to restore your wallet from the backup in the future.",
"gotItButton": "Got It",
"goodJobTitleModal": "Good Job!",
"goodJobSubtitleModal": "You can come back here anytime to back up and check your seed phrase.",
"accounts": "Accounts",
"accountSettings": "Account settings",
"viewInExplorer": "View in Explorer",
"hideAccount": "Hide account",
"advancedSettings": "Advanced settings",
"backToSettings": "Back to Settings",
"check": "Check",
"checkPhrasesLabel": "Check phrases",
"manualBackupTitleDialog": "Manual backup",
"manualBackupSubtitleDialog": "Save your secret recovery phrase in a secure place that only you control.",
"createNewAccount": "Create new account",
"addExternalAccount": "Add an external account",
"confirmAction": "Confirm action",
Expand Down
17 changes: 16 additions & 1 deletion assets/translations/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"chooseNetwork": "Choose a network",
"chooseNetworkEverDescription": "Benefit from fast transactions,\nscalability, and seamless integration\nwith decentralized applications.",
"chooseNetworkVenomDescription": "Access a range of digital assets and\nservices with ease, thanks to its\nstreamlined and efficient blockchain\ninfrastructure.",
"checkSeedPhraseCorrectly": "Now let’s check that you wrote your seed phrase correctly. Please choose the correct words to continue.",
"checkSeedPhraseCorrectly": "We’ll verify that you wrote your seed phrase correctly. Please select the correct words to continue.",
"seedIsWrong": "The seed phrase is wrong",
"selectNetworkNewWalletDescription": "Select the network for your new wallet.\nThis will determine the blockchain and\ncryptocurrency you'll be using.",
"wordWord": "Word",
Expand Down Expand Up @@ -516,12 +516,27 @@
"sign": "Sign",
"encrypt": "Encrypt",
"decrypt": "Decrypt",
"notBackedUpTitle": "Not backed up",
"notBackedUpSubtitle": "Your seed phrase isn’t backed up. Back it up now to ensure you can restore it if needed.",
"backedUpTitleModal": "Back up your wallet",
"backedUpSubtitleModal": "Don’t lose your wallet! Save an encrypted copy to iCloud or back it up manually.",
"backedUpManuallyButton": "Back up manually",
"keepThisSafeTitleModal": "Keep this safe",
"keepThisSafeSubtitleModal": "Don't forget this password! It is separate from your Apple iCloud password, and you should save it in a secure location.",
"keepThisSafeContentModal": "You'll need it to restore your wallet from the backup in the future.",
"gotItButton": "Got It",
"goodJobTitleModal": "Good Job!",
"goodJobSubtitleModal": "You can come back here anytime to back up and check your seed phrase.",
"accounts": "Accounts",
"accountSettings": "Account settings",
"viewInExplorer": "View in Explorer",
"hideAccount": "Hide account",
"advancedSettings": "Advanced settings",
"backToSettings": "Back to Settings",
"check": "Check",
"checkPhrasesLabel": "Check phrases",
"manualBackupTitleDialog": "Manual backup",
"manualBackupSubtitleDialog": "Save your secret recovery phrase in a secure place that only you control.",
"createNewAccount": "Create new account",
"addExternalAccount": "Add an external account",
"confirmAction": "Confirm action",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d637d23

Please sign in to comment.