Commit Graph

68 Commits (7ff0a1307f5555b75fb3359c1537a2cb4e249a4c)

Author SHA1 Message Date
Amir Hossein Khademi 7ff0a1307f Add DiversitySecondaryValue to SubProduct
- 🖼️ Update SubProductActionDialogBox.razor layout
  Adjust grid item sizes and add new input field for DiversitySecondaryValue.
- 🧑‍💻 Update SubProductActionDialogBoxViewModel
  Include DiversitySecondaryValue parameter in command constructors.
- 📈 Increment version in Netina.AdminPanel.PWA.csproj
  Update AssemblyVersion and FileVersion to 1.12.22.38.
- 🆕 Add BrandDiscountMapper.g.cs
  Introduce static partial class BrandDiscountMapper in Netina.Domain.Mappers.
- 🗃️ Add migration 20250414120653_EditSubProductValue.cs
  Add DiversitySecondaryValue column to Products table.
- 🏷️ Update SubProduct related classes and methods
  Add DiversitySecondaryValue property to CreateSubProductCommand, UpdateSubProductCommand, and SubProductSDto.
- 🛠️ Modify command handlers
  Update CreateSubProductCommandHandler and UpdateSubProductCommandHandler to handle DiversitySecondaryValue.
- 🗄️ Update Product.Aggregate.cs and SubProduct.cs
  Include DiversitySecondaryValue property in SubProduct class.
- 🔄 Update SubProductMapper.g.cs
  Map DiversitySecondaryValue property in SubProductMapper.

Changes made by Amir.H Khademi
2025-04-14 15:43:49 +03:30
Amir Hossein Khademi c2bd21bef1 Update Tailwind CSS and ensure default opacity values
* ⬆️ Updated Tailwind CSS version from v3.4.13 to v3.4.17.
*  Modified `[hidden]` attribute rule for better specificity.
* 🎨 Adjusted `border-color` to include default opacity value of 1.
* 🎨 Updated `background-color` to include default opacity value of 1.
* 🎨 Changed `color` to include default opacity value of 1.
* 🎨 Modified `--tw-ring-color` to include default opacity value of 1.
* 🌑 Updated `dark` mode styles to include default opacity value of 1.
* 🔧 Ensured consistency in opacity handling across CSS properties.

[Footer] Changes made by Amir.h Khademi
2025-03-27 13:32:16 +03:30
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 85a41417ba Update page handling, dependencies, and UI components
*  Added `default` parameter to `DiscountActionDialogBoxViewModel`
* 🔧 Updated `@inject` in `ShippingActionDialogBox.razor` with new services
* ⬆️ Upgraded dependencies in `package-lock.json` and `package.json`
* 📝 Changed `IsShop` setting in `appsettings.Production.json` to `true`
* 💄 Updated `app.min.css` for Tailwind CSS v3.4.17 changes
* 🆕 Added `PageActionDialogBox.razor` and `PageActionDialogBox.razor.cs`
* 🆕 Introduced `BasePageLDto` class for detailed page info
* 🚀 Added `MapPost` endpoint for updating pages in `PageController.cs`
* 🔄 Refactored methods in `PageController.cs` for conciseness
* 🛠️ Updated `IPageService` and `PageService` with `UpdatePageAsync`
* 🗂️ Enhanced `SiteMapService` to filter pages by `Indexing`
* 🛒 Included `BrandId` in order bag commands

Changes made by Amir.h Khademi
2025-03-23 11:04:44 +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 0619b0b7de Add MetaTags support and update project configurations
- Removed unused @using directives in App.razor and BrandsPage.razor.
- Added UI elements for meta tags in BrandActionDialogBox.razor.
- Updated BrandActionDialogBoxViewModel to handle meta tags.
- Changed label text in DiscountActionDialogBox.razor.
- Updated assembly and file versions in Netina.AdminPanel.PWA.csproj.
- Added BlogMetaTag and BrandMetaTag classes.
- Added migration to update database schema for meta tags.
- Updated BlogController to handle meta tags.
- Set LangVersion to latest in multiple project files.
- Changed array initialization syntax in various files.
- Added MetaTags property to BlogLDto and BrandLDto classes.
- Updated Blog and Brand classes to handle meta tags.
- Refactored mappers to include meta tags handling.
- Improved product sorting in GetProductsQueryHandler.cs.
- Updated ApplicationContextModelSnapshot for new entities.
2024-12-11 00:25:26 +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 52e78968b0 fix marten 2024-10-10 22:12:45 +03:30
Amir Hossein Khademi 08a0fb79b7 fix(CateforyDiscount) , fix(ProductReviewCountInDTos) , VER 1.5.17.23 2024-09-29 12:31:08 +03:30
Amir Hossein Khademi 0444676ffe feat(ReviewActionDialog) , VER 1.5.14.20 2024-09-27 14:14:33 +03:30
Amir Hossein Khademi 4b13db02aa change to comment 2024-09-25 17:08:35 +03:30
Amir Hossein Khademi 0fea79efe6 merge 2024-09-21 20:54:53 +03:30
Amir Hossein Khademi 36bbb8bd94 change 2024-09-21 20:53:08 +03:30
Amir Hossein Khademi 6b0e10c185 fix 2024-09-21 20:51:34 +03:30
Amir Hossein Khademi d41e03850b feat ( ReviewEntitiy )
- Add review entity and CQRS
2024-09-01 12:28:42 +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 77a6cf80a2 feat(AddBanner) , feat(AddCatelog) , feat(AddPersonalizationPage) 2024-08-06 14:26:39 +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 80abffa292 fix(AmountSpecialOffer) 2024-08-05 23:23:32 +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 edf22ff1ca feat(AddFeatureFastProduct) , fix(CheckUserDiscount) , fix(SideBar)
- Add feature in fast product create dialog box
- Fix user fist use discount check user
- Fix sidebar
2024-06-24 22:32:44 +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 f64cd7d960 ADD VERSION 1.0.3.3 2024-06-09 18:07:20 +03:30
Amir Hossein Khademi 314d4ff56c feat(FastProductCreateDialog),refactor(Pages),refactor(Commands)
-ADD FAST PRODUCT CREATE DIALOG
-Refactor page and layout and fix some responsive issues
-Refactor brand and product command and return Guid in response create
2024-06-08 22:51:09 +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 ea84220cac VER 1.0.3.3
-Add version to projects and ready for new release
2024-06-06 22:56:59 +03:30
Amir Hossein Khademi 173e8e2dc0 feat(LookUpSms),refactor(OrderDialog),refactor(OrdersPage)
-Add new look up sms when order status changes ( like : customer-orderDelivery lookup , manager-orderSubmit look up)
-Change order dialog style and improve responseive
-Change orders page style and improve responsive
2024-06-06 22:52:50 +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 0fbe6492ee fix(Pages) , feat(NotPermitted) 2024-05-29 12:55:05 +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 73e8de3b0d add marketer management page , fix order sub name issue 2024-04-18 19:21:31 +03:30
Amir Hossein Khademi 986e7a3654 CHANGE PROJECT NAME TO "NETINA" 2024-04-17 16:19:43 +03:30
Amir Hossein Khademi aaf1fb6b0a feat : add new version 0.21.24.41 , fix dont display product 2024-04-14 12:38:16 +03:30
Amir Hossein Khademi 64a4510445 feat : add delivery tracking code 2024-04-13 22:20:58 +03:30
Amir Hossein Khademi 08c116aece feat : add version 0.19.22.38 , fix zarinpall issue 2024-04-03 10:40:42 +03:30
Amir Hossein Khademi e86aa9966e add vesion 0.17.20.30 2024-03-09 22:01:39 +03:30
Amir Hossein Khademi 0bdd783b48 feat : add print order , change question dialog 2024-03-03 11:42:13 +03:30
Amir Hossein Khademi d19937dd5c add version 0.17.19.26 2024-03-01 16:16:05 +03:30
Amir Hossein Khademi 7f267a882c feat : add image for product category and brands 2024-02-28 13:37:26 +03:30
Amir Hossein Khademi 25ade7ce1c feat : complete ordering , add version 0.17.18.25 2024-02-26 18:16:29 +03:30
Amir Hossein Khademi 4ae2dcfb39 feat : add dark theme 2024-02-26 14:29:10 +03:30
Amir Hossein Khademi acb8cfc638 feat & fix : add version 0.17.16.23 , fix respons home page , add changelog
add change log dialog , add home page view model
2024-02-25 18:21:01 +03:30
Amir Hossein Khademi 5b91275d3e feat : add ver 0.10.16.23 , complete coperate slae system 2024-02-24 23:08:03 +03:30