Skip to content

Commit 4eadf23

Browse files
Merge branch 'main' into homepage/tabs
2 parents f44022c + 0385ea0 commit 4eadf23

File tree

1,005 files changed

+59201
-40235
lines changed

Some content is hidden

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

1,005 files changed

+59201
-40235
lines changed

.depcheckrc.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ ignores:
1515
- 'react-compiler-runtime'
1616
# This is used on the patch for TokenRatesController of Assets controllers, for we to be able to use the last version of it
1717
- cockatiel
18+
# These are used in metro.config.js to setup Hardened JavaScript via @lavamoat/react-native-lockdown
19+
- '@react-native/js-polyfills'
20+
- 'reflect-metadata'
1821

1922
# Note: Everything below this line should be removed after investigation
2023
# TODO: Investigate each dependency to see whether it's used
@@ -105,4 +108,4 @@ ignores:
105108
- '@react-native/typescript-config'
106109
- 'react-native-pager-view'
107110
# this dependency can probably be removed, needs investigation
108-
- '@types/react-test-renderer'
111+
- '@types/react-test-renderer'

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ module.exports = {
1515
// ESLint can find the plugin without the `eslint-plugin-` prefix. Ex. `eslint-plugin-react-compiler` -> `react-compiler`
1616
plugins: ['@typescript-eslint', '@metamask/design-tokens', 'react-compiler'],
1717
overrides: [
18+
{
19+
files: ['e2e/**/*.{js,ts}'],
20+
extends: ['./e2e/framework/.eslintrc.js'],
21+
},
1822
{
1923
files: ['*.{ts,tsx}'],
2024
extends: ['@metamask/eslint-config-typescript'],

.github/CODEOWNERS

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,9 @@ app/components/Views/transactions @MetaMask/transactions
187187
# Web3auth Team
188188
app/core/Engine/messengers/seedless-onboarding-controller-messenger @MetaMask/web3auth
189189
app/core/Engine/controllers/seedless-onboarding-controller @MetaMask/web3auth
190-
app/components/Views/Onboarding @MetaMask/web3auth
191-
app/reducers/onboarding @MetaMask/web3auth
190+
app/core/OAuthService @MetaMask/web3auth
191+
app/components/Views/Onboarding @MetaMask/web3auth
192+
app/reducers/onboarding @MetaMask/web3auth
192193

193194
# Snapshots – no code owners assigned
194195
# This allows anyone with write access to approve changes to any *.snap files.

.github/pull-request-template.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,22 @@ Write a short description of the changes included in this pull request, also inc
1111
2. What is the improvement/solution?
1212
-->
1313

14+
## **Changelog**
15+
16+
<!--
17+
If this PR is not End-User-Facing and should not show up in the CHANGELOG, you can choose to either:
18+
1. Write `CHANGELOG entry: null`
19+
2. Label with `no-changelog`
20+
21+
If this PR is End-User-Facing, please write a short User-Facing description in the past tense like:
22+
`CHANGELOG entry: Added a new tab for users to see their NFTs`
23+
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`
24+
25+
(This helps the Release Engineer do their job more quickly and accurately)
26+
-->
27+
28+
CHANGELOG entry:
29+
1430
## **Related issues**
1531

1632
Fixes:

.github/scripts/shared/template.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const bugReportIssueTemplateTitles = [
3939
// Titles of PR template
4040
const prTemplateTitles = [
4141
'## **Description**',
42+
'## **Changelog**',
4243
'## **Related issues**',
4344
'## **Manual testing steps**',
4445
'## **Screenshots/Recordings**',

.js.env.example

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,24 @@ export RAMP_INTERNAL_BUILD="true"
133133

134134

135135
# set seedless onboarding environment
136-
export WEB3AUTH_NETWORK="sapphire_devnet"
136+
export WEB3AUTH_NETWORK="sapphire_devnet"
137+
138+
# To enable seedless onboarding ( set to true for seedless onboarding )
139+
export SEEDLESS_ONBOARDING_ENABLED='false'
140+
141+
# env for seedless onboarding main-dev
142+
export ANDROID_APPLE_CLIENT_ID='io.metamask.appleloginclient.dev'
143+
export ANDROID_GOOGLE_CLIENT_ID='8615965109465-i8oeh9kuvl1n6lk1ffkobpvth27bmi41.apps.googleusercontent.com'
144+
export ANDROID_GOOGLE_SERVER_CLIENT_ID='615965109465-i8oeh9kuvl1n6lk1ffkobpvth27bmi41.apps.googleusercontent.com'
145+
export IOS_GOOGLE_CLIENT_ID='615965109465-h6tp2h3crls6hbggispcgovbvk4vabu3.apps.googleusercontent.com'
146+
export IOS_GOOGLE_REDIRECT_URI='com.googleusercontent.apps.615965109465-h6tp2h3crls6hbggispcgovbvk4vabu3:/oauth2redirect/google'
147+
148+
# env for seedless onboarding flask-dev
149+
#export ANDROID_APPLE_CLIENT_ID="io.metamask.appleloginclient.flask.dev"
150+
#export ANDROID_GOOGLE_CLIENT_ID="615965109465-ab20kuqbls6fj5s50fvmvbnket8nv1sh.apps.googleusercontent.com"
151+
#export ANDROID_GOOGLE_SERVER_CLIENT_ID="615965109465-ab20kuqbls6fj5s50fvmvbnket8nv1sh.apps.googleusercontent.com"
152+
#export IOS_GOOGLE_CLIENT_ID="615965109465-89b2lmqgm5ka8j8t403qhooouv57id9b.apps.googleusercontent.com"
153+
#export IOS_GOOGLE_REDIRECT_URI="com.googleusercontent.apps.615965109465-89b2lmqgm5ka8j8t403qhooouv57id9b:/oauth2redirect/google"
154+
155+
# Enable 7702 locally
156+
export MM_SMART_ACCOUNT_UI_ENABLED="true"

.storybook/main.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ module.exports = {
22
stories: [
33
'../app/component-library/components/**/*.stories.?(ts|tsx|js|jsx)',
44
'../app/component-library/base-components/**/*.stories.?(ts|tsx|js|jsx)',
5-
'../app/component-library/components-temp/TagColored/**/*.stories.?(ts|tsx|js|jsx)',
6-
'../app/component-library/components-temp/KeyValueRow/**/*.stories.?(ts|tsx|js|jsx)',
7-
'../app/component-library/components-temp/Buttons/ButtonToggle/**/*.stories.?(ts|tsx|js|jsx)',
8-
'../app/component-library/components-temp/SegmentedControl/**/*.stories.?(ts|tsx|js|jsx)',
5+
'../app/component-library/components-temp/**/*.stories.?(ts|tsx|js|jsx)',
96
],
107
addons: ['@storybook/addon-ondevice-controls'],
118
framework: '@storybook/react-native',

.storybook/storybook.requires.js

Lines changed: 9 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)