-
Notifications
You must be signed in to change notification settings - Fork 393
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
🗝 QA - Accounts backup and private key import #3266
Conversation
Editing name of Private Key label isn't working. Let's remove the settings icon entirely. As these will have accounts from more accounts and places |
It it possible to change the mnenonic_container size based on content? |
### What Implemented UI changes requested in: #3266 ### Testing - test if changes requested in linked PR were applied correctly Latest build: [extension-builds-3270](https://github.com/tahowallet/extension/suites/12183072896/artifacts/643338009) (as of Wed, 12 Apr 2023 12:00:49 GMT).
First round of comments from my QA-ing
|
If I remember correctly these were just a first version so we can adjust them if needed
Yes I think so but it will be updated just before the release or so cc @Naxsun
We agreed to use the existing password screen cc @VladUXUI |
Bug #3276 (Can't correctly import account using recovery phrase when it was earlier imported using private key and removed) reported. |
|
@michalinacienciala, why do you think the tabs shouldn’t be there anymore? |
@VladUXUI, I'm not saying the tabs certainly must go, I was just wondering if they are there for some reason. When I was going through the import and got to the Success screen the clickable tabs at this stage looked a bit strange to me from the UX perspective - it felt a bit to me that they're leftover artifacts from the previous stage. As a user I wouldn't expect them to still be there clickable when the key got already imported (the key got imported - why would I want to go back to a different tab?). I certainly don't think that how this currently works needs to be changed in order for the functionality to be QA approved. But if, for example, disabling the clickability of the tabs would be a small change, maybe it would be worth to add it? Unless, of course, the clickability is there for a reason. |
Testing that did not work marked with FAILED General regression testingCompleted in this order
testing order I performed after that, in order
begin JSON testing
remove extension and install again
remove extension and install again
recommended tests from PR description:Private keys importImporting accounts with private keys
Importing accounts with JSON files
Functionality of account imported with private key
Functionality of account imported with JSON file
Accounts backupThese are the same steps as here: #3252 Exporting private key for account imported with text private key
Exporting private key for account imported with JSON file
Exporting private key for specific accounts from wallet imported with mnemonic
Exporting mnemonics for wallet imported with mnemonic
Exporting mnemonics for wallet generated in-wallet
Export vs Ledger and read-only accounts
Other export tests
Feedback and results
|
3c888c3
to
210908a
Compare
@VladUXUI what do you think?
Already ticketed #3139
@VladUXUI how would we like to handle it?
and other issues related to adding the same account more than one time with the same method or different: this should be fixed now, we will just silently switch to the account if it was already imported. There is an "upgrade" path so account will be listed under the correct section: @michalinacienciala please retest these scenarios |
I've started retesting.
It occurs for me only when I press Enter on the Unlock screen. When I click 'Unlock' button manually, I'm correctly transferred to the next stage of exporting pk. @beemeeupnow, I assume you also used |
Yes, I always press the Enter key there. I'm glad you identified that! |
Another thing I noticed during retests is a bit inconsistent behavior when it comes to assigning second/third/etc addresses to the account imported as a mnemonic. Let's say we have: If we import mnemonic_1 and and import private key belonging to address_2 then address_2 gets added under Private Key account (to make it appear under mnemonic_1, we must click If we import mnemonic_1 and then click Is that something intended? |
@michalinacienciala so this is happening because of how we are deriving addresses from mnemonics. By default we are only deriving one address. So the application is unaware of more accounts than needed (and their secrets). That allows you to import a second address with a private key and it is not recognized by default as a mnemonic member. I would say this behavior is fine. It is "safer" on the technical level because we are not making the wallet aware of accounts that are not being used by the user. Unless the user will fully remove the mnemonic it can add (once derived, added and then removed - in fact hidden) accounts again with any method and recognize them as belonging to the mnemonic. That was the behavior we had for a long time so I would hesitate to change it. As long as accounts are fully functional regardless if they are listed under the mnemonic or private key section this shouldn't bother our users. @beemeeupnow thanks, will try to make the keyboard usable there :) |
@jagodarybacka, thanks for explaining 👍 |
### What Changes requested during PR review #3089 Highlights: - massive rename from `keyring` to `internal signer` - cleanups and adding doc comments - fixing and improving types - fixing minor bugs Please check commits to get a better understanding of the scope. This is already merged to the QA branch #3266 so QA will be done on these changes as well. Latest build: [extension-builds-3331](https://github.com/tahowallet/extension/suites/12618917536/artifacts/675458826) (as of Tue, 02 May 2023 13:11:00 GMT).
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.
Let's land this fellow!
## What's Changed * Add private key onboarding flow by @jagodarybacka in #3119 * Private key JSON import by @jagodarybacka in #3177 * Allow export of private keys and mnemonics by @jagodarybacka in #3248 * Export private key form by @jagodarybacka in #3255 * Unlock screen for the account backup by @kkosiorowska in #3257 * Show mnemonic menu by @jagodarybacka in #3259 * Fix background blur issue by @jagodarybacka in #3265 * Account backup UI fixes by @jagodarybacka in #3270 * Fix unhiding removed accounts by @jagodarybacka in #3282 * New error for incorrectly decrypted JSON file by @jagodarybacka in #3293 * Export private keys from HD wallet addresses by @jagodarybacka in #3253 * Refactor keyring redux slice to remove `importing` field by @jagodarybacka in #3309 * 📚 Accounts backup by @kkosiorowska in #3252 * Catch Enter keypress on Unlock screen by @jagodarybacka in #3355 * Rename `keyring` to `internal signer` and other improvements by @jagodarybacka in #3331 * 🗝 QA - Accounts backup and private key import by @jagodarybacka in #3266 * Remove private key signers if they are replaced by accounts from HD wallet by @jagodarybacka in #3377 * RFB 4: One-Off Keyring Design by @Shadowfiend in #3372 * Copy to clipboard warning by @kkosiorowska in #3488 * Allow setting custom auto-lock timer by @hyphenized in #3477 * Use Argon2 for encrypted vaults by @jagodarybacka in #3502 * 👑 Private keys import and accounts backup by @jagodarybacka in #3089 * Untrusted assets should not block the addition of custom tokens by @kkosiorowska in #3491 * Flip updated dApp connections flag by @Shadowfiend in #3492 * v0.41.0 by @Shadowfiend in #3531 * Switch to a given network if adding a network that is already added. by @0xDaedalus in #3154 * Remove waiting for Loading Doggo component in E2E tests by @jagodarybacka in #3541 * Squeeze content to better fit on Swaps page by @jagodarybacka in #3542 * Refactor of terms for verified/unverified assets by @kkosiorowska in #3528 * Fix ChainList styling by @fulldecent in #3547 * Update release checklist by @jagodarybacka in #3548 * Fix custom asset price fetching by @hyphenized in #3508 * Sticky Defaults: Make Taho-as-default replace MetaMask in almost all cases by @Shadowfiend in #3546 ## New Contributors * @fulldecent made their first contribution in #3547 **Full Changelog**: v0.41.0...v0.42.0 Latest build: [extension-builds-3549](https://github.com/tahowallet/extension/suites/14268975651/artifacts/801826435) (as of Thu, 13 Jul 2023 09:51:56 GMT).
Testing checklist
Useful tips:
Private keys import
Importing accounts with private keys
Importing accounts with JSON files
Functionality of account imported with private key
Functionality of account imported with JSON file
Accounts backup
These are the same steps as here: #3252
Exporting private key for account imported with text private key
Exporting private key for account imported with JSON file
Exporting private key for specific accounts from wallet imported with mnemonic
Exporting mnemonics for wallet imported with mnemonic
Exporting mnemonics for wallet generated in-wallet
Export vs Ledger and read-only accounts
Other export tests
Latest build: extension-builds-3266 (as of Tue, 09 May 2023 13:19:32 GMT).