Skip to content

web: add DZDP validator explorer view#560

Open
nikw9944 wants to merge 6 commits into
nikw9944/lake-550from
nikw9944/lake-551
Open

web: add DZDP validator explorer view#560
nikw9944 wants to merge 6 commits into
nikw9944/lake-550from
nikw9944/lake-551

Conversation

@nikw9944

@nikw9944 nikw9944 commented May 4, 2026

Copy link
Copy Markdown
Contributor

Summary of Changes

  • Add full DZDP validator explorer view replacing the "Coming soon" placeholder in the geolocation explorer page
  • Implements filter row (metro, stake tier, DZ toggle), MapLibre scatter map with validator dots and metro clusters, sortable validator table with freshness indicator, ghost rows with blur CTA, stake tier donut chart, metro breakdown bar chart, and bottom CTA banner
  • Follows existing patterns from sibling dzdp-concentration-view.tsx for consistency
  • Fixes geoloc explorer for DZDP issue C: validator explorer view #551

Testing Verification

  • TypeScript type check (tsc -b --noEmit) passes with zero errors
  • Full Vite production build completes successfully
  • Filter controls correctly drive API query params (metro, dz_filter) and client-side tier filtering
  • Sortable table toggles between ascending/descending on all columns
  • Ghost rows render with blur overlay and non-interactive CTA linking to external interest page
  • Empty states handled for map, table, and chart sections
  • Architecture and security reviews posted — no critical or high security findings

@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown

🔗 Preview: https://pr-560.data.malbeclabs.com

@nikw9944 nikw9944 marked this pull request as ready for review May 5, 2026 19:59
@nikw9944 nikw9944 requested a review from ben-dz May 5, 2026 20:17
@nikw9944 nikw9944 force-pushed the nikw9944/lake-550 branch from e0673bf to f35361c Compare May 5, 2026 20:18
@nikw9944 nikw9944 marked this pull request as draft May 5, 2026 20:19
@nikw9944 nikw9944 force-pushed the nikw9944/lake-550 branch 2 times, most recently from 291f341 to 2cb8896 Compare May 5, 2026 20:42
nikw9944 added 5 commits May 5, 2026 20:45
Implement full validator view for the geolocation explorer page,
replacing the placeholder with a feature-rich component including:
- Filter row with metro, stake tier, and DZ toggle controls
- MapLibre scatter map with validator dots and metro clusters
- Sortable validator table with freshness indicator
- Ghost rows with blur effect and access request CTA
- Stake tier breakdown (donut chart) and top metros bar chart
- CTA banner linking to geolocation interest page

Refs #551
Add comments explaining client-side tier filtering rationale and
hashOffset purpose per architecture review feedback.
Remove top-15 country slice and top-10 metro slice so all items
are shown. Add max-height with overflow-y-auto to country bar chart,
ASN list, and metros bar chart so they scroll when content is tall.
@nikw9944 nikw9944 force-pushed the nikw9944/lake-551 branch from 2d6fc1a to 1ed0089 Compare May 5, 2026 20:49
@nikw9944 nikw9944 marked this pull request as ready for review May 5, 2026 21:52
Filtered requests (metro, dz_filter params) were bypassing the page
cache and re-running the expensive ClickHouse CROSS JOIN query every
time (4-15s). Now the full validator dataset is cached in memory after
each query, and filtered requests read from this cache instead.
@nikw9944 nikw9944 removed the preview label Jun 29, 2026
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