diff --git a/.eslintrc.js b/.eslintrc.js index d57cc7bf7aef..53235d12c55a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -135,6 +135,7 @@ module.exports = { path.resolve(__dirname, '.eslintrc.typescript-compat.js'), ], rules: { + '@typescript-eslint/no-explicit-any': 'error', // this rule is new, but we didn't use it before, so it's off now '@typescript-eslint/no-duplicate-enum-values': 'off', '@typescript-eslint/no-shadow': [ diff --git a/.storybook/main.js b/.storybook/main.js index 074cf78043dd..2a48b3b88654 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -84,6 +84,15 @@ module.exports = { config.plugins.push( new CopyWebpackPlugin({ patterns: [ + { + from: path.join( + 'ui', + 'css', + 'utilities', + 'fonts/', + ), + to: 'fonts', + }, { from: path.join( 'node_modules', diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index c7acae9705c9..1d20250bc6d3 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -443,6 +443,10 @@ "approveButtonText": { "message": "Approve" }, + "approveIncreaseAllowance": { + "message": "Increase $1 spending cap", + "description": "The token symbol that is being approved" + }, "approveSpendingCap": { "message": "Approve $1 spending cap", "description": "The token symbol that is being approved" @@ -630,7 +634,7 @@ "message": "If you approve this request, a third party known for scams will take all your assets." }, "blockaidMessage": { - "message": "Privacy preserving - no data is shared with third parties. Available on Arbitrum, Avalanche, BNB chain, Ethereum Mainnet, Linea, Optimism, Polygon, Base and Sepolia." + "message": "Privacy preserving - no data is shared with third parties. Available on Arbitrum, Avalanche, BNB chain, Ethereum Mainnet, Linea, Optimism, Polygon and Sepolia." }, "blockaidTitleDeceptive": { "message": "This is a deceptive request" @@ -3047,7 +3051,7 @@ "message": "Got it" }, "notificationsBlockaidDefaultDescriptionOne": { - "message": "Steer clear of known scams while still preserving your privacy with security alerts powered by Blockaid. This feature is available on Arbitrum, Avalanche, BNB chain, Ethereum Mainnet, Linea, Optimism, Polygon, Base and Sepolia." + "message": "Steer clear of known scams while still preserving your privacy with security alerts powered by Blockaid. This feature is available on Arbitrum, Avalanche, BNB chain, Ethereum Mainnet, Linea, Optimism, Polygon and Sepolia." }, "notificationsBlockaidDefaultDescriptionTwo": { "message": "Always do your own due diligence before approving requests." @@ -3075,6 +3079,14 @@ "notificationsEmptyText": { "message": "This is where you can find notifications from your installed snaps." }, + "notificationsFeatureToggle": { + "message": "Enable Wallet Notifications", + "description": "Experimental feature title" + }, + "notificationsFeatureToggleDescription": { + "message": "This enables wallet notifications like send/receive funds or nfts and feature announcements.", + "description": "Description of the experimental notifications feature" + }, "notificationsHeader": { "message": "Notifications" }, @@ -3317,6 +3329,15 @@ "openSeaNew": { "message": "OpenSea" }, + "openSeaToBlockaidBtnLabel": { + "message": "Explore Snaps" + }, + "openSeaToBlockaidDescription": { + "message": "Security alerts are no longer available on this network. Installing a Snap may improve your security." + }, + "openSeaToBlockaidTitle": { + "message": "Heads up!" + }, "operationFailed": { "message": "Operation Failed" }, @@ -5291,6 +5312,13 @@ "switchToThisAccount": { "message": "Switch to this account" }, + "switchedNetworkToastDecline": { + "message": "Don't show again" + }, + "switchedNetworkToastMessage": { + "message": "$1 is now active on $2", + "description": "$1 represents the account name, $2 represents the network name" + }, "switchedTo": { "message": "You're now using" }, diff --git a/app/background.html b/app/background.html index 148842e8f868..c0068295d730 100644 --- a/app/background.html +++ b/app/background.html @@ -4,7 +4,7 @@
- - + +