-
Notifications
You must be signed in to change notification settings - Fork 5.2k
feat: Fix plan 835 Hid request dialog keep on prompting up during pagination. #30384
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
Merged
+387
−15
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Builds ready [2dcab12]
Page Load Metrics (1832 ± 91 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [cf89481]
Page Load Metrics (1654 ± 42 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [d5a8a67]
Page Load Metrics (1954 ± 101 ms)
|
gantunesr
reviewed
Mar 6, 2025
… all possible cases.
Builds ready [1359e03]
Page Load Metrics (2033 ± 127 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [a438e07]
Page Load Metrics (1585 ± 33 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
dawnseeker8
commented
Mar 11, 2025
dawnseeker8
commented
Mar 11, 2025
dawnseeker8
commented
Mar 11, 2025
gantunesr
previously approved these changes
Mar 12, 2025
Builds ready [1900595]
Page Load Metrics (2215 ± 184 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Tested on Chrome and working as expected. HID popup is not displayed when switching different pages on the account list or when switching HD paths. See below: |
Builds ready [567ef59]
Page Load Metrics (4752 ± 2268 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
gantunesr
previously approved these changes
Mar 17, 2025
gabo76555
approved these changes
Mar 17, 2025
mikesposito
reviewed
Mar 18, 2025
ui/pages/create-account/connect-hardware/__snapshots__/index.test.tsx.snap
Show resolved
Hide resolved
…est.tsx.snap Co-authored-by: Michele Esposito <[email protected]>
gantunesr
previously approved these changes
Mar 18, 2025
Builds ready [a0600d4]
Page Load Metrics (3805 ± 1897 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
gantunesr
approved these changes
Mar 18, 2025
mikesposito
approved these changes
Mar 19, 2025
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
hardware-ledger
QA Passed
release-12.16.0
Issue or pull request that will be included in release 12.16.0
Sev2-normal
Normal severity; minor loss of service or inconvenience.
team-hardware-wallets
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is relative to solve the plan 835
This PR including following change:
connectHardware
method signature to has extraloadHid
boolean parameter to see whether we need to load HID request prompt up.connect-hardware/index.js
to and passloadHid = true
parameter value to above actions.connect-hardware/account-list.js
and all pagination feature relative functions to passloadHid = false
to disable HID request popup apear.Description
Related issues
Fixes: https://github.com/MetaMask/accounts-planning/issues/835
Manual testing steps
This test requires a Ledger hardware device with more than 5 accounts:
Screenshots/Recordings
Before
The following popup is displayed after each "Next" action
After
The popup is not displayed repeatedly
Pre-merge author checklist
Pre-merge reviewer checklist