Commit Graph

16 Commits

Author SHA1 Message Date
hosseintaromi bfd1ea72a5 fix 2026-01-08 17:36:52 +03:30
hosseintaromi ef76defb28 fix 2026-01-08 17:10:26 +03:30
hosseintaromi 3d437aeb53 feat(orders): improve order detail page UI and add payment settings pages
- Add product images display in order items
- Fix payment section overflow issues
- Merge customer and address sections into single card
- Add shipping method and delivery slot display
- Add payment gateway management page (IPG)
- Add wallet management page
- Add card-to-card payment settings page
- Remove coverage column from shipping methods table
- Improve overall layout and responsiveness
2025-12-25 18:15:53 +03:30
hossein taromi e4d5ac4736 feat(tickets): implement ticket management features including listing, details, and configuration 2025-11-22 11:58:09 +03:30
hosseintaromi e52ea39e60 feat(shipping-methods): add full CRUD scaffolding (list + form), API routes, query keys and React Query hooks; improve dropdown selected contrast; numeric inputs with thousand separators and no default zeros 2025-09-01 01:21:29 +03:30
hossein taromi 9544517fc9 feat(users-admin): implement user management features including list, detail, and form pages 2025-08-31 11:48:14 +03:30
hossein taromi d216a886d0 feat(orders): implement orders pages, update routes, and add order-related API constants 2025-08-30 17:38:19 +03:30
hossein taromi d8b6f2a54f feat(discount-codes): add discount codes pages, routes, and API constants 2025-08-30 17:17:04 +03:30
hosseintaromi 025d9de1d7 feat: add landing hero page and related routes in App, Sidebar, and API constants 2025-08-01 20:06:31 +03:30
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
hosseintaromi 83a400687e fix: remove unused imports to resolve TS6133 errors
- Remove unused React imports from components
- Remove unused icon imports (User, Mail, Phone, Search, etc.)
- Remove unused component imports (Button, LoadingSpinner, etc.)
- Remove unused type imports (LoginRequest)
- Clean up import statements across all pages and components
2025-07-29 09:49:27 +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
hossein taromi 8c896c1855 feat(navigation): integrate product management into app navigation
- Add product management section to sidebar with nested menu items
- Include routes for products, categories, and product-options
- Update API routes constants with all new endpoints
- Add corresponding query keys for React Query caching
- Organize navigation with proper icons and hierarchy
2025-07-27 14:46:11 +03:30
hosseintaromi 5862bd97a1 ui: update navigation and routing
- Add routes for admin users, roles, and permissions management
- Update sidebar with System Management section
- Remove undeveloped menu items for cleaner demo
- Add proper route protection and loading states
- Export new permission management types
2025-07-22 08:48:52 +03:30
hosseintaromi f43e7ca0e5 feat(navigation): integrate roles into app navigation
- Add all roles routes to App.tsx
- Add roles menu item to sidebar with Shield icon
- Update user display to use AdminUser properties
- Fix TypeScript compatibility issues with new auth types
2025-07-18 14:03:07 +03:30
hosseintaromi 46d9c20d87 Update file structure and improve code organization in the main directory 2025-07-13 22:03:22 +03:30