diff --git a/packages/dashboard/src/modules/[chain]/block/index.vue b/packages/dashboard/src/modules/[chain]/block/index.vue index b80e0e94..729d8dbf 100644 --- a/packages/dashboard/src/modules/[chain]/block/index.vue +++ b/packages/dashboard/src/modules/[chain]/block/index.vue @@ -1,74 +1,87 @@ - - - - - Blocks - Transactions - - - - - - - - HeightHashProposorTxsTime - - - - - {{ item.block?.header?.height }} - {{ toBase64(item.blockId?.hash) }} - {{ format.validator(item.block?.header?.proposerAddress) }} - {{ item.block?.data?.txs.length }} - {{ format.toDay(item.block?.header?.time, 'from') }} - - - - - - - - - HashMessagesFees - - - - - {{ item.hash }} - {{ format.messages(item.tx.body.messages) }} - {{ format.formatTokens(item.tx.authInfo.fee?.amount) }} - - - + + + + Blocks + Transactions + + + + + + + + Height + Hash + Proposor + Txs + Time + + + + + + {{ item.block?.header?.height }} + + {{ toBase64(item.blockId?.hash) }} + + {{ format.validator(item.block?.header?.proposerAddress) }} + + {{ item.block?.data?.txs.length }} + {{ format.toDay(item.block?.header?.time, "from") }} + + + + + + + + + Hash + Messages + Fees + + + + + + {{ + item.hash + }} + + {{ format.messages(item.tx.body.messages) }} + {{ format.formatTokens(item.tx.authInfo.fee?.amount) }} + + + - - - - - - - - - - - \ No newline at end of file + + + + + + + + diff --git a/packages/dashboard/src/plugins/i18n/locales/en.json b/packages/dashboard/src/plugins/i18n/locales/en.json index e95911cb..eb0d8d98 100644 --- a/packages/dashboard/src/plugins/i18n/locales/en.json +++ b/packages/dashboard/src/plugins/i18n/locales/en.json @@ -9,7 +9,7 @@ "add_to_favorite": "Add to favorite" }, "Ecosystem": "Ecosystem", - "All Blockchains": "All Blockchain222", + "All Blockchains": "All Blockchain", "Favorite": "Favorite" } diff --git a/src/layouts/components/DefaultLayout.vue b/src/layouts/components/DefaultLayout.vue index 309525fc..077db9e7 100644 --- a/src/layouts/components/DefaultLayout.vue +++ b/src/layouts/components/DefaultLayout.vue @@ -17,15 +17,22 @@ import TheCustomizer from '@/plugins/vuetify/@core/components/TheCustomizer.vue' import Breadcrumbs from './Breadcrumbs.vue'; import { useBlockchain } from '@/stores'; -const { appRouteTransition, isLessThanOverlayNavBreakpoint, isVerticalNavCollapsed } = - useThemeConfig(); +const { + appRouteTransition, + isLessThanOverlayNavBreakpoint, + isVerticalNavCollapsed, +} = useThemeConfig(); const { width: windowWidth } = useWindowSize(); // âšī¸ Provide animation name for vertical nav collapse icon. -const verticalNavHeaderActionAnimationName = ref(null); +const verticalNavHeaderActionAnimationName = ref< + null | 'rotate-180' | 'rotate-back-180' +>(null); -watch(isVerticalNavCollapsed, val => { - verticalNavHeaderActionAnimationName.value = val ? 'rotate-180' : 'rotate-back-180'; +watch(isVerticalNavCollapsed, (val) => { + verticalNavHeaderActionAnimationName.value = val + ? 'rotate-180' + : 'rotate-back-180'; }); const dashboard = useDashboard(); diff --git a/src/layouts/components/NavSearchBar.vue b/src/layouts/components/NavSearchBar.vue index a9c29318..a7431d59 100644 --- a/src/layouts/components/NavSearchBar.vue +++ b/src/layouts/components/NavSearchBar.vue @@ -1,66 +1,126 @@ @@ -157,7 +221,7 @@ const LazyAppBarSearch = defineAsyncComponent(() => import('@core/components/App diff --git a/src/modules/[chain]/block/index.vue b/src/modules/[chain]/block/index.vue index 29a43005..7b2d9986 100644 --- a/src/modules/[chain]/block/index.vue +++ b/src/modules/[chain]/block/index.vue @@ -1,73 +1,86 @@ - - - - - Blocks - Transactions - - - - - - - - HeightHashProposerTxsTime - - - - - {{ item.block?.header?.height }} - {{ item.block_id?.hash }} - {{ format.validator(item.block?.header?.proposer_address) }} - {{ item.block?.data?.txs.length }} - {{ format.toDay(item.block?.header?.time, 'from') }} - - - - - - - - - HashMessagesFees - - - - - {{ item.hash }} - {{ format.messages(item.tx.body.messages) }} - {{ format.formatTokens(item.tx.authInfo.fee?.amount) }} - - - + + + + Blocks + Transactions + + + + + + + + Height + Hash + Proposer + Txs + Time + + + + + + {{ item.block?.header?.height }} + + {{ item.block_id?.hash }} + + {{ format.validator(item.block?.header?.proposer_address) }} + + {{ item.block?.data?.txs.length }} + {{ format.toDay(item.block?.header?.time, 'from') }} + + + + + + + + + Hash + Messages + Fees + + + + + + {{ + item.hash + }} + + {{ format.messages(item.tx.body.messages) }} + {{ format.formatTokens(item.tx.authInfo.fee?.amount) }} + + + - - - - - - - - - - + + + + + + + @@ -76,4 +89,4 @@ const format = useFormatter() i18n: 'blocks' } } - \ No newline at end of file + diff --git a/src/plugins/i18n/locales/en.json b/src/plugins/i18n/locales/en.json index 0b33c531..953f4229 100644 --- a/src/plugins/i18n/locales/en.json +++ b/src/plugins/i18n/locales/en.json @@ -11,7 +11,7 @@ "add_to_favorite": "Add to favorite" }, "Ecosystem": "Ecosystem", - "All Blockchains": "All Blockchain222", + "All Blockchains": "All Blockchain", "Favorite": "Favorite" }