-
Notifications
You must be signed in to change notification settings - Fork 5k
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
fix: handle null STX status as pre-enabled state #29968
Merged
Merged
+26
−4
Conversation
This file contains 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
Update migration to treat null preference value as an existing enabled state, preventing unneeded banner display for v12.6.0-12.7.2 migrations.
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. |
- ui/components/app/snaps/snap-ui-address/snap-ui-address.test.tsx - ui/components/multichain/connect-accounts-modal/connect-accounts-modal.test.tsx
- ui/components/multichain/connect-accounts-modal/__snapshots__/connect-accounts-modal.test.tsx.snap
- ui/components/multichain/connect-accounts-modal/__snapshots__/connect-accounts-modal.test.tsx.snap
Adds Google's image hosting domain to allowed hosts list for Solana account testing.
Builds ready [2972e76]
Page Load Metrics (1921 ± 85 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Builds ready [54b7ef1]
Page Load Metrics (1824 ± 81 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Builds ready [c1df208]
Page Load Metrics (1464 ± 40 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Builds ready [11904f6]
Page Load Metrics (1667 ± 68 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
pedronfigueiredo
approved these changes
Jan 30, 2025
Builds ready [bb84ecb]
Page Load Metrics (1599 ± 41 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
dan437
approved these changes
Jan 30, 2025
Builds ready [367f825]
Page Load Metrics (1697 ± 83 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
release-12.11.0
Issue or pull request that will be included in release 12.11.0
release-12.12.0
Issue or pull request that will be included in release 12.12.0
team-transactions
Transactions 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
Only remaining QA issue for feature: [EXT] STX Banner Alert & STX x Default Migration
Update migration to treat null preference value as an existing enabled state, preventing unneeded banner display for v12.6.0-12.7.2 migrations.
The update removes the
null
check in the migration'stransformState
function (near line 46 of135.ts
)And let the condition fall through to the else block. This will ensure that
smartTransactionsMigrationApplied: false
and ensure that we don't see a banner on Transaction Confirmation.Related issues
Fixes: #29970
Description
Migration fails when the origin extension is version 12.7.x (tested 1 and 2)
In this cases, the alert banner is displayed in the confirmation screen (e.g: send and swaps) when the parameter STX in settings was enabled in the older extension.
Expected behavior
The behaviour should be:
extension 12.11.0 < with STX activated -> update to 12.11.0 and no banner is displayed in the confirmation screen
Manual testing steps for fix
Screenshots/Recordings
For users with STX ON before and after Migration:
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist