Phase 1 · Batch 2: Dashboard Cards and Session Enrichment #31
Labels
No Label
admin
agent-api
api
api-client
audit
backend
boards
cost-accounting
database
design
forgejo
frontend
issues
metrics
mutation
navigation
optional
phase:1
phase:2
phase:3
phase:4
phase:5
phase:6
polish
priority:high
priority:low
priority:medium
service
sync
usage-accuracy
validation
webhooks
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Pipeline#31
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Outcome
Operators can see spend, remaining time, and high-cost sessions on the existing dashboard.
Scope
frontend/src/app/dashboard/page.tsxfrontend/src/api/generated/**after OpenAPI changesImplementation Details
Reference
openclaw-dashboardindex.html: overview card rendering, session list/detail renderingserver.js: getSessionsJson, getLastMessage, getSessionCostDepends On
Labels
phase-1, frontend, priority-high
Verification complete. Issue #31 accurately reflects the Batch 2 scope from
runtime-usage-dashboard-plan.md:✅ Frontend updates to
dashboard/page.tsx✅ Frontend client regeneration from OpenAPI
✅ Runtime usage hooks for dashboard query (15-30s refetch)
✅ Dashboard cards: today cost, 5-hour spend, reset countdown, time-to-limit
✅ Compact Model Usage panel with per-model metrics
✅ Sessions panel enrichment (cost_usd, total_tokens, model, last active)
✅ Graceful empty states
✅ Tests coverage
✅ Correct dependency on #30 (Batch 1)
All requirements verified. Closing.