Feat: Add PDP Subgraph and subgraph client#63
Open
silent-cipher wants to merge 51 commits intomainfrom
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request introduces a new subgraph and accompanying client for interacting with PDP data across mainnet and calibration networks. Key changes include:
- Added React components to display recent providers, recent proof sets, and network stats.
- Introduced an API service module to query the subgraph.
- Included project configuration files (Prettier, ESLint, PostCSS), a main application entry point, and detailed deployment documentation.
Reviewed Changes
Copilot reviewed 89 out of 99 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| subgraph-client/src/components/Landing/RecentProvidersTable.tsx | Table component displaying recent providers. |
| subgraph-client/src/components/Landing/RecentProofSetsTable.tsx | Table component displaying recent proof sets. |
| subgraph-client/src/components/Landing/NetworkStatsCard.tsx | Card component showing network metrics with a computed PDP proofs value. |
| subgraph-client/src/api/apiService.ts | API service for fetching providers and proof sets from the subgraph. |
| subgraph-client/src/App.tsx | Main application entry point setting up routes and notifications. |
| subgraph-client/prettier.config.js | Prettier configuration for code formatting. |
| subgraph-client/postcss.config.js | PostCSS configuration for TailwindCSS and autoprefixer. |
| subgraph-client/index.html | HTML template with meta tags for SEO and social sharing. |
| subgraph-client/.eslintrc.cjs | ESLint configuration tailored for the project. |
| docs/subgraph/deployment.md | Documentation detailing subgraph deployment and client usage. |
Files not reviewed (10)
- subgraph-client/.env.example: Language not supported
- subgraph-client/.gitignore: Language not supported
- subgraph-client/.prettierignore: Language not supported
- subgraph-client/.prettierrc: Language not supported
- subgraph-client/Dockerfile: Language not supported
- subgraph-client/components.json: Language not supported
- subgraph-client/package.json: Language not supported
- subgraph-client/public/robots.txt: Language not supported
- subgraph-client/public/site.webmanifest: Language not supported
- subgraph-client/public/sitemap.xml: Language not supported
Comments suppressed due to low confidence (1)
subgraph-client/src/components/Landing/NetworkStatsCard.tsx:71
- [nitpick] Consider extracting the magic number '5' into a named constant or configuration value for improved clarity and maintainability.
value={(Number(metrics.totalProofs) * 5).toLocaleString()}
|
any reason why we shouldnt merge this? |
Collaborator
Author
|
@jennijuju now there doesn't seem any reason. |
ZenGround0
approved these changes
Aug 4, 2025
Contributor
ZenGround0
left a comment
There was a problem hiding this comment.
FYI I'm not looking at this too closely. Nothing seems obviously wrong.
|
should we land this to main? @kaola526 |
Contributor
|
@silent-cipher : is this still relevant or should it be closed at this point? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features:
Also, fixes #65