Skip to content

feat: homepage refresh — cluster strip, live activity feeds, compact prices#597

Closed
Agilulfo1820 wants to merge 1 commit into
mainfrom
feat/homepage-redesign
Closed

feat: homepage refresh — cluster strip, live activity feeds, compact prices#597
Agilulfo1820 wants to merge 1 commit into
mainfrom
feat/homepage-redesign

Conversation

@Agilulfo1820

Copy link
Copy Markdown
Member

Summary

First-pass refresh of the homepage following the design kit's solanabeach-style dashboard. Focused on the easy-impact pieces; the live TPS chart and validator donut are intentionally left for a follow-up PR because they need new data plumbing.

What changes

New: ClusterStrip

Three cells in one rounded panel under the stat tiles:

  • Circulating supply — fixed 86.71B VET with a gradient bar (no inflation).
  • VET staked via StarGate — live total + % of max supply.
  • VTHO generated · 24h — 24h passive-generation ballpark derived from the staked figure (0.000432 VTHO / VET / day, weighted to the StarGate delegator share).

Hidden on the solo network.

Updated: ActivitySection

  • Renamed card titles to Latest Blocks / Latest Transactions to match the design.
  • Each title now carries a pulsing LiveBadge so users see the data is streaming.

New: LiveBadge (components/ui/LiveBadge.tsx)

Small reusable dot + label component for other live-streaming sections in the future.

New: CompactPriceStrip

Replaces the three big PriceCards. Single rounded row with token icon + symbol + price + colour-coded 24h change, hairline dividers between tokens. Moved to the bottom of the page where the design places it.

Out of scope (follow-ups)

  • Live TPS hero chart — needs a rolling-TPS calculation from blocks data + animated SVG path.
  • Top Validators section with stake-distribution donut + Nakamoto coefficient — needs a custom donut viz and a leaderboard table built from the existing validator data.
  • Stat tile icons + sub-labels — current HomeStatsGroup covers the data but doesn't yet match the design's icon-led layout.

Test plan

  • pnpm ts-check · pnpm lint · pnpm knip · pnpm test (186 pass)
  • Browser smoke (mainnet): homepage loads, stat tiles render, ClusterStrip shows live staked VET + percentage of supply, ActivitySection card titles show the pulsing Live dot, price strip renders with VET/VTHO/B3TR + colour-coded change
  • Browser smoke (testnet): same layout renders with testnet data
  • Browser smoke (solo): ClusterStrip is hidden, no errors

🤖 Generated with Claude Code

Brings the explorer homepage closer to the design kit:

- New ClusterStrip below the stat tiles. Three cells in one rounded
  panel: Circulating supply (fixed 86.71B with a gradient bar against
  the max), VET staked via StarGate (live total + % of max supply),
  and a 24h passive-VTHO-generation estimate based on the staked
  figure.
- ActivitySection card titles renamed to "Latest Blocks" / "Latest
  Transactions" and now carry a pulsing LiveBadge so users see the
  data updates in real time. LiveBadge is a small reusable
  component (components/ui/LiveBadge.tsx) for other live feeds.
- New CompactPriceStrip replaces the three big PriceCards. Single
  rounded row with token icon + symbol + price + colour-coded 24h
  change, hairline dividers between tokens. Moved to the bottom of
  the page where the design places it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

Block explorer – Preview

Name Status Preview Updated (UTC)
block-explorer-preview ✅ Ready (207bd25) Custom Domain →Default URL → 2026-06-08 14:23:23

⏱️ Note: Custom domain may take 5-10 minutes to activate on first deployment. Use Default URL in the meantime.


Built with commit 207bd25 • Preview environments are automatically destroyed when PRs are closed

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

PR Docker Image Published

docker pull ghcr.io/vechain/block-explorer:pr.597.207bd25
Run locally
docker run --rm -p 3000:3000 ghcr.io/vechain/block-explorer:pr.597.207bd25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant