feat(indexd): sector and account stats - #1323
Conversation
🦋 Changeset detectedLatest commit: c4fe061 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Pull Request Overview
This PR adds new sector and account statistics APIs to the indexd service. It expands the existing sector stats to include migration, pinning, and unpinning information, and introduces a new account stats endpoint to track registered accounts.
- Extends the sector statistics API with additional metrics for sector states
- Adds a new account statistics API to track registered account counts
- Updates the metrics UI to display all the new statistics with improved loading states
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| libs/indexd-types/src/admin/index.ts | Adds new sector stat fields and account stats API type definitions |
| libs/indexd-react/src/admin.ts | Imports and exports React hook for account stats API |
| libs/indexd-js/src/admin.ts | Adds JavaScript client method for account stats API |
| apps/indexd/components/Metrics/index.tsx | Refactors metrics display to show new stats with improved loading states |
| .changeset/stupid-geese-strive.md | Documents API changes for library packages |
| .changeset/honest-monkeys-find.md | Documents UI changes for indexd app |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|

Uh oh!
There was an error while loading. Please reload this page.