dos updates

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-20 14:45:21 +00:00
parent 0b3197d199
commit c777e5ccb2
93 changed files with 1368 additions and 33562 deletions

View File

@@ -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 |
---