From dade4c49b869908fc0751ba9ce9e82a13822e50e Mon Sep 17 00:00:00 2001 From: "Alisa | Side.one" Date: Mon, 15 May 2023 17:47:34 +0800 Subject: [PATCH 01/13] feat: sidebar icon --- src/layouts/components/DefaultLayout.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layouts/components/DefaultLayout.vue b/src/layouts/components/DefaultLayout.vue index fc465e83..27e4ee18 100644 --- a/src/layouts/components/DefaultLayout.vue +++ b/src/layouts/components/DefaultLayout.vue @@ -110,6 +110,7 @@ const changeOpen = (index: Number) => { $route.path === el?.to?.path && item?.title !== 'Favorite', }" > + Date: Mon, 15 May 2023 18:09:17 +0800 Subject: [PATCH 02/13] feat: ibc --- src/modules/[chain]/ibc/[connection_id].vue | 58 +++++++++++---------- src/modules/[chain]/ibc/index.vue | 28 +++++----- 2 files changed, 45 insertions(+), 41 deletions(-) diff --git a/src/modules/[chain]/ibc/[connection_id].vue b/src/modules/[chain]/ibc/[connection_id].vue index 4e7806a9..de57f5a2 100644 --- a/src/modules/[chain]/ibc/[connection_id].vue +++ b/src/modules/[chain]/ibc/[connection_id].vue @@ -3,6 +3,7 @@ import { useBaseStore, useBlockchain } from '@/stores'; import type { Connection, ClientState, Channel } from '@/types'; import { onMounted } from 'vue'; import { ref } from 'vue'; +import { Icon } from '@iconify/vue'; const props = defineProps(['chain', 'connection_id']); const chainStore = useBlockchain(); @@ -43,36 +44,39 @@ function color(v: string) {
-
-
-
- {{ conn.client_id }} {{ props.connection_id }} -
-
- {{ baseStore.latest?.block?.header?.chain_id }} -
+
+
+
+
+ {{ baseStore.latest?.block?.header?.chain_id }} +
+
+ {{ conn.client_id }} {{ props.connection_id }} +
+
-
-
{{ conn.state }}
-
- <> -
+
+
+ +
+
+ {{ conn.state }} +
+
-
-
- {{ conn.counterparty?.connection_id }} {{ clientState.client_id }} -
-
+
{{ clientState.client_state?.chain_id }} -
+
+
+ {{ conn.counterparty?.connection_id }} {{ clientState.client_id }} +
@@ -106,7 +110,7 @@ function color(v: string) { - + diff --git a/src/modules/[chain]/ibc/index.vue b/src/modules/[chain]/ibc/index.vue index 5d1e5a03..bef075ff 100644 --- a/src/modules/[chain]/ibc/index.vue +++ b/src/modules/[chain]/ibc/index.vue @@ -25,31 +25,31 @@ function color(v: string) {

IBC Connections

-
Channel IdChannel Id Port Id Counterparty Hops
+
- - - - + + + + - - + - - - +
Connection IdConnectionDelay PeriodStateConnection IdConnectionDelay PeriodState
- {{ - v.id - }} +
+ + {{ v.id }} + + {{ v.client_id }} {{ v.id }}
{{ v.counterparty.client_id }} {{ v.counterparty.connection_id }}
{{ v.delay_period }} + {{ v.delay_period }}
Date: Mon, 15 May 2023 18:28:55 +0800 Subject: [PATCH 03/13] feat: wallet dropdown --- src/layouts/components/NavBarWallet.vue | 52 ++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/src/layouts/components/NavBarWallet.vue b/src/layouts/components/NavBarWallet.vue index b9042576..f8f4f882 100644 --- a/src/layouts/components/NavBarWallet.vue +++ b/src/layouts/components/NavBarWallet.vue @@ -1,10 +1,29 @@