dos updates
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Zustand State Management
|
||||
|
||||
**Last Verified:** January 3, 2026
|
||||
**Version:** 1.3.2
|
||||
**Last Verified:** January 20, 2026
|
||||
**Version:** 1.8.4
|
||||
**Framework:** Zustand 4 with persist middleware
|
||||
|
||||
---
|
||||
@@ -15,18 +15,20 @@ All stores in `/frontend/src/store/` use Zustand with TypeScript.
|
||||
- Async actions for API calls
|
||||
- Selectors for derived state
|
||||
|
||||
**Available Stores:**
|
||||
- `authStore.ts` - Authentication state
|
||||
- `siteStore.ts` - Site selection/management
|
||||
- `sectorStore.ts` - Sector management
|
||||
- `plannerStore.ts` - Planner module state
|
||||
- `billingStore.ts` - Billing/credits
|
||||
- `notificationStore.ts` - Notifications
|
||||
- `settingsStore.ts` - User preferences
|
||||
- `moduleStore.ts` - Module navigation
|
||||
- `columnVisibilityStore.ts` - Table column prefs
|
||||
- `pageSizeStore.ts` - Table pagination prefs
|
||||
- **`onboardingStore.ts`** - Onboarding wizard state (v1.3.2)
|
||||
**Available Stores (11 total):**
|
||||
| Store | File | Purpose |
|
||||
|-------|------|---------|
|
||||
| Auth | `authStore.ts` | Authentication, user session, account |
|
||||
| Site | `siteStore.ts` | Site selection/management |
|
||||
| Sector | `sectorStore.ts` | Sector management within sites |
|
||||
| Planner | `plannerStore.ts` | Planner module state |
|
||||
| Billing | `billingStore.ts` | Credits, billing info |
|
||||
| Notification | `notificationStore.ts` | App notifications |
|
||||
| Settings | `settingsStore.ts` | User preferences |
|
||||
| Module | `moduleStore.ts` | Module enable/disable state |
|
||||
| Column Visibility | `columnVisibilityStore.ts` | Table column preferences |
|
||||
| Page Size | `pageSizeStore.ts` | Table pagination preferences |
|
||||
| Onboarding | `onboardingStore.ts` | Onboarding wizard state |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user