Skip to content

feat(indexd): siascan explorer data - #1225

Merged
alexfreska merged 1 commit into
mainfrom
feat_indexd_siascan_data
Aug 1, 2025
Merged

feat(indexd): siascan explorer data#1225
alexfreska merged 1 commit into
mainfrom
feat_indexd_siascan_data

Conversation

@alexfreska

@alexfreska alexfreska commented Jul 31, 2025

Copy link
Copy Markdown
Member
  • 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 AI review requested due to automatic review settings July 31, 2025 13:41
@changeset-bot

changeset-bot Bot commented Jul 31, 2025

Copy link
Copy Markdown

⚠️ 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

@vercel

vercel Bot commented Jul 31, 2025

Copy link
Copy Markdown

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

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 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

Comment thread libs/design-system/src/app/SettingsDialog.tsx

alexfreska commented Jul 31, 2025

Copy link
Copy Markdown
Member Author

alexfreska commented Aug 1, 2025

Copy link
Copy Markdown
Member Author

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

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants