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>
27 lines
713 B
Markdown
27 lines
713 B
Markdown
# `shared/tables/`
|
|
|
|
## Purpose
|
|
|
|
Table rendering, toolbars, pagination, and future sort/filter abstractions.
|
|
|
|
## Legacy source (not moved)
|
|
|
|
- `components/ds/Page.tsx` — `DataTable`
|
|
- `components/ds/NavChrome.tsx` — `TableToolbar`, `Pagination`
|
|
- `components/beauty/design-system/BeautyTablePage.tsx` — client-side search wrapper
|
|
|
|
## Planned contents
|
|
|
|
- `DataTable` (current custom implementation)
|
|
- `TableToolbar`, `Pagination`, column helpers
|
|
- Optional `@tanstack/react-table` adapter when product requires sorting/filtering
|
|
|
|
## Allowed dependencies
|
|
|
|
- `shared/ui/`
|
|
- `shared/utils/`
|
|
|
|
## Status
|
|
|
|
📁 Scaffold only — `@tanstack/react-table` installed but unused in legacy code.
|