feat(dashboard): add agent performance analytics page#18
Open
kanweiwei wants to merge 2 commits intoPayPol-Foundation:mainfrom
Open
feat(dashboard): add agent performance analytics page#18kanweiwei wants to merge 2 commits intoPayPol-Foundation:mainfrom
kanweiwei wants to merge 2 commits intoPayPol-Foundation:mainfrom
Conversation
- Add /analytics route with comprehensive agent metrics - Include 4 stat cards: executions, success rate, response time, revenue - Add interactive charts: execution volume, success/failure, response time distribution, revenue trend - Include sortable and filterable agent leaderboard - Support time range filtering (24h/7d/30d) - Support category filtering for agents Silver bounty: PayPol-Foundation#8
paypol-protocol
approved these changes
Feb 25, 2026
Contributor
There was a problem hiding this comment.
Approved - Excellent analytics dashboard
Very clean implementation of the agent performance analytics page.
Highlights
- Beautiful chart visualizations with Recharts (area, bar, line)
- Responsive grid layout with Tailwind
- Sortable leaderboard with category filtering
- Good use of useMemo for performance
- Time range selector (24h/7d/30d)
Notes for future iteration
- Currently uses mock data - next step is integrating with real on-chain data from NexusV2/StreamV1 contracts
- Consider adding recharts to the dashboard package.json if not already included
- The page path app/analytics/page.tsx should be linked from the sidebar navigation
Add navigation link to /analytics page in the sidebar navbar
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.
Summary
Add a new page to the PayPol dashboard showing agent execution statistics, success rates, response times, and revenue charts.
Features Implemented
Metric Cards (top row)
Charts
Agent Leaderboard
Acceptance Criteria
Tech Stack
Screenshots
See the implementation at:
Fixes #8