28 lines
738 B
Markdown
28 lines
738 B
Markdown
|
|
---
|
||
|
|
convoy: dashboard-home-realignment
|
||
|
|
brief_number: 2
|
||
|
|
depends_on: []
|
||
|
|
recommended_model: composer-2.5-fast
|
||
|
|
model_tier: fast
|
||
|
|
files:
|
||
|
|
- pages/dashboard.js
|
||
|
|
- components/DashboardFeaturedCollection.js
|
||
|
|
- components/DashboardRecentActivity.js
|
||
|
|
- components/DashboardCardSpotlight.js
|
||
|
|
- lib/format-relative-time.js
|
||
|
|
- test/lib/format-relative-time.test.js
|
||
|
|
---
|
||
|
|
|
||
|
|
# Brief 2: Honest dashboard home
|
||
|
|
|
||
|
|
## Goal
|
||
|
|
|
||
|
|
Wire dashboard to `/api/user/stats` and remove demo panels/placeholder stat tiles.
|
||
|
|
|
||
|
|
## Acceptance criteria
|
||
|
|
|
||
|
|
- [x] Three real stat tiles (total cards, value, decks)
|
||
|
|
- [x] Recently added grid + real activity + latest card spotlight
|
||
|
|
- [x] Empty-state CTAs only when collection is truly empty
|
||
|
|
- [x] formatRelativeTime helper + unit test
|