Skip to content

Commit 260638f

Browse files
committed
Merge branch 'main' into hm/refactor-snaps-ui-tests
2 parents 70c2044 + 72f0156 commit 260638f

File tree

510 files changed

+23744
-6344
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

510 files changed

+23744
-6344
lines changed

.github/CODEOWNERS

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ app/components/UI/TemplateRenderer @MetaMask/confirmations @MetaMask/snaps-dev
103103
# Wallet API Platform Team
104104
app/core/RPCMethods/ @MetaMask/wallet-api-platform-engineers
105105

106-
# Staking Team
107-
app/components/UI/Stake @MetaMask/metamask-staking
108-
app/core/Engine/controllers/earn-controller @MetaMask/metamask-staking
109-
app/core/Engine/messengers/earn-controller-messenger @MetaMask/metamask-staking
110-
app/selectors/earnController @MetaMask/metamask-staking
111-
**/Earn/** @MetaMask/metamask-staking
112-
**/earn/** @MetaMask/metamask-staking
106+
# Earn Team
107+
app/components/UI/Stake @MetaMask/metamask-earn
108+
app/core/Engine/controllers/earn-controller @MetaMask/metamask-earn
109+
app/core/Engine/messengers/earn-controller-messenger @MetaMask/metamask-earn
110+
app/selectors/earnController @MetaMask/metamask-earn
111+
**/Earn/** @MetaMask/metamask-earn
112+
**/earn/** @MetaMask/metamask-earn
113113

114114
# Assets Team
115115
app/components/hooks/useIsOriginalNativeTokenSymbol @MetaMask/metamask-assets

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Bug Report
22
description: Using MetaMask, but it's not working as you expect?
33
title: "[Bug]: "
44
labels: ["type-bug"]
5+
type: 'Bug'
56
body:
67
- type: markdown
78
attributes:
@@ -11,7 +12,7 @@ body:
1112
## **Before Submitting:**
1213
1314
* Please search to make sure this issue has not been opened already.
14-
* If this is a question about how to integrate MetaMask with your project, please ask in our [Community forum](https://community.metamask.io/c/developer-questions/) instead. This will get your question answered more quickly and make it easier for other devs to find the answer in the future.
15+
* If this is a question about how to integrate MetaMask with your project, please ask in our [Community forum](https://community.metamask.io/c/developer-discussion/) instead. This will get your question answered more quickly and make it easier for other devs to find the answer in the future.
1516
- type: textarea
1617
id: what-happened
1718
attributes:
@@ -55,7 +56,7 @@ body:
5556
description: At what stage was the bug detected?
5657
options:
5758
- In production (default)
58-
- In beta
59+
- In public beta
5960
- During release testing
6061
- On main branch
6162
- On a feature branch

.github/scripts/check-template-and-add-labels.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function extractRegressionStageFromBugReportIssueBody(
203203
return RegressionStage.DevelopmentMain;
204204
case 'During release testing':
205205
return RegressionStage.Testing;
206-
case 'In beta':
206+
case 'In public beta':
207207
return RegressionStage.Beta;
208208
case 'In production (default)':
209209
return RegressionStage.Production;

.github/workflows/changelog-check.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66

77
jobs:
88
check-changelog:
9+
# Asking engineers to update CHANGELOG.md increases the potential for
10+
# conflicts across all pull requests.
11+
# Disable this workflow until we can refine the new changelog process.
12+
if: false
13+
914
uses: MetaMask/github-tools/.github/workflows/changelog-check.yml@91e349d177db2c569e03c7aa69d2acb404b62f75
1015
with:
1116
base-branch: ${{ github.event.pull_request.base.ref }}

.iyarc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Advisory exclusions
2+
GHSA-h9w6-f932-gq62

CHANGELOG.md

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
- feat(bridge): implement quote expiration handling in Bridge feature ([#14872](https://github.com/MetaMask/metamask-mobile/pull/14872))
13+
- feat(bridge): use dynamic slippage for single-chain Solana swaps ([#14805](https://github.com/MetaMask/metamask-mobile/pull/14805))
14+
- feat(bridge): enhance bridging with network fee estimation and UI improvements ([#14786](https://github.com/MetaMask/metamask-mobile/pull/14786))
15+
- feat(ramp): auto-select region ([#14780](https://github.com/MetaMask/metamask-mobile/pull/14780))
16+
- feat(bridge): add solana chain support and improve bridge state management ([#14713](https://github.com/MetaMask/metamask-mobile/pull/14713))
17+
- feat(bridge): add error handling and input management for bridge quotes ([#14693](https://github.com/MetaMask/metamask-mobile/pull/14693))
1218
- feat(multi-srp): enable multi-srp in main and beta ([#14558](https://github.com/MetaMask/metamask-mobile/pull/14558))
1319
- feat(ramp): Update ramp data flow to fetch cryptos before payment methods ([#14437](https://github.com/MetaMask/metamask-mobile/pull/14437))
1420
- feat(bridge): add destination account picker ([#14656](https://github.com/MetaMask/metamask-mobile/pull/14656))
1521
- feat(bridge): add Solana assets to bridge token pickers ([#14365](https://github.com/MetaMask/metamask-mobile/pull/14365))
1622
- feat: add AppMetadataController controller ([#14513](https://github.com/MetaMask/metamask-mobile/pull/14513))
1723
- feat(bridge): implement bridge quote fetching ([#14413](https://github.com/MetaMask/metamask-mobile/pull/14413))
18-
24+
- feat(multi-srp): add e2e tests ([#14583](https://github.com/MetaMask/metamask-mobile/pull/14583))
25+
- feat(bridge): fetch token metadata for Bridge token pickers if not already available ([#14699](https://github.com/MetaMask/metamask-mobile/pull/14699))
26+
- feat(bridge): use `BridgeStatusController` for EVM and Solana Bridge transaction submission ([#14708](https://github.com/MetaMask/metamask-mobile/pull/14708))
27+
- feat(multi-srp): add discover accounts to MultichainWalletSnapClient ([#14727](https://github.com/MetaMask/metamask-mobile/pull/14727))
28+
- feat: real time dapp scanning BrowserTab ([#14515](https://github.com/MetaMask/metamask-mobile/pull/14515))
1929

2030
### Changed
2131

2232
- feat(bridge): Handle Solana vs EVM swap and bridge routing ([#14614](https://github.com/MetaMask/metamask-mobile/pull/14614))
33+
- fix(multi-srp): allow a user to select srp when creating a multichain account ([#14644](https://github.com/MetaMask/metamask-mobile/pull/14644))
34+
- fix(multi-srp): display errors only after all the words are have been entered ([#14607](https://github.com/MetaMask/metamask-mobile/pull/14607))
35+
- feat: update address truncation format from 4 to 5 characters to match extension ([#14744](https://github.com/MetaMask/metamask-mobile/pull/14744))
36+
- fix(multi-srp): display errors only after all the words are have been entered ([#14607](https://github.com/MetaMask/metamask-mobile/pull/14607))
37+
- fix(wallet-ux): increased touchable area for account picker so it is easier to select ([#14762](https://github.com/MetaMask/metamask-mobile/pull/14762))
38+
- fix(multi-srp): display alternative text color when in dark mode([#14718](https://github.com/MetaMask/metamask-mobile/pull/14718))
39+
40+
### Fixed
41+
42+
- fix(bridge): keyboard not appearing when error banner is displayed ([#14862](https://github.com/MetaMask/metamask-mobile/pull/14862))
43+
- fix(bridge): fix not switching networks when selecting source token ([#14712](https://github.com/MetaMask/metamask-mobile/pull/14712))
44+
- fix: updates a padding style specifically for Android devices ([#14725](https://github.com/MetaMask/metamask-mobile/pull/14725))
45+
- fix(bridge): enhance UI/UX with improved input handling and layout adjustments ([#14781](https://github.com/MetaMask/metamask-mobile/pull/14781))
46+
- fix(swaps): set default slippage when source or destination token is not stablecoin ([#14730](https://github.com/MetaMask/metamask-mobile/pull/14730))
47+
- fix(bridge): fix transaction history for EVM and Solana bridge transactions ([#14759](https://github.com/MetaMask/metamask-mobile/pull/14759))
48+
- fix(bridge): change networks properly when user switches between source and destination tokens ([#14812](https://github.com/MetaMask/metamask-mobile/pull/14812))
2349

2450
## [7.44.0]
2551

@@ -93,11 +119,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
93119
- fix: inherit icon size from text component parent ([#14024](https://github.com/MetaMask/metamask-mobile/pull/14024))
94120
- fix: animation added for loading state on SnapUILink button ([#13973](https://github.com/MetaMask/metamask-mobile/pull/13973))
95121
- fix: Revert "chore: upgrade Xcode 16 on bitrise.yml" ([#14012](https://github.com/MetaMask/metamask-mobile/pull/14012))
96-
97-
### Fixed
98-
99122
- fix(bridge): hide staked native assets from token selectors ([#14457](https://github.com/MetaMask/metamask-mobile/pull/14457))
100123

124+
101125
## [7.43.0]
102126

103127
### Added

app/component-library/components-temp/Contracts/ContractBoxBase/__snapshots__/ContractBoxBase.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ exports[`Component ContractBoxBase should render correctly 1`] = `
5252
<Text
5353
variant="sBodyMD"
5454
>
55-
0x2990...a21a
55+
0x29900...da21a
5656
</Text>
5757
</Component>
5858
</View>

app/component-library/components/Pickers/PickerAccount/PickerAccount.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ const PickerAccount: React.ForwardRefRenderFunction<
6161
);
6262

6363
return (
64-
<View style={styles.pickerAccountContainer}>
64+
<TouchableOpacity
65+
style={styles.pickerAccountContainer}
66+
onPress={props.onPress}
67+
>
6568
<PickerBase
6669
iconSize={IconSize.Xs}
6770
style={styles.base}
@@ -79,7 +82,7 @@ const PickerAccount: React.ForwardRefRenderFunction<
7982
{shortenedAddress}
8083
</Text>
8184
)}
82-
</View>
85+
</TouchableOpacity>
8386
);
8487
};
8588

app/component-library/components/Pickers/PickerAccount/__snapshots__/PickerAccount.test.tsx.snap

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`PickerAccount should render correctly 1`] = `
4-
<View
4+
<TouchableOpacity
5+
onPress={[Function]}
56
style={
67
{
78
"alignItems": "center",
@@ -236,7 +237,7 @@ exports[`PickerAccount should render correctly 1`] = `
236237
}
237238
}
238239
>
239-
0x2990...a21a
240+
0x29900...da21a
240241
</Text>
241-
</View>
242+
</TouchableOpacity>
242243
`;

app/components/Approvals/PermissionApproval/PermissionApproval.test.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,13 @@ describe('PermissionApproval', () => {
147147
2: 'testAccount2',
148148
3: 'testAccount3',
149149
},
150+
accountsByChainId: {
151+
'0x1': {
152+
1: 'testAccount',
153+
2: 'testAccount2',
154+
3: 'testAccount3',
155+
},
156+
},
150157
},
151158
},
152159
},

0 commit comments

Comments
 (0)