Skip to content

Core engine#211

Merged
Stivenjs merged 3 commits into
mainfrom
core-engine
Aug 11, 2025
Merged

Core engine#211
Stivenjs merged 3 commits into
mainfrom
core-engine

Conversation

@Stivenjs
Copy link
Copy Markdown
Contributor

feat(product): Added tag handling and normalization for products

  • Implemented the transformTags function in DataTransformer to normalize tags from JSON or arrays to strings.
  • Updated transformProduct to include normalized tags in the response.
  • Added TagsSection to ProductForm to handle tag input.
  • Modified useProducts to normalize tags when sending data to the API.
  • Created the normalizeTagsField function to ensure tags are sent in the correct format.

- The `preview.png` file has been removed from the assets folder, which may indicate an update to theme preview management.
…onSection

- A Card component has been added to BasicInfoSection and PublicationSection to improve visual presentation.
- The form sections have been updated to use PricingOnlySection and InventoryOnlySection instead of PricingInventorySection, streamlining product management.
- Adjustments have been made to the form structure to improve readability and code organization.
- Implemented the `transformTags` function in `DataTransformer` to normalize tags from JSON or arrays to strings.
- Updated `transformProduct` to include normalized tags in the response.
- Added `TagsSection` to `ProductForm` to handle tag input.
- Modified `useProducts` to normalize tags when sending data to the API.
- Created the `normalizeTagsField` function to ensure tags are sent in the correct format.
@Stivenjs Stivenjs self-assigned this Aug 11, 2025
@Stivenjs Stivenjs added the enhancement New feature or request label Aug 11, 2025
@Stivenjs Stivenjs merged commit 731f761 into main Aug 11, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant