-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
17649 - Hardware wallet signing state #17786
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
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.
Still need to do a comprehensive review and check out the branch but one suggestion. Great work on the story creation!
ui/components/ui/hardware-wallet-state/hardware-wallet-state.js
Outdated
Show resolved
Hide resolved
Builds ready [1a2b103]
Page Load Metrics (1798 ± 170 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [36814e7]
Page Load Metrics (1427 ± 43 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov Report
@@ Coverage Diff @@
## develop #17786 +/- ##
===========================================
+ Coverage 69.38% 70.38% +1.01%
===========================================
Files 987 962 -25
Lines 37267 36950 -317
Branches 10008 9620 -388
===========================================
+ Hits 25854 26006 +152
+ Misses 11413 10944 -469
|
Builds ready [330639c]
Page Load Metrics (1597 ± 50 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
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.
Looking great! Left a few minor suggestions. Travelling right now so don't have a hardware wallet on me to test locally so will need another approval to test funcitonality. I think it's out of the scope of this ticket but it would be great to update this notification to use BannerAlert as well. Might need some design attention 😅
ui/components/ui/hardware-wallet-state/hardware-wallet-state.js
Outdated
Show resolved
Hide resolved
ui/components/ui/hardware-wallet-state/hardware-wallet-state.js
Outdated
Show resolved
Hide resolved
ui/components/ui/hardware-wallet-state/hardware-wallet-state.stories.js
Outdated
Show resolved
Hide resolved
ui/components/ui/hardware-wallet-state/hardware-wallet-state.stories.js
Outdated
Show resolved
Hide resolved
ui/components/ui/hardware-wallet-state/hardware-wallet-state.stories.js
Outdated
Show resolved
Hide resolved
ui/components/ui/hardware-wallet-state/hardware-wallet-state.stories.js
Outdated
Show resolved
Hide resolved
… 17630-silent-ledger-failures
…tories.js Co-authored-by: George Marshall <[email protected]>
…tories.js Co-authored-by: George Marshall <[email protected]>
…tories.js Co-authored-by: George Marshall <[email protected]>
…tamask-extension into 17649-signing-hdwallet-state
…tamask-extension into 17649-signing-hdwallet-state
… 17630-silent-ledger-failures
…tamask-extension into 17649-signing-hdwallet-state
…tamask-extension into 17649-signing-hdwallet-state
Builds ready [22522eb]
Page Load Metrics (1890 ± 279 ms)
|
Thanks @georgewrmarshall - I just looked into updating the I'd be happy to do this, though would recommend that it be implemented in a separate PR - it uses |
@flexa-rob absolutely! Created another ticket here #17873 |
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
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.
Commit and push
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
… 17649-signing-hdwallet-state
This PR has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 14 days. Thank you for your contributions. |
This PR has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 14 days. Thank you for your contributions. |
This PR was closed because there has been no follow up activity in the last 14 days. Thank you for your contributions. |
Explanation
Issue explained via story:
Fixes:
#17649
#17630
#17606
See related:
#17937
#17940
Screenshots/Screencaps
Before
Signing request was allowed to proceed with a locked device:
Resulting in a silent error and no result:
After
Signing requests now monitor HD wallet state and displays an appropriate error message when locked.
Personal Sign:
Sign Typed Data:
Sign Typed Data V3:
Sign Typed Data V4:
Sign in With Ethereum:
Send Transaction:
Manual Testing Steps
Pre-merge author checklist
Pre-merge reviewer checklist
If further QA is required (e.g. new feature, complex testing steps, large refactor), add the
Extension QA Board
label.In this case, a QA Engineer approval will be be required.