[codex] show credit period totals#2251
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR adds period-level credit summary cards to the admin dashboard. New translation keys support UI labels, a computed property aggregates credit trend data into bought and consumed totals, and a responsive card grid displays these metrics with loading states. ChangesAdmin Credits Period Totals
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Merging this PR will not alter performance
Comparing Footnotes
|
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |



Summary (AI generated)
Motivation (AI generated)
Admins can already see credit bought/used charts, but they need the period totals at a glance for the active dashboard date range.
Business Impact (AI generated)
This makes credit usage and sales monitoring faster for support and operations, improving visibility into credit revenue and consumption without changing customer-facing behavior.
Test Plan (AI generated)
bun lintbun typecheckbun run build/admin/dashboard/creditsredirect/runtime errorsbun test:frontSummary by CodeRabbit
Release Notes