feat(design-system): redesign v2 #4 — StatCard primitive + dashboard wiring #104
No reviewers
Labels
No labels
agent-context-drift
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rstillwell/deckhearth#104
Loading…
Reference in a new issue
No description provided.
Delete branch "redesign-v2-4-stat-card"
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?
Umbrella:
.convoys/redesign-v2-from-mockups.md. Sibling of PR #103 (sub-convoy #2 + #5).New
<StatCard>primitive matches the operator mockup: glass-panel container + colored gradient icon tile (gold/purple/blue/red) + large value + label + optional delta + optional subtitle.What ships
components/ui/StatCard.js— 4 accent gradients (gold/purple/blue/red), sign-driven delta color + glyph (▲/▼), composable subtitle. Built on top of<GlassSurface>so blur/elevation are free.Dashboard wiring (
pages/dashboard.js):collections.reduce.Tests
test/components/StatCard.test.js— 6 assertions covering label/value, positive/negative delta colors + glyphs, delta omission, all 4 accents, subtitle render.npm run test:run: 110/110npm run lint: cleannpm run build: greenTest plan
/dashboardshows 4 stat cards in a row (2-up on mobile) with colored gradient icon tilesMade with Cursor
The latest updates on your projects. Learn more about Vercel for GitHub.
Pipeline Health
Build + CI gates
Build runs on Vercel; this CI runs lint and schema-map drift only (no duplicate build).
Role reports
See individual comments above for details. This rollup updates automatically.
Visual Diff
Screenshots and diffs uploaded as artifacts: view run
If intentional changes: update snapshots locally with
npx playwright test --project=visual --update-snapshotsand commit.