Commit Graph

4 Commits

Author SHA1 Message Date
kevin-asprec
ca1afbd8db fix: replace dangerous r.data.data || r.data fallback with nullish coalescing
The || operator fallback returned the response wrapper object (truthy but
not an array) when r.data.data was null/undefined, causing .map() crashes.
Use ?? null, ?? [], and Array.isArray() guards instead.
2026-05-07 06:49:44 +08:00
kevin-asprec
9c4ab46c76 feat: dashboard error boundaries, loading guards, and data import settings page
- Add page-level and layout-level error.tsx boundaries for dashboard
- Add loading guard to dashboard page to defer API calls until auth is ready
- Fix Dockerfile to accept NEXT_PUBLIC_API_URL as build arg
- Fix .env.example API URL to include /api suffix
- Add Data Import tab in settings for CSV/Excel import of clients and invoices
- Create import page with template download, drag-drop upload, and row-level results
2026-05-07 06:19:24 +08:00
kevin-asprec
8c91ee7e4b fix: standalone tsconfig and Dockerfile for monorepo split 2026-04-13 12:04:20 +08:00
kevin-asprec
3f5bf0e118 initial: standalone repo from monorepo split 2026-04-13 09:36:37 +08:00