diff --git a/__tests__/components/__snapshots__/NetworkConfigurationTooltip.test.js.snap b/__tests__/components/__snapshots__/NetworkConfigurationTooltip.test.js.snap index 125c480de..5f524afe9 100644 --- a/__tests__/components/__snapshots__/NetworkConfigurationTooltip.test.js.snap +++ b/__tests__/components/__snapshots__/NetworkConfigurationTooltip.test.js.snap @@ -178,6 +178,7 @@ exports[`NetworkConfigurationTooltip renders without crashing 1`] = ` "migrateWalletsNeon3Step2NextStep": "When you’ve defined a location to save your migration file, move to the next step.", "migrateWalletsNeon3Step2Title": "Export your NEON 2 accounts", "migrateWalletsNeon3Step3AltImage": "Migrate Wallets Background Image", + "migrateWalletsNeon3Step3Button": "Complete the process in new NEON", "migrateWalletsNeon3Step3Description": "You’re almost there!", "migrateWalletsNeon3Step3Description2": "In order to complete the migration process, open NEON 3 and follow the instructions.", "migrateWalletsNeon3Step3Title": "Open NEON 3", @@ -865,6 +866,7 @@ exports[`NetworkConfigurationTooltip renders without crashing 1`] = ` "migrateWalletsNeon3Step2NextStep": "When you’ve defined a location to save your migration file, move to the next step.", "migrateWalletsNeon3Step2Title": "Export your NEON 2 accounts", "migrateWalletsNeon3Step3AltImage": "Migrate Wallets Background Image", + "migrateWalletsNeon3Step3Button": "Complete the process in new NEON", "migrateWalletsNeon3Step3Description": "You’re almost there!", "migrateWalletsNeon3Step3Description2": "In order to complete the migration process, open NEON 3 and follow the instructions.", "migrateWalletsNeon3Step3Title": "Open NEON 3", @@ -1404,6 +1406,7 @@ exports[`renderNode with a node that has fallen out of top 21 renders warningico "migrateWalletsNeon3Step2NextStep": "When you’ve defined a location to save your migration file, move to the next step.", "migrateWalletsNeon3Step2Title": "Export your NEON 2 accounts", "migrateWalletsNeon3Step3AltImage": "Migrate Wallets Background Image", + "migrateWalletsNeon3Step3Button": "Complete the process in new NEON", "migrateWalletsNeon3Step3Description": "You’re almost there!", "migrateWalletsNeon3Step3Description2": "In order to complete the migration process, open NEON 3 and follow the instructions.", "migrateWalletsNeon3Step3Title": "Open NEON 3", @@ -1798,6 +1801,7 @@ exports[`renderNode with a vote renders warningicon with no vote 1`] = ` "migrateWalletsNeon3Step2NextStep": "When you’ve defined a location to save your migration file, move to the next step.", "migrateWalletsNeon3Step2Title": "Export your NEON 2 accounts", "migrateWalletsNeon3Step3AltImage": "Migrate Wallets Background Image", + "migrateWalletsNeon3Step3Button": "Complete the process in new NEON", "migrateWalletsNeon3Step3Description": "You’re almost there!", "migrateWalletsNeon3Step3Description2": "In order to complete the migration process, open NEON 3 and follow the instructions.", "migrateWalletsNeon3Step3Title": "Open NEON 3", @@ -2186,6 +2190,7 @@ exports[`renderNode with no vote renders warningicon with no vote 1`] = ` "migrateWalletsNeon3Step2NextStep": "When you’ve defined a location to save your migration file, move to the next step.", "migrateWalletsNeon3Step2Title": "Export your NEON 2 accounts", "migrateWalletsNeon3Step3AltImage": "Migrate Wallets Background Image", + "migrateWalletsNeon3Step3Button": "Complete the process in new NEON", "migrateWalletsNeon3Step3Description": "You’re almost there!", "migrateWalletsNeon3Step3Description2": "In order to complete the migration process, open NEON 3 and follow the instructions.", "migrateWalletsNeon3Step3Title": "Open NEON 3", diff --git a/__tests__/components/__snapshots__/NetworkSwitch.test.js.snap b/__tests__/components/__snapshots__/NetworkSwitch.test.js.snap index 49ccdf62c..930281977 100644 --- a/__tests__/components/__snapshots__/NetworkSwitch.test.js.snap +++ b/__tests__/components/__snapshots__/NetworkSwitch.test.js.snap @@ -153,6 +153,7 @@ exports[`NetworkSwitch renders without crashing 1`] = ` "migrateWalletsNeon3Step2NextStep": "When you’ve defined a location to save your migration file, move to the next step.", "migrateWalletsNeon3Step2Title": "Export your NEON 2 accounts", "migrateWalletsNeon3Step3AltImage": "Migrate Wallets Background Image", + "migrateWalletsNeon3Step3Button": "Complete the process in new NEON", "migrateWalletsNeon3Step3Description": "You’re almost there!", "migrateWalletsNeon3Step3Description2": "In order to complete the migration process, open NEON 3 and follow the instructions.", "migrateWalletsNeon3Step3Title": "Open NEON 3", diff --git a/__tests__/components/__snapshots__/News.test.js.snap b/__tests__/components/__snapshots__/News.test.js.snap index 45b936e95..31b91c059 100644 --- a/__tests__/components/__snapshots__/News.test.js.snap +++ b/__tests__/components/__snapshots__/News.test.js.snap @@ -166,6 +166,7 @@ exports[`News renders without crashing 1`] = ` "migrateWalletsNeon3Step2NextStep": "When you’ve defined a location to save your migration file, move to the next step.", "migrateWalletsNeon3Step2Title": "Export your NEON 2 accounts", "migrateWalletsNeon3Step3AltImage": "Migrate Wallets Background Image", + "migrateWalletsNeon3Step3Button": "Complete the process in new NEON", "migrateWalletsNeon3Step3Description": "You’re almost there!", "migrateWalletsNeon3Step3Description2": "In order to complete the migration process, open NEON 3 and follow the instructions.", "migrateWalletsNeon3Step3Title": "Open NEON 3", diff --git a/__tests__/components/__snapshots__/Sidebar.test.js.snap b/__tests__/components/__snapshots__/Sidebar.test.js.snap index 66ea2dff6..a22a4d066 100644 --- a/__tests__/components/__snapshots__/Sidebar.test.js.snap +++ b/__tests__/components/__snapshots__/Sidebar.test.js.snap @@ -167,6 +167,7 @@ exports[`Sidebar renders without crashing 1`] = ` "migrateWalletsNeon3Step2NextStep": "When you’ve defined a location to save your migration file, move to the next step.", "migrateWalletsNeon3Step2Title": "Export your NEON 2 accounts", "migrateWalletsNeon3Step3AltImage": "Migrate Wallets Background Image", + "migrateWalletsNeon3Step3Button": "Complete the process in new NEON", "migrateWalletsNeon3Step3Description": "You’re almost there!", "migrateWalletsNeon3Step3Description2": "In order to complete the migration process, open NEON 3 and follow the instructions.", "migrateWalletsNeon3Step3Title": "Open NEON 3", @@ -1901,6 +1902,7 @@ exports[`Sidebar renders without crashing 1`] = ` "migrateWalletsNeon3Step2NextStep": "When you’ve defined a location to save your migration file, move to the next step.", "migrateWalletsNeon3Step2Title": "Export your NEON 2 accounts", "migrateWalletsNeon3Step3AltImage": "Migrate Wallets Background Image", + "migrateWalletsNeon3Step3Button": "Complete the process in new NEON", "migrateWalletsNeon3Step3Description": "You’re almost there!", "migrateWalletsNeon3Step3Description2": "In order to complete the migration process, open NEON 3 and follow the instructions.", "migrateWalletsNeon3Step3Title": "Open NEON 3", @@ -2534,6 +2536,7 @@ exports[`Sidebar renders without crashing 1`] = ` "migrateWalletsNeon3Step2NextStep": "When you’ve defined a location to save your migration file, move to the next step.", "migrateWalletsNeon3Step2Title": "Export your NEON 2 accounts", "migrateWalletsNeon3Step3AltImage": "Migrate Wallets Background Image", + "migrateWalletsNeon3Step3Button": "Complete the process in new NEON", "migrateWalletsNeon3Step3Description": "You’re almost there!", "migrateWalletsNeon3Step3Description2": "In order to complete the migration process, open NEON 3 and follow the instructions.", "migrateWalletsNeon3Step3Title": "Open NEON 3", diff --git a/app/containers/MigrateWalletsNeon3Steps/Step3.jsx b/app/containers/MigrateWalletsNeon3Steps/Step3.jsx index 16dc9eb25..b523567ea 100644 --- a/app/containers/MigrateWalletsNeon3Steps/Step3.jsx +++ b/app/containers/MigrateWalletsNeon3Steps/Step3.jsx @@ -4,11 +4,17 @@ import { FormattedMessage } from 'react-intl' import styles from './Step3.scss' import migrateWalletsIconDark from '../../assets/images/migrate-wallets-icon-dark.png' import migrateWalletsIconWhite from '../../assets/images/migrate-wallets-icon-white.png' +import ExternalIcon from '../../assets/icons/external.svg' +import Button from '../../components/Button' type Props = { theme: string, } +const openNeon3Click = () => { + window.open('neon3://migration') +} + const MigrateWalletsNeon3Step3 = ({ theme }: Props) => (