Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TagImporter and Add CategoryImporter Functionality #14

Merged
merged 2 commits into from
Dec 14, 2024

Conversation

chinmaypurav
Copy link
Owner


Description:

  • Updated the resolveRecord method in TagImporter to use firstOrNew based on the tag's name.
  • Introduced a CategoryImporter class with validation for importing categories.
  • Updated the ListCategories page to include an ImportAction for easy category data importation.

Introduced a `CategoryImporter` class to support importing categories with validation and custom rules. Updated the `ListCategories` page to include an `ImportAction` using the new importer, enabling users to easily import category data.
Updated the `resolveRecord` method in `TagImporter` to use `firstOrNew` based on the tag's name. This ensures existing records are matched and updated correctly while new records are created if no match is found.
@chinmaypurav chinmaypurav added the enhancement New feature or request label Dec 14, 2024
@chinmaypurav chinmaypurav merged commit 11078c6 into main Dec 14, 2024
3 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