-
Notifications
You must be signed in to change notification settings - Fork 5.2k
feat: When switching network alert the user and get approval if there are pending requests from origin. #30674
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
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 [0505bc5]
Page Load Metrics (1612 ± 54 ms)
|
OGPoyraz
previously approved these changes
Mar 5, 2025
OGPoyraz
reviewed
Mar 5, 2025
app/scripts/lib/rpc-method-middleware/handlers/ethereum-chain-utils.js
Outdated
Show resolved
Hide resolved
5739a10
to
a124990
Compare
jpuri
commented
Mar 5, 2025
@@ -6,7 +6,7 @@ import { getMockPersonalSignConfirmState } from '../../../../../test/data/confir | |||
import { renderHookWithProvider } from '../../../../../test/lib/render-helpers'; | |||
import * as AlertActions from '../../../../ducks/confirm-alerts/confirm-alerts'; | |||
|
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.
These files are renamed as its used for all add/switch flows.
d5840f8
to
97ef600
Compare
Builds ready [7351c5c]
Page Load Metrics (1715 ± 81 ms)
|
Builds ready [1aa7809]
Page Load Metrics (2269 ± 340 ms)
|
1aa7809
to
d42103d
Compare
Builds ready [d42103d]
Page Load Metrics (1632 ± 61 ms)
|
…ending requests from origin.
d42103d
to
d2d7db9
Compare
OGPoyraz
previously approved these changes
Mar 7, 2025
…k-extension into switch_network_approval
Builds ready [70e4136]
Page Load Metrics (1903 ± 153 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
pedronfigueiredo
approved these changes
Mar 13, 2025
OGPoyraz
approved these changes
Mar 13, 2025
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
release-12.15.0
Issue or pull request that will be included in release 12.15.0
team-confirmations
Push issues to confirmations team
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.
Description
When switching network alert the user and get approval if there are pending requests from origin.
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/4269
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/4327
Manual testing steps
EVM_MULTICHAIN_ENABLED
Screenshots/Recordings
Pre-merge author checklist
Pre-merge reviewer checklist