Commit Graph

7 Commits

Author SHA1 Message Date
hosseintaromi bdf5ab0c7c chore(dependencies): update React and related packages to version 19.2.3, and upgrade various dependencies in package-lock.json 2025-12-25 21:52:49 +03:30
hosseintaromi fbffc716ba feat(discount-codes): update DiscountCodeFormPage with date picker and single user selection 2025-10-01 16:43:38 +08:00
hosseintaromi a6e59b7c85 perf: optimize bundle size with code splitting and lazy loading
Bundle Size Optimization:
- Add lazy loading for all page components
- Implement Suspense wrapper with loading fallbacks
- Configure manual chunks for vendor libraries
- Separate chart library (recharts) into vendor-charts chunk

Results:
- Split single 950KB bundle into multiple optimized chunks
- Main vendor chunks: React (162KB), Forms (65KB), Charts (402KB)
- Each page loads independently with lazy loading
- Improved initial load time and caching efficiency
- Install terser for better minification

Chunks created:
- vendor-react: React dependencies
- vendor-forms: Form validation libraries
- vendor-query: React Query
- vendor-toast: Toast notifications
- vendor-charts: Chart library (lazy loaded)

This resolves the bundle size warning and improves performance
2025-07-29 09:58:41 +03:30
hossein taromi 88958ee63a feat: add remaining UI improvements and new features
- Add cypress test configuration and e2e tests
- Update various components styling and functionality
- Add product detail page and other new features
- General codebase improvements and fixes
2025-07-28 13:22:44 +03:30
hosseintaromi 13627a382c docs: update package.json
- Maintain package.json consistency
2025-07-18 14:03:18 +03:30
hosseintaromi 07acb8c1b8 Update package dependencies to include js-cookie and its type definitions 2025-07-18 12:49:14 +03:30
hosseintaromi 46d9c20d87 Update file structure and improve code organization in the main directory 2025-07-13 22:03:22 +03:30