Move business logic out of App Router into module packages, add boundary validation scripts, and keep all routes as thin re-exports without changing URLs or API behavior. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
664 B
Markdown
26 lines
664 B
Markdown
# `shared/charts/`
|
|
|
|
## Purpose
|
|
|
|
Chart wrappers and analytics visualization components for dashboards and reports.
|
|
|
|
## Legacy source (not moved)
|
|
|
|
- None — `recharts` is in `package.json` but has zero imports in source
|
|
- Analytics routes exist in accounting, beauty, healthcare without chart components
|
|
|
|
## Planned contents
|
|
|
|
- Recharts-themed wrappers matching design tokens
|
|
- `StatChart`, `TrendChart`, `BarChartCard` composites
|
|
- Lazy-loaded chart bundles for build performance
|
|
|
|
## Allowed dependencies
|
|
|
|
- `shared/ui/`, `shared/theme/`
|
|
- External: `recharts`
|
|
|
|
## Status
|
|
|
|
📁 Scaffold only — charts not implemented in legacy codebase.
|