From 3723df5393577c26e1e3cffbbb59b3669cde4046 Mon Sep 17 00:00:00 2001 From: daiagi Date: Fri, 21 Jul 2023 15:40:36 +0700 Subject: [PATCH 1/5] spotlight page --- pages/spotlight.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pages/spotlight.vue b/pages/spotlight.vue index 26e49c5ba5..aa10df0cf2 100644 --- a/pages/spotlight.vue +++ b/pages/spotlight.vue @@ -17,11 +17,9 @@ From 69c85fe1a0debf2e9130d6a5d29ff82f29328cb1 Mon Sep 17 00:00:00 2001 From: daiagi Date: Fri, 21 Jul 2023 16:45:56 +0700 Subject: [PATCH 2/5] =?UTF-8?q?=E2=9C=A8=20telport=20page=20composition=20?= =?UTF-8?q?api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Teleport.vue | 355 ++++++++++++++++++++++++++++++++++ composables/useChain.ts | 4 + locales/en.json | 3 +- pages/teleport.vue | 414 +--------------------------------------- 4 files changed, 365 insertions(+), 411 deletions(-) create mode 100644 components/Teleport.vue diff --git a/components/Teleport.vue b/components/Teleport.vue new file mode 100644 index 0000000000..d15b340678 --- /dev/null +++ b/components/Teleport.vue @@ -0,0 +1,355 @@ + + + diff --git a/composables/useChain.ts b/composables/useChain.ts index 92696d243e..289e008324 100644 --- a/composables/useChain.ts +++ b/composables/useChain.ts @@ -30,6 +30,9 @@ export default function () { : symbol }) + const blockExplorer = computed( + () => chainProperties.value.blockExplorer ?? 'https://kusama.subscan.io/' + ) return { decimals, unit, @@ -37,5 +40,6 @@ export default function () { chainProperties, availableChains, chainSymbol, + blockExplorer, } } diff --git a/locales/en.json b/locales/en.json index d9658f557d..70f4308d8a 100644 --- a/locales/en.json +++ b/locales/en.json @@ -889,7 +889,8 @@ "btnCopyPayment": "Copy Payment link", "congratsSupport": "Congratulations for supporting", "tweetDonation": "Tweet about your awesome donation", - "donationSentTo": "Your donation will be sent to:" + "donationSentTo": "Your donation will be sent to:", + "route": "Send {0} From {1} To {2}" }, "preferences": { "basic": "basic user interface", diff --git a/pages/teleport.vue b/pages/teleport.vue index 0fb8f39451..8ab2c2ecdb 100644 --- a/pages/teleport.vue +++ b/pages/teleport.vue @@ -1,418 +1,12 @@ From 495769be0ef0d99dc2dfe607f42f501bd0cd36fc Mon Sep 17 00:00:00 2001 From: daiagi Date: Fri, 21 Jul 2023 16:50:02 +0700 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=94=A5=20delete=20old/unused=20telepo?= =?UTF-8?q?rt=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Teleport.vue | 355 ---------------------------------------- pages/teleport.vue | 12 -- 2 files changed, 367 deletions(-) delete mode 100644 components/Teleport.vue delete mode 100644 pages/teleport.vue diff --git a/components/Teleport.vue b/components/Teleport.vue deleted file mode 100644 index d15b340678..0000000000 --- a/components/Teleport.vue +++ /dev/null @@ -1,355 +0,0 @@ - - - diff --git a/pages/teleport.vue b/pages/teleport.vue deleted file mode 100644 index 8ab2c2ecdb..0000000000 --- a/pages/teleport.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - From 26e099943ae93e8c9b8e8b7a9edf1f1a4be4d187 Mon Sep 17 00:00:00 2001 From: daiagi Date: Fri, 21 Jul 2023 16:51:25 +0700 Subject: [PATCH 4/5] undo --- composables/useChain.ts | 4 ---- locales/en.json | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/composables/useChain.ts b/composables/useChain.ts index 289e008324..92696d243e 100644 --- a/composables/useChain.ts +++ b/composables/useChain.ts @@ -30,9 +30,6 @@ export default function () { : symbol }) - const blockExplorer = computed( - () => chainProperties.value.blockExplorer ?? 'https://kusama.subscan.io/' - ) return { decimals, unit, @@ -40,6 +37,5 @@ export default function () { chainProperties, availableChains, chainSymbol, - blockExplorer, } } diff --git a/locales/en.json b/locales/en.json index 70f4308d8a..4cbef30467 100644 --- a/locales/en.json +++ b/locales/en.json @@ -889,8 +889,7 @@ "btnCopyPayment": "Copy Payment link", "congratsSupport": "Congratulations for supporting", "tweetDonation": "Tweet about your awesome donation", - "donationSentTo": "Your donation will be sent to:", - "route": "Send {0} From {1} To {2}" + "donationSentTo": "Your donation will be sent to:" }, "preferences": { "basic": "basic user interface", From f34fd9b989be627c950fb092ce2da55041e89ff8 Mon Sep 17 00:00:00 2001 From: daiagi Date: Fri, 21 Jul 2023 16:52:03 +0700 Subject: [PATCH 5/5] space --- locales/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locales/en.json b/locales/en.json index 4cbef30467..d9658f557d 100644 --- a/locales/en.json +++ b/locales/en.json @@ -889,7 +889,7 @@ "btnCopyPayment": "Copy Payment link", "congratsSupport": "Congratulations for supporting", "tweetDonation": "Tweet about your awesome donation", - "donationSentTo": "Your donation will be sent to:" + "donationSentTo": "Your donation will be sent to:" }, "preferences": { "basic": "basic user interface",