Commit Graph

19 Commits (master)

Author SHA1 Message Date
Amir Hossein Khademi 7614b2d102 Merge remote-tracking branch 'origin/subProduct' 2025-03-27 13:29:53 +03:30
Amir Hossein Khademi 477c941b34 Enhance page management and dialog functionality
- `PageActionDialogBox.razor`: Add form fields and data grid
  Added fields for section title, button title, address, description, type, and query. Added button and data grid for sections.
- `PageActionDialogBox.razor.cs`: Add `InitializeAsync` method
  Added using directives, `InitializeAsync` method, `IsEditing` flag, and `PageId` property.
- `PagesManagementPage.razor`: Add edit button for pages
  Added edit button to trigger `EditPageAsync` method for each page.
- `PagesManagementPage.razor.cs`: Refactor for constructor injection
  Refactored to use constructor injection. Added `EditPageAsync` method and updated `RemovePageAsync` method.
- `IPageRestApi.cs`: Change return type of `ReadById` method
  Updated return type from `BasePageSDto` to `BasePageLDto`.

Changes made by Amir.H Khademi
2025-03-25 18:41:40 +03:30
Amir Hossein Khademi 46773d2505 Add sub-product management feature
Introduced a new feature for managing sub-products within the application. This includes:

- Added a new tab panel for "Sub Products" in `ProductActionDialogBox.razor`.
- Created `SubProductActionDialogBox` component for sub-product creation and editing.
- Updated `ProductActionDialogBoxViewModel` to handle sub-product operations.
- Modified `Address` class and `IProductRestApi` interface to support sub-products.
- Added `SubProductController` for API requests related to sub-products.
- Introduced command and query classes for sub-product operations.
- Created `SubProductSDto` for sub-product data transfer.
- Added `SubProduct` class inheriting from `Product` with additional properties.
- Introduced `ProductDiversity` and `ColorDiversity` enums.
- Added `SubProductMapper` for mapping between `SubProduct` and `SubProductSDto`.
- Implemented command handlers for sub-product CRUD operations.
- Added migration script `20241217212716_AddSubProduct` to update the database schema.
- Updated `ProductController`, `SiteMapService`, and `Product` class to support sub-products.
- Added `SubProductActionDialogBox.razor` for sub-product UI management.
2024-12-18 02:14:07 +03:30
Amir Hossein Khademi 0e7c1d7f81 Refactor and enhance product and order handling
- Updated `DiscountActionDialogBoxViewModel` and `FastProductCreateDialogBoxViewModel` to create command objects directly from properties and improved error handling.
- Added meta tag management UI and logic in `ProductActionDialogBox.razor` and `ProductActionDialogBoxViewModel`.
- Increased max file read stream size to 8 MB in `StorageDialogBoxViewModel`.
- Incremented `AssemblyVersion` and `FileVersion` to `1.7.20.34` in `Netina.AdminPanel.PWA.csproj`.
- Updated `BrandsPage.razor` and `BrandsPageViewModel` for pagination and service injection.
- Updated `CategoriesPageViewModel` to create command objects directly from properties.
- Updated `ProductsPage.razor` for service injection and added a button for product details.
- Updated `ICrudApiRest` and `ICrudDtoApiRest` interfaces to use generic `Create` methods.
- Updated `appsettings.Development.json` for `StorageBaseUrl` and commented out `IsShop`.
- Added new project `AppHost.csproj` targeting .NET 8.0 with Aspire hosting.
- Added new `appsettings.Development.json` and `appsettings.json` for logging.
- Added new `Program.cs` to create and run a distributed application.
- Added new `launchSettings.json` for application launch settings.
- Added `Extensions.cs` for common .NET Aspire services.
- Added new project `ServiceDefaults.csproj` for shared service defaults.
- Introduced `ProductMetaTag` class and related migration for meta tag handling.
- Updated `OrderController.cs` for additional authorization requirements.
- Updated target frameworks to `net8.0` in various projects.
- Enhanced `SiteMapService.cs` to include brand site maps.
- Added new properties to DTOs for customer and meta tag handling.
- Enhanced `Product` class with meta tag management methods.
- Refactored `OrderMapper.g.cs` and `ProductMapper.g.cs` for improved mapping logic.
- Enhanced command handlers to manage meta tags.
- Added `ICurrentUserService` for user permissions in query handlers.
- Refactored `StorageService.cs` for paginated storage file fetching.
2024-12-06 17:37:40 +03:30
Amir Hossein Khademi 91d9b602f8 feat(MetaTags) , feat(ProductCategoryMetaTags) , VER 1.6.18.28 2024-10-25 14:36:19 +03:30
Amir Hossein Khademi 4b13db02aa change to comment 2024-09-25 17:08:35 +03:30
Amir Hossein Khademi 4f68a139de fix(SearchProductByName) 2024-08-10 20:35:38 +03:30
Amir Hossein Khademi 8b4c9934b3 feat(FaqInActions) , feat(FaqManagementPage) , feat(FaqController) 2024-08-07 16:15:52 +03:30
Amir Hossein Khademi d457803c30 feat(AddFastPriceChange) 2024-08-06 12:38:57 +03:30
Amir Hossein Khademi 956b0421b2 fix(CancelOrder) 2024-08-06 10:30:01 +03:30
Amir Hossein Khademi 59dad6f038 feat(ProductFilter)
- Add IsEnable filter in products page
2024-07-08 17:05:05 +03:30
Amir Hossein Khademi 82ace9a4dd fix(no-scrollbar) , fix(OrdersPagePagination) , feat(ShowOrderBagQuery)
-Fix no-scrollbar in pages
-Fix orders page pageination at page 2
-Add show order bag query in GetOrders
2024-06-12 13:18:27 +03:30
Amir Hossein Khademi 55931702a9 refactor(ProductCategoriesPage) , refactor(ICrudApiRest)
- NEW VERSION OF PRODUCT CATEGORIES PAGE
- Change products categories page style and ux
- Change icrud api rest and get guid in instead of dto or model
2024-06-07 23:03:55 +03:30
Amir Hossein Khademi fdfe778a7a fix(OrderHomePage) , fix(OrderInvoiceGenerate)
- Fix order home page ui
- Fix get orders in order home page
- Fix order status filter
- Fix order invoice url
2024-06-01 13:42:03 +03:30
Amir Hossein Khademi 7bfff18735 feat : add order home page query filter 2024-05-16 15:45:20 +03:30
Amir Hossein Khademi 53a7bf501f fix : order homepage informations 2024-05-16 13:52:55 +03:30
Amir Hossein Khademi 684b7783f8 feat : refactor , version 0.27.31.52 , fix issues
add torob search , add webite controller , refacor unused namespaces , fix job scheduler , fix nav menu management page
2024-05-07 11:01:57 +03:30
Amir Hossein Khademi 31b9d0638c add version 0.25.27.48 , fix richTextEditor issue , add marketer management 2024-04-25 02:48:37 +03:30
Amir Hossein Khademi 986e7a3654 CHANGE PROJECT NAME TO "NETINA" 2024-04-17 16:19:43 +03:30