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-GO<=(Y4)=aFb}+b3$7{V(XY@f<)FjcDW=OyYGOW~9;cdH&im8$uit2RkHK48
zlWjhkKd!)a$F@}lKa5pc_OZ!s4J!%Z#ITXG?_jj`Q#-VY%J(Y=EmEe@D^KUsaZdY~
jgWv`q_Y%zQq?>#Ni6OrecGq4h00000NkvXXu0mjf {
@@ -165,5 +173,14 @@ export const getTranslatedUINoficiations = (t, locale) => {
new Date(UI_NOTIFICATIONS[11].date),
),
},
+ 12: {
+ ...UI_NOTIFICATIONS[12],
+ title: t('notifications12Title'),
+ description: t('notifications12Description'),
+ actionText: t('notifications12ActionText'),
+ date: new Intl.DateTimeFormat(formattedLocale).format(
+ new Date(UI_NOTIFICATIONS[12].date),
+ ),
+ },
};
};
diff --git a/test/e2e/fixtures/address-entry/state.json b/test/e2e/fixtures/address-entry/state.json
index 59da933e5..96b17cdb1 100644
--- a/test/e2e/fixtures/address-entry/state.json
+++ b/test/e2e/fixtures/address-entry/state.json
@@ -66,6 +66,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/connected-state/state.json b/test/e2e/fixtures/connected-state/state.json
index ccc9ab82d..4d48df472 100644
--- a/test/e2e/fixtures/connected-state/state.json
+++ b/test/e2e/fixtures/connected-state/state.json
@@ -56,6 +56,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/custom-rpc/state.json b/test/e2e/fixtures/custom-rpc/state.json
index 43319cd60..222eb0159 100644
--- a/test/e2e/fixtures/custom-rpc/state.json
+++ b/test/e2e/fixtures/custom-rpc/state.json
@@ -52,6 +52,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/custom-token/state.json b/test/e2e/fixtures/custom-token/state.json
index da6098fcf..ae1fcd1b4 100644
--- a/test/e2e/fixtures/custom-token/state.json
+++ b/test/e2e/fixtures/custom-token/state.json
@@ -70,6 +70,9 @@
"notifications": {
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/eip-1559-v2-dapp/state.json b/test/e2e/fixtures/eip-1559-v2-dapp/state.json
index 3e29d737e..839484240 100644
--- a/test/e2e/fixtures/eip-1559-v2-dapp/state.json
+++ b/test/e2e/fixtures/eip-1559-v2-dapp/state.json
@@ -53,6 +53,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/eip-1559-v2/state.json b/test/e2e/fixtures/eip-1559-v2/state.json
index 452c896c3..0c79d8c61 100644
--- a/test/e2e/fixtures/eip-1559-v2/state.json
+++ b/test/e2e/fixtures/eip-1559-v2/state.json
@@ -53,6 +53,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/import-ui/state.json b/test/e2e/fixtures/import-ui/state.json
index 75aa4e7da..20c6bf87c 100644
--- a/test/e2e/fixtures/import-ui/state.json
+++ b/test/e2e/fixtures/import-ui/state.json
@@ -107,6 +107,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/imported-account/state.json b/test/e2e/fixtures/imported-account/state.json
index c6e2f4a8e..cb5c96950 100644
--- a/test/e2e/fixtures/imported-account/state.json
+++ b/test/e2e/fixtures/imported-account/state.json
@@ -52,6 +52,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/localization/state.json b/test/e2e/fixtures/localization/state.json
index 952a3a502..4b32460b5 100644
--- a/test/e2e/fixtures/localization/state.json
+++ b/test/e2e/fixtures/localization/state.json
@@ -52,6 +52,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/metrics-enabled/state.json b/test/e2e/fixtures/metrics-enabled/state.json
index 3b272611e..43b345204 100644
--- a/test/e2e/fixtures/metrics-enabled/state.json
+++ b/test/e2e/fixtures/metrics-enabled/state.json
@@ -56,6 +56,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/navigate-transactions/state.json b/test/e2e/fixtures/navigate-transactions/state.json
index 6760e0d4f..963a846b4 100644
--- a/test/e2e/fixtures/navigate-transactions/state.json
+++ b/test/e2e/fixtures/navigate-transactions/state.json
@@ -52,6 +52,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/onboarding/state.json b/test/e2e/fixtures/onboarding/state.json
index b0fbccd9a..6a4c94b96 100644
--- a/test/e2e/fixtures/onboarding/state.json
+++ b/test/e2e/fixtures/onboarding/state.json
@@ -26,6 +26,13 @@
},
"network": "1337"
},
+ "NotificationController": {
+ "notifications": {
+ "12": {
+ "isShown": true
+ }
+ }
+ },
"CurrencyController": {
"conversionDate": 1617927806.941,
"conversionRate": 2084.64,
diff --git a/test/e2e/fixtures/send-edit-v2/state.json b/test/e2e/fixtures/send-edit-v2/state.json
index fe1a4390c..9de073c00 100644
--- a/test/e2e/fixtures/send-edit-v2/state.json
+++ b/test/e2e/fixtures/send-edit-v2/state.json
@@ -53,6 +53,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/send-edit/state.json b/test/e2e/fixtures/send-edit/state.json
index f538e00bf..1272fbd04 100644
--- a/test/e2e/fixtures/send-edit/state.json
+++ b/test/e2e/fixtures/send-edit/state.json
@@ -53,6 +53,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/test/e2e/fixtures/threebox-enabled/state.json b/test/e2e/fixtures/threebox-enabled/state.json
index 565e8a122..78b6f1226 100644
--- a/test/e2e/fixtures/threebox-enabled/state.json
+++ b/test/e2e/fixtures/threebox-enabled/state.json
@@ -63,6 +63,9 @@
},
"8": {
"isShown": true
+ },
+ "12": {
+ "isShown": true
}
}
},
diff --git a/ui/components/app/whats-new-popup/whats-new-popup.js b/ui/components/app/whats-new-popup/whats-new-popup.js
index bba492040..4d47ee262 100644
--- a/ui/components/app/whats-new-popup/whats-new-popup.js
+++ b/ui/components/app/whats-new-popup/whats-new-popup.js
@@ -15,6 +15,7 @@ import { getSortedNotificationsToShow } from '../../../selectors';
import {
BUILD_QUOTE_ROUTE,
ADVANCED_ROUTE,
+ EXPERIMENTAL_ROUTE,
} from '../../../helpers/constants/routes';
import { TYPOGRAPHY } from '../../../helpers/constants/design-system';
@@ -49,6 +50,10 @@ function getActionFunctionById(id, history) {
updateViewedNotifications({ 10: true });
history.push(`${ADVANCED_ROUTE}#token-description`);
},
+ 12: () => {
+ updateViewedNotifications({ 12: true });
+ history.push(EXPERIMENTAL_ROUTE);
+ },
};
return actionFunctions[id];
diff --git a/ui/selectors/selectors.js b/ui/selectors/selectors.js
index 270315831..4a232452e 100644
--- a/ui/selectors/selectors.js
+++ b/ui/selectors/selectors.js
@@ -728,6 +728,7 @@ function getAllowedNotificationIds(state) {
9: getIsMainnet(state),
10: Boolean(process.env.TOKEN_DETECTION_V2),
11: Boolean(process.env.TOKEN_DETECTION_V2),
+ 12: true,
};
}
From 582f6168f9860a1f7a5dbf950b53d8b8c471312d Mon Sep 17 00:00:00 2001
From: Ariella Vu <20778143+digiwand@users.noreply.github.com>
Date: Tue, 5 Apr 2022 20:22:41 -0300
Subject: [PATCH 56/92] Settings:TabBar: Fix text wrap style (#14348)
* TabBar: fix text wrap style
* TabBar: adjust icon alignment
---
ui/components/app/tab-bar/index.scss | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/ui/components/app/tab-bar/index.scss b/ui/components/app/tab-bar/index.scss
index 36b575e31..3a8cd46b8 100644
--- a/ui/components/app/tab-bar/index.scss
+++ b/ui/components/app/tab-bar/index.scss
@@ -38,7 +38,6 @@
&__content {
padding: 12px 18px;
display: flex;
- flex-flow: row wrap;
align-items: center;
position: relative;
@@ -64,8 +63,14 @@
}
&__icon {
- margin-inline-end: 16px;
display: flex;
+ justify-content: center;
+ margin-inline-end: 16px;
+ flex: 0 0 18px;
+
+ @media screen and (min-width: $break-large) {
+ flex: 0 0 14px;
+ }
}
}
From b84e70895b64700df2f361c700ed4e2525ce06a5 Mon Sep 17 00:00:00 2001
From: seaona <54408225+seaona@users.noreply.github.com>
Date: Wed, 6 Apr 2022 10:05:45 +0200
Subject: [PATCH 57/92] Feature Flag Swap API mock (#14353)
* Feature Flag Swap API mock
* Reorganize API calls in alphabetical order
---
test/e2e/mock-e2e.js | 61 +++++++++++++++++++++++++++++++++++++++-----
1 file changed, 55 insertions(+), 6 deletions(-)
diff --git a/test/e2e/mock-e2e.js b/test/e2e/mock-e2e.js
index 1487567fb..478a5b959 100644
--- a/test/e2e/mock-e2e.js
+++ b/test/e2e/mock-e2e.js
@@ -1,6 +1,12 @@
async function setupMocking(server, testSpecificMock) {
await server.forAnyRequest().thenPassThrough();
+ await server.forPost('https://api.segment.io/v1/batch').thenCallback(() => {
+ return {
+ statusCode: 200,
+ };
+ });
+
await server
.forGet('https://gas-api.metaswap.codefi.network/networks/1/gasPrices')
.thenCallback(() => {
@@ -14,12 +20,6 @@ async function setupMocking(server, testSpecificMock) {
};
});
- await server.forPost('https://api.segment.io/v1/batch').thenCallback(() => {
- return {
- statusCode: 200,
- };
- });
-
await server
.forGet(
'https://gas-api.metaswap.codefi.network/networks/1/suggestedGasFees',
@@ -57,6 +57,55 @@ async function setupMocking(server, testSpecificMock) {
};
});
+ await server
+ .forGet('https://swap.metaswap.codefi.network/featureFlags')
+ .thenCallback(() => {
+ return {
+ statusCode: 200,
+ json: [
+ {
+ ethereum: {
+ mobile_active: true,
+ extension_active: true,
+ fallback_to_v1: false,
+ mobileActive: true,
+ extensionActive: true,
+ },
+ bsc: {
+ mobile_active: true,
+ extension_active: true,
+ fallback_to_v1: false,
+ mobileActive: true,
+ extensionActive: true,
+ },
+ polygon: {
+ mobile_active: true,
+ extension_active: true,
+ fallback_to_v1: false,
+ mobileActive: true,
+ extensionActive: true,
+ },
+ avalanche: {
+ mobile_active: true,
+ extension_active: true,
+ fallback_to_v1: false,
+ mobileActive: true,
+ extensionActive: true,
+ },
+ smart_transactions: {
+ mobile_active: false,
+ extension_active: false,
+ },
+ smartTransactions: {
+ mobileActive: false,
+ extensionActive: false,
+ },
+ updated_at: '2022-03-17T15:54:00.360Z',
+ },
+ ],
+ };
+ });
+
await server
.forGet('https://token-api.metaswap.codefi.network/tokens/1337')
.thenCallback(() => {
From 7e059550a28b7d502676b467f45a46eac9381f03 Mon Sep 17 00:00:00 2001
From: Ariella Vu <20778143+digiwand@users.noreply.github.com>
Date: Wed, 6 Apr 2022 11:00:52 -0300
Subject: [PATCH 58/92] TabBar: prevent text from wrapping early (#14368)
---
ui/components/app/tab-bar/index.scss | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/components/app/tab-bar/index.scss b/ui/components/app/tab-bar/index.scss
index 3a8cd46b8..4329b5b5c 100644
--- a/ui/components/app/tab-bar/index.scss
+++ b/ui/components/app/tab-bar/index.scss
@@ -38,6 +38,7 @@
&__content {
padding: 12px 18px;
display: flex;
+ flex: 1 1 auto;
align-items: center;
position: relative;
From a7a16460024888a070dfd23b09212318e5f9d294 Mon Sep 17 00:00:00 2001
From: ricky
Date: Wed, 6 Apr 2022 12:37:08 -0400
Subject: [PATCH 59/92] Remove `base_url` from crowdin.yml (#14364)
Remove `base_url` since we're moving away from Crowdin Enterprise
---
crowdin.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/crowdin.yml b/crowdin.yml
index 60bc9c2fc..25f294025 100644
--- a/crowdin.yml
+++ b/crowdin.yml
@@ -1,7 +1,6 @@
"project_id_env": CROWDIN_PROJECT_ID
"api_token_env": CROWDIN_PERSONAL_TOKEN
"base_path" : "."
-"base_url" : "https://metamask.crowdin.com"
"preserve_hierarchy": true
From 07231e42b23c4c2e1c2c3634235412ba67267318 Mon Sep 17 00:00:00 2001
From: Niranjana Binoy <43930900+NiranjanaBinoy@users.noreply.github.com>
Date: Wed, 6 Apr 2022 13:59:16 -0400
Subject: [PATCH 60/92] Update token detection logic to only control
auto-detection (#14251)
---
.../ui/identicon/identicon.component.js | 22 ++++++++----
.../nickname-popover.component.js | 6 ++++
.../update-nickname-popover.js | 7 ++++
ui/helpers/utils/icon-factory.js | 29 +++++++++------
ui/hooks/useAddressDetails.js | 26 ++++++++------
ui/hooks/useTokensToSearch.js | 36 ++++++++++++-------
.../confirm-transaction-base.container.js | 19 +++++-----
.../token-list/token-list.component.js | 12 ++++---
ui/pages/token-details/token-details-page.js | 7 ++--
9 files changed, 108 insertions(+), 56 deletions(-)
diff --git a/ui/components/ui/identicon/identicon.component.js b/ui/components/ui/identicon/identicon.component.js
index 8174ab38e..b7aa747ab 100644
--- a/ui/components/ui/identicon/identicon.component.js
+++ b/ui/components/ui/identicon/identicon.component.js
@@ -151,14 +151,22 @@ export default class Identicon extends PureComponent {
}
if (address) {
- // token from dynamic api list is fetched when useTokenDetection is true
- // And since the token.address from allTokens is checksumaddress
- // tokenAddress have to be changed to lowercase when we are using dynamic list
- const tokenAddress = useTokenDetection ? address.toLowerCase() : address;
- if (tokenAddress && tokenList[tokenAddress]?.iconUrl) {
- return this.renderJazzicon();
+ if (process.env.TOKEN_DETECTION_V2) {
+ if (tokenList[address.toLowerCase()]?.iconUrl) {
+ return this.renderJazzicon();
+ }
+ } else {
+ /** TODO: Remove during TOKEN_DETECTION_V2 feature flag clean up */
+ // token from dynamic api list is fetched when useTokenDetection is true
+ // And since the token.address from allTokens is checksumaddress
+ // tokenAddress have to be changed to lowercase when we are using dynamic list
+ const tokenAddress = useTokenDetection
+ ? address.toLowerCase()
+ : address;
+ if (tokenAddress && tokenList[tokenAddress]?.iconUrl) {
+ return this.renderJazzicon();
+ }
}
-
return (
@@ -31,6 +35,8 @@ const NicknamePopover = ({
address={address}
diameter={36}
className="nickname-popover__identicon"
+ useTokenDetection={useTokenDetection}
+ tokenList={tokenList}
/>
{nickname || shortenAddress(address)}
diff --git a/ui/components/ui/update-nickname-popover/update-nickname-popover.js b/ui/components/ui/update-nickname-popover/update-nickname-popover.js
index 2713d7b70..3396d4fdc 100644
--- a/ui/components/ui/update-nickname-popover/update-nickname-popover.js
+++ b/ui/components/ui/update-nickname-popover/update-nickname-popover.js
@@ -1,4 +1,5 @@
import React, { useCallback, useContext, useState } from 'react';
+import { useSelector } from 'react-redux';
import PropTypes from 'prop-types';
import Popover from '../popover';
@@ -8,6 +9,7 @@ import TextField from '../text-field';
import { I18nContext } from '../../../contexts/i18n';
import Identicon from '../identicon/identicon.component';
+import { getUseTokenDetection, getTokenList } from '../../../selectors';
export default function UpdateNicknamePopover({
nickname,
@@ -42,6 +44,9 @@ export default function UpdateNicknamePopover({
onClose();
};
+ const useTokenDetection = useSelector(getUseTokenDetection);
+ const tokenList = useSelector(getTokenList);
+
return (