Skip to content

Commit

Permalink
86dtnhvkm - NEON2 - Migration - Implement deeplinking so the user can…
Browse files Browse the repository at this point in the history
… continue migration on NEON3 automatically
  • Loading branch information
ricardoak25 committed Jun 12, 2024
1 parent db39a05 commit ebbef82
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app/containers/MigrateWalletsNeon3Steps/Step3.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => (
<div className={styles.container}>
<div className={styles.content}>
Expand Down Expand Up @@ -37,6 +43,16 @@ const MigrateWalletsNeon3Step3 = ({ theme }: Props) => (
/>
)}
</FormattedMessage>

<Button
primary
className={styles.nextButton}
contentClassName={styles.nextButtonContent}
onClick={openNeon3Click}
>
<FormattedMessage id="migrateWalletsNeon3Step3Button" />
<ExternalIcon />
</Button>
</div>
</div>
)
Expand Down
1 change: 1 addition & 0 deletions app/translations/arabic.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "أنت على وشك الانتهاء!",
migrateWalletsNeon3Step3Description2: "لإكمال عملية الترحيل، افتح NEON 3 واتبع التعليمات.",
migrateWalletsNeon3Step3AltImage: "صورة خلفية ترحيل المحافظ",
migrateWalletsNeon3Step3Button: "أكمل العملية في نيو NEON",
}


Expand Down
1 change: 1 addition & 0 deletions app/translations/chinese.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "您就快完成了!",
migrateWalletsNeon3Step3Description2: "为了完成迁移过程,请打开 NEON 3 并按照说明操作。",
migrateWalletsNeon3Step3AltImage: "迁移钱包背景图片",
migrateWalletsNeon3Step3Button: "在新的NEON中完成过程",
}


Expand Down
1 change: 1 addition & 0 deletions app/translations/dutch.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "U bent er bijna!",
migrateWalletsNeon3Step3Description2: "Om het migratieproces te voltooien, opent u NEON 3 en volgt u de instructies.",
migrateWalletsNeon3Step3AltImage: "Achtergrondafbeelding portefeuilles migreren",
migrateWalletsNeon3Step3Button: "Voltooi het proces in nieuwe NEON",
}


Expand Down
1 change: 1 addition & 0 deletions app/translations/english.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "You’re almost there!",
migrateWalletsNeon3Step3Description2: "In order to complete the migration process, open NEON 3 and follow the instructions.",
migrateWalletsNeon3Step3AltImage: "Migrate Wallets Background Image",
migrateWalletsNeon3Step3Button: "Complete the process in new NEON",

}

Expand Down
1 change: 1 addition & 0 deletions app/translations/french.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "Vous y êtes presque !",
migrateWalletsNeon3Step3Description2: "Pour finaliser le processus de migration, ouvrez NEON 3 et suivez les instructions.",
migrateWalletsNeon3Step3AltImage: "Image de fond de migration des portefeuilles",
migrateWalletsNeon3Step3Button: "Complétez le processus dans le nouveau NEON",
};


Expand Down
1 change: 1 addition & 0 deletions app/translations/german.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "Sie sind fast da!",
migrateWalletsNeon3Step3Description2: "Um den Migrationsprozess abzuschließen, öffnen Sie NEON 3 und befolgen Sie die Anweisungen.",
migrateWalletsNeon3Step3AltImage: "Hintergrundbild für Wallet-Migration",
migrateWalletsNeon3Step3Button: "Vervollständigen Sie den Prozess im neuen NEON",
};


Expand Down
1 change: 1 addition & 0 deletions app/translations/italian.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "Ci sei quasi!",
migrateWalletsNeon3Step3Description2: "Per completare il processo di migrazione, apri NEON 3 e segui le istruzioni.",
migrateWalletsNeon3Step3AltImage: "Immagine di sfondo per la migrazione dei portafogli",
migrateWalletsNeon3Step3Button: "Completa il processo nel nuovo NEON",
};


Expand Down
1 change: 1 addition & 0 deletions app/translations/korean.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "거의 다 왔습니다!",
migrateWalletsNeon3Step3Description2: "이전 프로세스를 완료하려면 NEON 3을 열고 지시 사항을 따르십시오.",
migrateWalletsNeon3Step3AltImage: "지갑 이전 배경 이미지",
migrateWalletsNeon3Step3Button: "새로운 NEON에서 과정을 완료하십시오",
};


Expand Down
1 change: 1 addition & 0 deletions app/translations/portuguese.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "Você está quase lá!",
migrateWalletsNeon3Step3Description2: "Para concluir o processo de migração, abra o NEON 3 e siga as instruções.",
migrateWalletsNeon3Step3AltImage: "Imagem de Fundo para Migração de Carteiras",
migrateWalletsNeon3Step3Button: "Complete o processo no novo NEON",
};


Expand Down
1 change: 1 addition & 0 deletions app/translations/russian.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "Вы почти у цели!",
migrateWalletsNeon3Step3Description2: "Чтобы завершить процесс миграции, откройте NEON 3 и следуйте инструкциям.",
migrateWalletsNeon3Step3AltImage: "Фоновое изображение для миграции кошельков",
migrateWalletsNeon3Step3Button: "Завершите процесс в новом NEON",
};


Expand Down
1 change: 1 addition & 0 deletions app/translations/turkish.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "Neredeyse tamam!",
migrateWalletsNeon3Step3Description2: "Göç işlemini tamamlamak için NEON 3'ü açın ve talimatları izleyin.",
migrateWalletsNeon3Step3AltImage: "Cüzdan Göç Arka Planı",
migrateWalletsNeon3Step3Button: "Yeni NEON'da süreci tamamlayın",
};


Expand Down
1 change: 1 addition & 0 deletions app/translations/vietnamese.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ const MIGRATE_WALLETS_NEON3_STEPS = {
migrateWalletsNeon3Step3Description: "Bạn gần kết thúc!",
migrateWalletsNeon3Step3Description2: "Để hoàn tất quá trình di dời, hãy mở NEON 3 và tuân theo hướng dẫn.",
migrateWalletsNeon3Step3AltImage: "Hình nền Di dời Ví",
migrateWalletsNeon3Step3Button: "Hoàn thành quy trình trong NEON mới",
};


Expand Down

0 comments on commit ebbef82

Please sign in to comment.