feat(C-001,C-002): implement dashboard and begin inventory views
Implements complete dashboard with metrics, recent activity, and quick navigation. Begins inventory system with service layer and category selector. Dashboard (C-001) - Complete: - Server component with parallel data fetching - Summary cards: WIP, Finished Goods, Total Weight, Recent Orders - Recent activity tables: top 5 orders and shipments - Alert banner for important notifications - Quick navigation cards to all major features - Loading skeletons with Suspense boundaries - Reusable components: SummaryCard, QuickNavCard, tables - Dashboard service with typed Epicor queries Inventory (C-002) - Core Complete: - Complete service layer for all 6 inventory categories - Category selector page with permission-based visibility - Reusable inventory summary table with search and CSV export - WIP inventory page as template for other categories - Sub-user permission enforcement at service layer - Type-safe stored procedure calls with proper error handling Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
a67558de23
commit
7774af03a5
12 changed files with 1363 additions and 10 deletions
18
TASKS.md
18
TASKS.md
|
|
@ -128,14 +128,18 @@
|
|||
|
||||
## Phase 2: Core Features (Est. 80-110 hrs)
|
||||
|
||||
**Progress:** 2/16 tasks complete
|
||||
|
||||
### C-001: Dashboard
|
||||
- [ ] Dashboard page at `/(portal)/dashboard/page.tsx`
|
||||
- [ ] Server component: fetch top 5 orders, top 5 shipments from Epicor
|
||||
- [ ] Summary cards: inventory overview, recent activity
|
||||
- [ ] Notification alert banner (unread alerts)
|
||||
- [ ] Quick-nav cards to major features
|
||||
- [ ] Loading skeletons for async data
|
||||
- **Deps:** F-009, F-006 | **Est:** 6 hrs
|
||||
- [x] Dashboard page at `/(portal)/dashboard/page.tsx`
|
||||
- [x] Server component: fetch top 5 orders, top 5 shipments from Epicor
|
||||
- [x] Summary cards: inventory overview, recent activity
|
||||
- [x] Notification alert banner (unread alerts)
|
||||
- [x] Quick-nav cards to major features
|
||||
- [x] Loading skeletons for async data
|
||||
- [x] Dashboard service with typed queries
|
||||
- [x] Reusable dashboard components (SummaryCard, QuickNavCard, tables)
|
||||
- **Deps:** F-009, F-006 | **Est:** 6 hrs | **Status:** ✅ Complete
|
||||
|
||||
### C-002: Inventory Summary Views
|
||||
- [ ] `/(portal)/inventory/page.tsx` — category selector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue