Skip to content

feat(indexd): siascan explorer data #1225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2025
Merged

Conversation

alexfreska
Copy link
Member

@alexfreska alexfreska commented Jul 31, 2025

  • Configure indexd to use siascan explorer APIs directly for now.
    • Once the desired featureset is more clear we will likely move the explorer url to a daemon configuration, right now indexd has a single exchange rate route and does not follow the standard state explorer config like the other daemons.

@Copilot Copilot AI review requested due to automatic review settings July 31, 2025 13:41
Copy link

changeset-bot bot commented Jul 31, 2025

⚠️ No Changeset found

Latest commit: 862e457

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

Copy link

vercel bot commented Jul 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
indexd ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 1:27pm
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2025 1:27pm
explorer-zen ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2025 1:27pm
hostd ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2025 1:27pm
renterd ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2025 1:27pm

@github-project-automation github-project-automation bot moved this to In Progress in Sia Jul 31, 2025
Copy link

@Copilot Copilot AI left a comment

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 migrates indexd from using daemon-based explorer data to Siascan explorer data. The change removes the dependency on daemon explorer APIs and switches to using Siascan-specific hooks and services.

Key changes:

  • Replace daemon explorer hooks with Siascan equivalents across multiple components
  • Remove daemon explorer configuration from app layout
  • Disable the daemon explorer toggle in settings dialog

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
libs/design-system/src/app/SettingsDialog.tsx Removes the onCheckedChange handler for daemon explorer toggle
apps/indexd/hooks/useMedianPrices.tsx Switches from useDaemonExplorerHostMetrics to useSiascanHostMetrics
apps/indexd/contexts/config/useFormExchangeRate.tsx Switches from useDaemonExplorerExchangeRate to useSiascanExchangeRate
apps/indexd/components/Config/index.tsx Switches from useDaemonExplorerExchangeRate to useSiascanExchangeRate
apps/indexd/app/layout.tsx Removes daemon explorer configuration and unused import

Copy link
Member Author

alexfreska commented Jul 31, 2025

Copy link
Member Author

alexfreska commented Aug 1, 2025

Merge activity

  • Aug 1, 1:21 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Aug 1, 1:23 PM UTC: Graphite rebased this pull request as part of a merge.
  • Aug 1, 1:27 PM UTC: @alexfreska merged this pull request with Graphite.

@alexfreska alexfreska changed the base branch from chore_upgrade_bignumber to graphite-base/1225 August 1, 2025 13:21
@alexfreska alexfreska changed the base branch from graphite-base/1225 to main August 1, 2025 13:21
@alexfreska alexfreska merged commit 7a2851d into main Aug 1, 2025
21 of 72 checks passed
@alexfreska alexfreska deleted the feat_indexd_siascan_data branch August 1, 2025 13:27
@github-project-automation github-project-automation bot moved this from In Progress to Done in Sia Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants