Commit Graph

3 Commits (fba54b7f9332b4bc7bd4574989df4c0ba22609c0)

Author SHA1 Message Date
Amir Hossein Khademi fba54b7f93 ♻️ Cleanup and UI updates; version bump in project files
- 🔥 Removed unused `using` directives in `PageActionDialogBox.razor.cs`.
- 💄 Updated `MudItem` column widths in `SubProductActionDialogBox.razor`.
- 🆙 Bumped `AssemblyVersion` and `FileVersion` in `Netina.AdminPanel.PWA.csproj`.
- 🆙 Bumped `AssemblyVersion` and `FileVersion` in `Netina.Api.csproj`.
- 🛠️ Improved layout for `MudSelect` and `MudTextField` components.
- 🧹 Reduced unnecessary dependencies for better code readability.
- 🚀 Prepared for new release with updated project versioning.
- 📐 Adjusted UI spacing for better alignment on larger screens.
- 🔧 General maintenance and improvements in `.csproj` files.

Changes made by Amir.h Khademi
2025-04-18 20:48:56 +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