Commit Graph

7 Commits (d283681c7cdce0b604464ddea5e1cddffabfa10f)

Author SHA1 Message Date
Amir Hossein Khademi d283681c7c Enhance dialog functionality and UI components
- Updated `DiscountActionDialogBoxViewModel` to include asynchronous `SubmitCreateAsync` and `Cancel` methods.
- Added a new section in `PageActionDialogBox.razor` with a `MudStack` for adding sections, removing the previous grid layout.
- Improved `PageActionDialogBox.razor.cs` with new methods for adding and editing sections, enhancing error handling and dialog management.
- Refined `app.min.css` by removing redundant CSS properties for better style application.
- Created a new dialog in `PageSectionActionDialogBox.razor` for managing section details, including fields for title, button text, and URL.
- Introduced a new view model in `PageSectionActionDialogBox.razor.cs` to handle section dialog logic, including item addition and file selection.
- Updated `BasePageSection` class in `BasePage.cs` to manage multiple `SectionItem` objects.
- Modified project files (`Netina.Common.csproj` and `Netina.Domain.csproj`) to update the target framework and package references for compatibility.
2025-04-29 19:38:46 +03:30
Amir Hossein Khademi 5dc92f63e7 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:41 +03:30
Amir Hossein Khademi 6da620690d 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:45 +03:30
Amir Hossein Khademi fda7088abb feat ( ReviewEntitiy )
- Add review entity and CQRS
2024-09-01 12:28:42 +03:30
Amir Hossein Khademi 2e8501190e fix (ControllerMethodsDescription) , fix(SlugExtension) 2024-08-16 18:27:54 +03:30
Amir Hossein Khademi ae9b65adbd fix files 2024-08-09 21:55:16 +03:30
Amir Hossein Khademi e54477f226 refactor(SearchService) , chore(BaseServices) , feat(SmsLookUpMethod)
- Refactor search service and add queries base service by mediatr
- Change core service files to base service
- Add sms look up method in sms service
2024-06-06 13:26:40 +03:30