Skip to content

Commit 9fbf172

Browse files
authored
feat: check links (#106)
* feat: remove deprecated firefly faq urls * feat: update ledger live support url * feat: add comment
1 parent 01e780c commit 9fbf172

File tree

5 files changed

+5
-18
lines changed

5 files changed

+5
-18
lines changed

packages/shared/components/popups/LedgerConnectionGuide.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
classes="ml-0.5 inline-block text-13 leading-160"
4343
onClick={() =>
4444
Platform.openUrl(
45-
'https://support.ledger.com/hc/en-us/articles/360019868977-Fix-USB-connection-issues-with-Ledger-Live?support=true'
45+
'https://support.ledger.com/hc/en-us/articles/115005165269-Fix-USB-connection-issues-with-Ledger-Live?support=true'
4646
)}
4747
>
4848
{locale(`popups.ledgerConnectionGuide.steps.${stepIndex}.link`)}

packages/shared/components/popups/MissingBundle.svelte

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="typescript">
2-
import { Button, Text, Link } from 'shared/components'
3-
import { Platform } from 'shared/lib/platform'
2+
import { Button, Text } from 'shared/components'
43
import { closePopup } from 'shared/lib/popup'
54
import { Locale } from '@core/i18n'
65
@@ -18,9 +17,6 @@
1817
<div class="mb-8">
1918
<Text type="h4" classes="mb-5">{locale('popups.missingBundle.title')}</Text>
2019
<Text type="p" classes="mb-2" secondary>{locale('popups.missingBundle.body', { values: { value: balance } })}</Text>
21-
<Link onClick={() => Platform.openUrl('https://firefly.iota.org/faq#spent-addresses')}
22-
>{locale('popups.missingBundle.learnMore')}</Link
23-
>
2420
</div>
2521
<div class="flex flex-row justify-between w-full space-x-4 md:px-8">
2622
<Button secondary classes="w-full" onClick={handleCancelClick}>{locale('actions.cancel')}</Button>

packages/shared/locales/en.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@
189189
"legacyLedgerIntro": {
190190
"title": "Start your Ledger migration using IOTA Legacy Migration Tool",
191191
"body1": "IOTA Legacy Migration Tool will help you to transfer your tokens to the new Sturdust network.",
192-
"body2": "After the migration, you will be able to send and receive your tokens using your Ledger with Firefly.",
193-
"readMore": "What to expect from the migration process"
192+
"body2": "After the migration, you will be able to send and receive your tokens using your Ledger with Firefly."
194193
},
195194
"generateNewLedgerAddress": {
196195
"title": "Generate new address",
@@ -800,7 +799,6 @@
800799
"missingBundle": {
801800
"title": "Warning: funds at risk during migration",
802801
"body": "You have funds on spent addresses, but the information needed to secure them was not found. This can happen if you made transactions a long time ago. You can proceed but {value} are at risk during migration.",
803-
"learnMore": "Learn more about spent addresses",
804802
"proceed": "I understand the risk"
805803
},
806804
"snapshot": {

packages/shared/routes/setup/ledger/views/LegacyIntro.svelte

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="typescript">
2-
import { Button, Link, OnboardingLayout, Text, Video } from 'shared/components'
3-
import { Platform } from 'shared/lib/platform'
2+
import { Button, OnboardingLayout, Text, Video } from 'shared/components'
43
import { initialiseMigrationListeners, LEDGER_MIGRATION_VIDEO } from 'shared/lib/migration'
54
import { showAppNotification } from 'shared/lib/notifications'
65
import { api, isBackgroundSyncing } from 'shared/lib/wallet'
@@ -12,10 +11,6 @@
1211
1312
const dispatch = createEventDispatcher()
1413
15-
function handleReadMoreClick() {
16-
Platform.openUrl('https://firefly.iota.org/faq#migration')
17-
}
18-
1914
function handleNextClick() {
2015
dispatch('next')
2116
}
@@ -57,8 +52,5 @@
5752
class="w-full h-full px-32 flex flex-col flex-wrap justify-center items-center bg-gray-50 dark:bg-gray-900"
5853
>
5954
<Video video={LEDGER_MIGRATION_VIDEO} />
60-
<Link onClick={handleReadMoreClick} classes="mt-7" icon="info"
61-
>{locale('views.legacyLedgerIntro.readMore')}</Link
62-
>
6355
</div>
6456
</OnboardingLayout>

packages/shared/routes/setup/migrate/views/Migrate.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176
177177
// TODO: complete function functionality
178178
function learnAboutMigrationsClick() {
179+
// TODO: modify link with the new blog entry
179180
Platform.openUrl('https://blog.iota.org/firefly-token-migration/')
180181
}
181182

0 commit comments

Comments
 (0)