-
Notifications
You must be signed in to change notification settings - Fork 40
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
feat: Wipe wallet group #1331
feat: Wipe wallet group #1331
Conversation
Here's the packed extension for this build: |
Here's the packed extension for this build: |
Here's the packed extension for this build: |
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.
Here's the packed extension for this build: |
@BrodyHughes Found another issue where dapps connections persist after we remove a seed phrase, leading to these keychain errors. This might be true for "hide wallet" and "remove wallet" features too. I think we'll need to implement a watcher or logic to automatically disconnect dapps in these scenarios |
Here's the packed extension for this build: |
Here's the packed extension for this build: |
} | ||
|
||
export default function WarningInfo({ | ||
iconAndCopyList, |
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.
maybe this don't have to be a prop either, seems like a very specific component no need to abstract it, or change the name and abstract to use in the other similar screens?
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.
🐐🐐🐐
Here's the packed extension for this build: |
Here's the packed extension for this build: |
@@ -22,25 +18,18 @@ import * as wallet from '../../../handlers/wallet'; | |||
const t = (s: string) => | |||
i18n.t(s, { scope: 'settings.privacy_and_security.wallets_and_keys' }); | |||
|
|||
async function handleWipeWallet() { |
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.
could maybe inline this now bc it's way smaller now with your refactor. idk what your preference is.
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 like creating functions outside the component when possible, so it won't be recreated on every rerender, but it's not a huge performance gain here I'd go with whatever you think is more readable, up to you
Here's the packed extension for this build: |
Here's the packed extension for this build: |
Here's the packed extension for this build: |
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.
tested this with greg's changes and it lgtm
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.
Looks good to me!
Here's the packed extension for this build: |
Co-authored-by: Daniel Sinclair <[email protected]> Co-authored-by: gregs <[email protected]>
Fixes BX-1254
Figma link: https://www.figma.com/file/hzfwKOddfRmeVO4KUsG9wM/branch/bQjlkhAqO2w3nk7NJF5EKS/Rainbow-BX?type=design&node-id=15871-3647&mode=design&t=XOaSEV6pKSICFPvc-0
What changed (plus any additional context for devs):
Screen recordings / screenshots
POW:
Screen.Recording.2024-02-02.at.3.20.13.PM.mov