Skip to content
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

wallet-ext: create & import flow #1979

Merged
merged 5 commits into from
May 17, 2022
Merged

Conversation

pchrysochoidis
Copy link
Contributor

@pchrysochoidis pchrysochoidis commented May 16, 2022

  • path aliases
  • fixes webpack eslint plugin to check all the files
  • force extension to open in main window when wallet is not initialized
  • create and import mnemonic
  • after creating a wallet show the mnemonic to the user to save for backup
  • NOTE: mnemonic is not encrypted for now

Views:

  • Welcome
    Screenshot 2022-05-16 at 12 43 06
  • Choose wallet init option
    Screenshot 2022-05-16 at 12 43 17
  • Import
Screenshot 2022-05-16 at 12 43 45 Screenshot 2022-05-16 at 12 44 15
  • Create
    Screenshot 2022-05-16 at 12 43 27

  • Backup
    Screenshot 2022-05-16 at 12 45 21

  • Main view (after importing/creating a wallet)

Screenshot 2022-05-16 at 12 44 38 Screenshot 2022-05-16 at 13 05 24

part of #1849

* also fixes webpack eslint plugin to check all the files
* force extension to open in main window when wallet is not initialized
* create and import mnemonic
* after creating a wallet show the mnemonic to the user to save for backup
* NOTE: mnemonic is not encrypted for now
@pchrysochoidis pchrysochoidis force-pushed the pc-wallet-ui-home-page branch from 7be1062 to a08db04 Compare May 16, 2022 12:10
@pchrysochoidis pchrysochoidis requested a review from 666lcz May 16, 2022 12:20
@666lcz
Copy link
Contributor

666lcz commented May 17, 2022

See video: "passphrase is not valid" does not prevent me from going into the next screen.

CleanShot.2022-05-16.at.22.27.00.mp4

Copy link
Contributor

@666lcz 666lcz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!! Overall looks good except a small bug

@pchrysochoidis
Copy link
Contributor Author

See video: "passphrase is not valid" does not prevent me from going into the next screen.

CleanShot.2022-05-16.at.22.27.00.mp4

Thanks for the review @666lcz! This was done in order to just follow this

Please remember to allow recovery from mnemonic phrases that have invalid checksums (or that you don't have the wordlist)

But I didn't care much about providing < 12 works, since in the end it creates a key. I will improve it and push a fix soon. Thanks

@pchrysochoidis
Copy link
Contributor Author

@666lcz I fixed it, just disabled the button whenever the mnemonic is invalid. (Updated some of the dependencies as well)

@pchrysochoidis pchrysochoidis merged commit 8dee75b into main May 17, 2022
@pchrysochoidis pchrysochoidis deleted the pc-wallet-ui-home-page branch May 17, 2022 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants