1.6 KiB
1.6 KiB
Phase 5: Finance Restyle - Discussion Log
Audit trail only. Decisions captured in CONTEXT.md.
Date: 2026-05-03 Phase: 05-finance-restyle Mode: auto (--auto --chain) Areas analyzed: Card adoption, typography, table→list conversion, spacing/overflow, controls preservation, loading/error/empty states
Auto-resolved decisions
| Area | Selected | Rationale |
|---|---|---|
| Card primitive | shadcn Card + CardContent |
Consistent with Phase 3 KpiCardMobile and Phase 4 |
| Typography weights | font-normal + font-semibold only |
Phase 4 UI-SPEC dimension 4 (2-weight rule) |
| Typography sizes | text-sm / text-xs / text-[10px] (+ text-xl/text-2xl for KPI dollars) |
Phase 4 contract |
| Wide tables | Replaced with stacked card rows (2-line layout) | FIN-02 spec |
| Aging buckets | 3-cell row similar to WorkerStatusRow |
Phone-first density |
| Monthly revenue | Stacked list, no chart | DASH-04 no-charts precedent |
| Spacing | px-4 py-4 space-y-6 outer, space-y-3 between rows, gap-3 inside cards |
Multiples of 4 |
| Controls | Reskin existing Refresh/QBO sync icons; keep tab toggle and collapsibles | FIN-* spec says no new sections |
| Loading | Skeleton tiles + skeleton rows on initial; inline spinner on refresh | Phase 4 D-21 precedent |
| Error | Destructive-tinted card + Retry; toast.error() for sync transients |
Phase 4 D-21 precedent |
| API/data shape | Unchanged | Spec: same data, new shell |
Scope creep deferred
- Sortable invoice list, payment posting, drill-down per-customer, real charts, currency search — all noted in CONTEXT
<deferred>section.