diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index e5afa2429..a76db8eeb 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -1126,21 +1126,6 @@ "message": "File import not working? Click here!", "description": "Helps user import their account from a JSON file" }, - "flaskExperimentalText1": { - "message": "Using Flask can greatly increase your risk of fund loss:" - }, - "flaskExperimentalText2": { - "message": "if you use it to install non-trustworthy Snaps" - }, - "flaskExperimentalText3": { - "message": "if you do not review confirmations before approving changes" - }, - "flaskExperimentalText4": { - "message": "if you interact with unfamiliar smart contracts" - }, - "flaskExperimentalText5": { - "message": "Using Flask gives you much greater discretion in using the power of MetaMask, and that discretion is yours. Do you accept these risks as well as extra responsibility for your wallet's safety?" - }, "flaskSnapSettingsCardButtonCta": { "message": "See details", "description": "Call to action a user can take to see more information about the Snap that is installed" @@ -1153,6 +1138,26 @@ "message": "from", "description": "Part of the sentence describing when and where snap was added" }, + "flaskWelcomeUninstall": { + "message": "you should uninstall this extension", + "description": "This request is shown on the Flask Welcome screen. It is intended for non-developers, and will be bolded." + }, + "flaskWelcomeWarning1": { + "message": "Flask is for developers to experiment with new unstable APIs. Unless you are a developer or beta tester, $1.", + "description": "This is a warning shown on the Flask Welcome screen, intended to encourage non-developers not to proceed any further. $1 is the bolded message 'flaskWelcomeUninstall'" + }, + "flaskWelcomeWarning2": { + "message": "We do not guarantee the safety or stability of this extension. The new APIs offered by Flask are not hardened against phishing attacks, meaning that any site or snap that requires Flask might be a malicious attempt to steal your assets.", + "description": "This explains the risks of using MetaMask Flask" + }, + "flaskWelcomeWarning3": { + "message": "All Flask APIs are experimental. They may be changed or removed without notice, or they might stay on Flask indefinitely without ever being migrated to stable MetaMask. Use them at your own risk.", + "description": "This message warns developers about unstable Flask APIs" + }, + "flaskWelcomeWarningAcceptButton": { + "message": "I accept the risks", + "description": "this text is shown on a button, which the user presses to confirm they understand the risks of using Flask" + }, "followUsOnTwitter": { "message": "Follow us on Twitter" }, @@ -3385,9 +3390,6 @@ "usedByClients": { "message": "Used by a variety of different clients" }, - "userAccepts": { - "message": "I accept" - }, "userName": { "message": "Username" }, diff --git a/ui/components/app/flask/experimental-area/experimental-area.js b/ui/components/app/flask/experimental-area/experimental-area.js index de0600fa2..9a3a8ec1e 100644 --- a/ui/components/app/flask/experimental-area/experimental-area.js +++ b/ui/components/app/flask/experimental-area/experimental-area.js @@ -77,16 +77,18 @@ export default function ExperimentalArea({ redirectTo }) {
{METAMASK_LOGO}
{EXPERIMENTAL_AREA}
- {t('flaskExperimentalText1')} - - {t('flaskExperimentalText5')} +

+ {t('flaskWelcomeWarning1', [ + {t('flaskWelcomeUninstall')}, + ])} +

+
+

{t('flaskWelcomeWarning2')}

+
+

{t('flaskWelcomeWarning3')}

); diff --git a/ui/components/app/flask/experimental-area/index.scss b/ui/components/app/flask/experimental-area/index.scss index 33728e89d..292922755 100644 --- a/ui/components/app/flask/experimental-area/index.scss +++ b/ui/components/app/flask/experimental-area/index.scss @@ -28,6 +28,10 @@ padding: 16px; max-width: 670px; + + b { + font-weight: bold; + } } ul {