Commit Graph

7 Commits

Author SHA1 Message Date
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 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 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 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