Skip to content

Commit c2ff62e

Browse files
authored
Merge pull request #172 from celenium-io/dev
Turn off current upgrade notification, add version to blob page and m…
2 parents d485f23 + f79b835 commit c2ff62e

4 files changed

Lines changed: 41 additions & 24 deletions

File tree

components/modals/BlobModal.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,14 @@ const handlePreviewContent = () => {
299299
300300
<Text size="13" weight="600" color="primary">{{ formatBytes(cacheStore.selectedBlob.size) }}</Text>
301301
</Flex>
302+
303+
<Flex v-if="blob?.share_version !== null && blob?.share_version !== undefined" direction="column" gap="8" :class="$style.badge">
304+
<Text size="12" weight="500" color="secondary"> Version </Text>
305+
306+
<Flex align="center" justify="end">
307+
<Text size="13" weight="600" color="primary">{{ blob?.share_version }}</Text>
308+
</Flex>
309+
</Flex>
302310
</Flex>
303311
304312
<Flex direction="column" align="center" gap="12">

components/modules/proposal/VotingPower.vue

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -93,25 +93,27 @@ const isQuorumReached = computed(() => {
9393
<Flex align="center" gap="4" :class="$style.voting_wrapper">
9494
<div :style="{ left: `${quorum * 100}%` }" :class="[$style.threshold, !isQuorumReached && $style.red]" />
9595
96-
<Tooltip
97-
v-for="v in Object.keys(voteDistribution)"
98-
wide
99-
:trigger-width="`${voteDistribution[v].power ? Math.max(5, voteDistribution[v].shareOfTotal) : 0}%`"
100-
>
101-
<div
102-
:style="{
103-
background: voteDistribution[v].color,
104-
}"
105-
:class="$style.voting_bar"
106-
/>
107-
<template #content>
108-
{{ voteDistribution[v].name }}:
109-
<Text color="primary">
110-
{{ comma(voteDistribution[v].power) }}
111-
</Text>
112-
TIA
113-
</template>
114-
</Tooltip>
96+
<template v-for="v in Object.keys(voteDistribution)">
97+
<Tooltip
98+
v-if="voteDistribution[v].power"
99+
wide
100+
:trigger-width="`${voteDistribution[v].power ? Math.max(5, voteDistribution[v].shareOfTotal) : 0}%`"
101+
>
102+
<div
103+
:style="{
104+
background: voteDistribution[v].color,
105+
}"
106+
:class="$style.voting_bar"
107+
/>
108+
<template #content>
109+
{{ voteDistribution[v].name }}:
110+
<Text color="primary">
111+
{{ comma(voteDistribution[v].power) }}
112+
</Text>
113+
TIA
114+
</template>
115+
</Tooltip>
116+
</template>
115117
</Flex>
116118
117119
<Flex v-if="expand" direction="column" gap="16">

pages/blob.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ const handleCopy = (text) => {
358358
<Flex justify="between" :class="$style.namespace">
359359
<Flex direction="column" gap="8">
360360
<Text size="12" weight="600" color="secondary">Namespace</Text>
361-
<Text size="13" weight="600" color="primary">{{ space(metadata.namespace.name) }}</Text>
361+
<Text size="13" weight="600" color="primary">{{ metadata.namespace.name }}</Text>
362362
363363
<Text size="12" weight="500" color="tertiary">
364364
{{ formatBytes(metadata.namespace.size) }}&nbsp;&nbsp;•&nbsp;&nbsp;{{
@@ -386,6 +386,13 @@ const handleCopy = (text) => {
386386
</Text>
387387
</Flex>
388388
389+
<Flex align="center" justify="between">
390+
<Text size="12" weight="600" color="tertiary"> Version </Text>
391+
<Text size="12" weight="600" color="primary">
392+
{{ metadata.share_version }}
393+
</Text>
394+
</Flex>
395+
389396
<Flex align="center" justify="between">
390397
<Text size="12" weight="600" color="tertiary"> Time </Text>
391398
<Text size="12" weight="600" color="primary">

services/constants/updates.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ const updates = [
9494
link: "https://docs.celestia.org/how-to-guides/network-upgrade-process#matcha-network-upgrade",
9595
timeline: {
9696
mainnet: {
97-
time: 0,
98-
block: 0,
97+
time: 1763987592,
98+
block: 8662012,
9999
},
100100
development: {
101-
time: 0,
102-
block: 0,
101+
time: 1763987592,
102+
block: 8662012,
103103
},
104104
mocha: {
105105
time: 1759454702,

0 commit comments

Comments
 (0)