-
Notifications
You must be signed in to change notification settings - Fork 5.4k
fix: Consider client active once it is open and unlocked #37607
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
Merged
+6
−2
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
Mrtenz
previously approved these changes
Nov 7, 2025
Collaborator
Builds ready [07d9fc5]
UI Startup Metrics (1228 ± 103 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Collaborator
✨ Files requiring CODEOWNER review ✨🫰 @MetaMask/core-platform (1 files, +1 -1)
|
Mrtenz
approved these changes
Nov 7, 2025
GuillaumeRx
approved these changes
Nov 7, 2025
Collaborator
Builds ready [29c0bf4]
UI Startup Metrics (1204 ± 90 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
INVALID-PR-TEMPLATE
PR's body doesn't match template
release-13.10.0
Issue or pull request that will be included in release 13.10.0
size-XS
team-core-platform
Core Platform 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
We recently changed it so
onActivefires once the client has been unlocked. This PR adjusts the hook that provides theactiveflag to the same behavior.Changelog
CHANGELOG entry: null
Note
Updates client activity to require both UI open and wallet unlocked, and adjusts Snap client-status E2E test expectations.
getIsActiveinapp/scripts/metamask-controller.jsto returnthis._isClientOpen && isUnlocked(was onlythis._isClientOpen).test/e2e/snaps/test-snap-clientstatus.spec.tsto expectactive: falsewhenlocked: true.Written by Cursor Bugbot for commit 29c0bf4. This will update automatically on new commits. Configure here.