Skip to content

feat(explorer): add block metrics page - #1313

Merged
telestrial merged 1 commit into
mainfrom
09-17-feat_explorer_add_block_metrics_page
Sep 24, 2025
Merged

feat(explorer): add block metrics page#1313
telestrial merged 1 commit into
mainfrom
09-17-feat_explorer_add_block_metrics_page

Conversation

@telestrial

Copy link
Copy Markdown
Contributor

No description provided.

@changeset-bot

changeset-bot Bot commented Sep 17, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 287cf03

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented Sep 17, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
explorer Ready Ready Preview Comment Sep 24, 2025 7:03pm
explorer-zen Ready Ready Preview 7 resolved Sep 24, 2025 7:03pm
3 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
hostd Ignored Ignored Preview Sep 24, 2025 7:03pm
indexd Ignored Ignored Preview Sep 24, 2025 7:03pm
renterd Ignored Ignored Preview Sep 24, 2025 7:03pm

@github-project-automation github-project-automation Bot moved this to In Progress in Sia Sep 17, 2025

telestrial commented Sep 17, 2025

Copy link
Copy Markdown
Contributor Author

@telestrial
telestrial force-pushed the 09-17-feat_explorer_add_block_metrics_page branch from f84a6a7 to 6900946 Compare September 17, 2025 17:42
@telestrial
telestrial force-pushed the 09-17-feat_explorer_add_block_metrics_page branch from 6900946 to a21c9be Compare September 17, 2025 18:06
@telestrial
telestrial force-pushed the 09-17-feat_explorer_add_block_metrics_page branch from a21c9be to e3912eb Compare September 17, 2025 19:07
@telestrial
telestrial force-pushed the 09-17-feat_explorer_add_block_metrics_page branch from e3912eb to a256423 Compare September 17, 2025 19:32
@telestrial
telestrial force-pushed the 09-15-feat_explored-types_add_block_time_and_difficult_metrics_apis branch from 6cb35bf to eff393e Compare September 19, 2025 18:11
@telestrial
telestrial force-pushed the 09-17-feat_explorer_add_block_metrics_page branch from a256423 to 64f1c24 Compare September 19, 2025 18:11
@telestrial
telestrial force-pushed the 09-15-feat_explored-types_add_block_time_and_difficult_metrics_apis branch from eff393e to 4fabcf1 Compare September 22, 2025 15:57
@telestrial
telestrial force-pushed the 09-17-feat_explorer_add_block_metrics_page branch from 64f1c24 to 933ed74 Compare September 22, 2025 15:57
@telestrial
telestrial force-pushed the 09-17-feat_explorer_add_block_metrics_page branch from 933ed74 to 55edd49 Compare September 22, 2025 19:45

@alexfreska alexfreska left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Left some feedback comments on the preview.

@telestrial
telestrial changed the base branch from main to graphite-base/1313 September 24, 2025 14:37
@telestrial
telestrial force-pushed the 09-17-feat_explorer_add_block_metrics_page branch from 21c2182 to 8e42401 Compare September 24, 2025 14:37
@telestrial
telestrial changed the base branch from graphite-base/1313 to 09-24-fix_design-system_use_cn_in_textfield_to_properly_merge_classname September 24, 2025 14:37
@telestrial
telestrial force-pushed the 09-17-feat_explorer_add_block_metrics_page branch from 8e42401 to 9e1e62f Compare September 24, 2025 18:01
@telestrial
telestrial changed the base branch from 09-24-fix_design-system_use_cn_in_textfield_to_properly_merge_classname to graphite-base/1313 September 24, 2025 18:11
@telestrial
telestrial force-pushed the 09-17-feat_explorer_add_block_metrics_page branch from 9e1e62f to f16198a Compare September 24, 2025 18:20
@telestrial
telestrial changed the base branch from graphite-base/1313 to main September 24, 2025 18:20
Comment thread apps/explorer/package.json Outdated
Copilot AI review requested due to automatic review settings September 24, 2025 19:00
@telestrial
telestrial force-pushed the 09-17-feat_explorer_add_block_metrics_page branch from f16198a to 287cf03 Compare September 24, 2025 19:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread apps/explorer/components/BlockMetrics/DifficultyMetricsChart.tsx
Comment thread apps/explorer/components/BlockMetrics/DifficultyMetricsChart.tsx
Comment thread apps/explorer/components/BlockMetrics/DifficultyMetricsChart.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants