From c2b0886b54617c81e4ba147b575ff0c95beb14be Mon Sep 17 00:00:00 2001 From: evavirseda Date: Thu, 22 Feb 2024 19:26:26 +0100 Subject: [PATCH] feat: Add link to legacy migration tool post (#8048) * feat: add Migrate from Legacy to onboarding * fix: move to constants * feat: update icon --- .../desktop/features/onboarding.features.ts | 3 ++ .../views/ChooseOnboardingFlowView.svelte | 29 +++++++++++++++---- .../contexts/onboarding/constants/index.ts | 1 + .../migrate-from-legacy-link.constant.ts | 1 + ...boarding-features-for-network.interface.ts | 1 + packages/shared/locales/en.json | 2 ++ 6 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 packages/shared/lib/contexts/onboarding/constants/migrate-from-legacy-link.constant.ts diff --git a/packages/desktop/features/onboarding.features.ts b/packages/desktop/features/onboarding.features.ts index 7476b604834..fe80243afff 100644 --- a/packages/desktop/features/onboarding.features.ts +++ b/packages/desktop/features/onboarding.features.ts @@ -38,6 +38,9 @@ const onboardingFeaturesForIota: IOnboardingFeaturesForNetwork = { enabled: false, }, }, + migrateFromLegacy: { + enabled: true, + }, } const IS_ALPHANET_ENABLED = process.env.STAGE !== 'prod' diff --git a/packages/desktop/views/onboarding/views/ChooseOnboardingFlowView.svelte b/packages/desktop/views/onboarding/views/ChooseOnboardingFlowView.svelte index 5cf733ca05f..973fbe081a2 100644 --- a/packages/desktop/views/onboarding/views/ChooseOnboardingFlowView.svelte +++ b/packages/desktop/views/onboarding/views/ChooseOnboardingFlowView.svelte @@ -1,15 +1,21 @@