Commit Graph

27 Commits

Author SHA1 Message Date
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
hossein taromi f4aecefbe7 fix(ui): update JalaliDateTimePicker to handle undefined conversion parameter 2025-10-05 10:14:27 +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 dad0ff292d feat(orders): enhance order detail and list pages with improved data handling and UI updates 2025-09-26 12:16:58 +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 014b3d3f48 feat(discount-codes): enhance discount code form with accessibility attributes and data-testid 2025-08-31 10:33:39 +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
hossein taromi 8b685c8668 refactor uploader 2025-08-12 13:48:49 +03:30
hossein taromi 88ee42e434 feat(products): fix image preview by using public file URL and normalizing edit data 2025-08-11 12:53:05 +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 25429f9745 fix: نمایش صحیح تصاویر هنگام ویرایش variant
- اصلاح منطق بارگذاری تصاویر variant در حالت ویرایش
- افزودن fallback به فیلد files در صورت خالی بودن file_ids
- رفع مشکل نمایش فقط یک تصویر از چندین تصویر آپلود شده
2025-08-01 14:38:04 +03:30
hossein taromi b97f72aeae fix: improve file_ids handling in VariantManager and ProductFormPage 2025-07-30 14:23:37 +03:30
hossein taromi a228605ba0 refactor: replace images with file_ids in product management components 2025-07-30 14:10:28 +03:30
hosseintaromi 4f4ef51ccc feat: enhance input handling and product management features
- Added numeric input handling in Input component with Persian to English conversion
- Updated MultiSelectAutocomplete styles for dark mode compatibility
- Enhanced VariantManager to support product options and improved variant data handling
- Updated ProductDetailPage and ProductFormPage to display and manage product options
- Improved ProductsListPage to handle numeric filters with Persian number conversion
2025-07-30 08:29:19 +03:30
hosseintaromi e0156658a2 fix: update component interfaces and props
Input Component:
- Add icon prop to support icon display

Typography Component:
- Add actions prop to FormHeader for flexible action buttons

Modal Usage:
- Add required title prop to Modal components in Users pages

UserForm Component:
- Add missing props: initialData, onCancel, loading, isEdit
- Support both defaultValues and initialData patterns

These changes resolve TS2741 and TS2322 type errors
2025-07-29 09:49:58 +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 e436bc546b fix: improve select components styling and readability
- Fix selected option colors in MultiSelectAutocomplete and TagInput
- Use gray colors for better contrast and readability
- Add proper dark mode support for selected items
- Fix unreadable text in selected options
2025-07-28 13:21:59 +03:30
hosseintaromi b3c3a8afd0 fix(product-options): update API routes and enhance product option models 2025-07-28 09:11:08 +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
hossein taromi 6bcdf72512 feat(ui): add reusable UI components for product management
- Add MultiSelectAutocomplete for multi-selection with search
- Add TagInput for managing array of string values
- Add FileUploader with drag & drop and progress tracking
- Add VariantManager for comprehensive product variant management
- Add useFileUpload hooks for file upload/delete operations
2025-07-27 14:45:17 +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