This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The most significant changes involve modifications to the handling of…
… product combos in the code. The `Entity.cs` file now filters out archived products, types, variants, and combos in the `ShopHub` class, and a new method `ComboEntity` has been added. The `ProductGetComboList` method in `Get.cs` has been altered to return a list of combo IDs instead of combo details, and it now also filters out archived combos. In `index.tsx` and `RadioList.tsx`, the method `Hub.Product.Get.Combo` has been replaced with `Hub.Product.Get.ComboItem`. New type `Combo` and a new method `Combo` have been added to the `ProductData` class in `Data.ts`. The `Combo` method in `ProductGet` class in `Get.ts` has been renamed to `ComboItem` and modified to fetch combo details using the new `Combo` method in `ProductData` class. The method now also handles errors when a type or variant is not found. The `ComboList` method in `ProductGet` class in `Get.ts` has been modified to return a list of combo IDs instead of combo details. Lastly, the `GetTimeCache` method in `SignalR.ts` has been marked as deprecated. List of changes: 1. `Entity.cs` now filters out archived products, types, variants, and combos in the `ShopHub` class, and a new method `ComboEntity` has been added. 2. `ProductGetComboList` method in `Get.cs` now returns a list of combo IDs and filters out archived combos. 3. `Hub.Product.Get.Combo` method has been replaced with `Hub.Product.Get.ComboItem` in `index.tsx` and `RadioList.tsx`. 4. New type `Combo` and a new method `Combo` have been added to the `ProductData` class in `Data.ts`. 5. `Combo` method in `ProductGet` class in `Get.ts` has been renamed to `ComboItem` and fetches combo details using the new `Combo` method in `ProductData` class. It also handles errors when a type or variant is not found. 6. `ComboList` method in `ProductGet` class in `Get.ts` now returns a list of combo IDs instead of combo details. 7. `GetTimeCache` method in `SignalR.ts` has been marked as deprecated.
- Loading branch information
Showing
7 changed files
with
63 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters