Repository navigation
feat(code): unify dashboard usage chart with agent chart - #2252
Conversation
Replace the bespoke "Daily spend" bar chart on the DevPass dashboard with the same AgentModelUsageChart used on each coding agent card, passing all known agent sources so it shows total (stacked) usage across agents instead of per-agent. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThe PR refactors the dashboard's metrics display by extracting agent sources into a reusable exported constant and replacing the daily spend chart visualization. ChangesDashboard Chart Refactoring
🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
AgentModelUsageChartused on each coding agent card.Test plan
/dashboardwith an active DevPlan — the previous "Daily spend" card is replaced by a "Model Usage Overview" card.ALL_CODING_AGENT_SOURCESexport is wired up).🤖 Generated with Claude Code
Summary by CodeRabbit