feat(explorer): add block metrics page - #1313
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
f84a6a7 to
6900946
Compare
6900946 to
a21c9be
Compare
a21c9be to
e3912eb
Compare
e3912eb to
a256423
Compare
6cb35bf to
eff393e
Compare
a256423 to
64f1c24
Compare
eff393e to
4fabcf1
Compare
64f1c24 to
933ed74
Compare
933ed74 to
55edd49
Compare
06831b9 to
21c2182
Compare
alexfreska
left a comment
There was a problem hiding this comment.
Looking good! Left some feedback comments on the preview.
21c2182 to
8e42401
Compare
8e42401 to
9e1e62f
Compare
9e1e62f to
f16198a
Compare
900b8a0 to
373d852
Compare
f16198a to
287cf03
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new block metrics page to the explorer application, featuring interactive charts for visualizing blockchain difficulty metrics data. The implementation includes comprehensive chart visualization with user interaction capabilities and navigation support.
- Adds new dependencies for data visualization (@visx chart libraries) and React hooks for API integration
- Creates interactive chart components with pan, zoom, and selection functionality for blockchain metrics
- Implements a complete page structure with routing, error handling, and accordion-based data display
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| apps/explorer/package.json | Adds @visx chart libraries and explored-react dependency for visualization and API integration |
| apps/explorer/components/BlockMetrics/index.tsx | Main container component that renders the block metrics layout |
| apps/explorer/components/BlockMetrics/DifficultyMetricsChart.tsx | Complex interactive chart component with drag selection, tooltips, and navigation controls |
| apps/explorer/components/BlockMetrics/DifficultyMetrics.tsx | Main metrics component handling API data, state management, and chart rendering |
| apps/explorer/app/(main)/block-metrics/page.tsx | Next.js page component for the block metrics route |
| apps/explorer/app/(main)/block-metrics/not-found.tsx | 404 error page for the block metrics route |
| apps/explorer/app/(main)/block-metrics/error.tsx | Error boundary component for the block metrics route |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

No description provided.