[backend] Implement Agent Dashboard: Float Utilization, Earnings, Borrower Portfolio
Description: Agents need real-time dashboard showing: current float utilization %, projected earnings, borrower portfolio health, pending settlements, collateral ratio.
Impact: Agent retention; operational efficiency; proactive risk management; platform stickiness.
Suggested Fix:
- Add
GET /api/agents/dashboard endpoint
- Aggregate: float utilization (current/limit), earnings (daily/weekly/monthly), borrower count, overdue rate, collateral ratio
- Add WebSocket updates for real-time metrics
- Create frontend dashboard page in
frontend/src/app/[locale]/agent/dashboard
- Add caching with 30s TTL for expensive aggregations
Points: 150
Type: enhancement
Definition of Done
📋 Before working on this issue, please read our Contributing Guidelines — it covers branching, commits, PR standards, testing, and style guides.
Join our Telegram community to connect with other contributors, ask questions, and stay updated:
💬 Telegram: https://t.me/+eRqhka27TVo0NzM8
All official decisions, reviews, and coordination happen right here on GitHub. The Telegram group is a space for informal discussion and peer support.
[backend] Implement Agent Dashboard: Float Utilization, Earnings, Borrower Portfolio
Description: Agents need real-time dashboard showing: current float utilization %, projected earnings, borrower portfolio health, pending settlements, collateral ratio.
Impact: Agent retention; operational efficiency; proactive risk management; platform stickiness.
Suggested Fix:
GET /api/agents/dashboardendpointfrontend/src/app/[locale]/agent/dashboardPoints: 150
Type: enhancement
Definition of Done
📋 Before working on this issue, please read our Contributing Guidelines — it covers branching, commits, PR standards, testing, and style guides.
Join our Telegram community to connect with other contributors, ask questions, and stay updated:
💬 Telegram: https://t.me/+eRqhka27TVo0NzM8
All official decisions, reviews, and coordination happen right here on GitHub. The Telegram group is a space for informal discussion and peer support.