Merged
Conversation
… type extraction and schema generation features
…to feature/wordpress
…to feature/wordpress
…igration-v2 into feature/wordpress
…to feature/wordpress
…my; update build script in package.json for improved compatibility
…rvice and migration libraries found by copilot
…o and @aws-sdk/client-s3, to latest versions for improved functionality
… packages, including @contentstack/cli-utilities, @aws-sdk/client-s3, and cheerio, to latest versions for improved functionality and compatibility
…ock.json and package.json to latest versions for improved functionality and compatibility
…n package.json; refactor setupWordPressBlocks function for cleaner code
…rdpress/block-serialization-default-parser
…upgrade axios and jsonpath dependencies
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request implements a major refactoring of the WordPress migration feature, migrating the codebase from JavaScript to TypeScript and introducing significant architectural changes.
Changes:
- Migrated WordPress migration package from JavaScript to TypeScript with comprehensive type definitions
- Removed Cheerio processing from XML file handling to preserve WordPress content integrity
- Refactored WordPress content extraction to use Gutenberg block parsing with new block schema mapping logic
- Updated UI components to improve UID display with ellipsis and flex layout improvements
Reviewed changes
Copilot reviewed 37 out of 48 changed files in this pull request and generated 28 comments.
Show a summary per file
| File | Description |
|---|---|
| upload-api/src/services/fileProcessing.ts | Removed Cheerio XML processing, now converts buffer directly to string |
| upload-api/src/controllers/wordpress/index.ts | Updated to pass config parameter and handle new TypeScript module structure |
| upload-api/migration-wordpress/libs/* | New TypeScript files implementing content type extraction, taxonomy handling, and schema mapping |
| upload-api/migration-wordpress/utils/* | Migrated helper utilities from JS to TS with improved type safety |
| upload-api/migration-wordpress/interface/interface.ts | Added TypeScript interfaces for WordPress blocks, fields, and data structures |
| upload-api/package.json | Updated build script to iterate through all migration-* packages |
| api/src/utils/wordpressParseUtil.ts | New WordPress block parsing utility with JSDOM setup |
| api/src/utils/content-type-creator.utils.ts | Modified block UID extraction logic |
| api/src/services/migration.service.ts | Simplified WordPress migration workflow, commented out legacy calls |
| ui/src/components/ContentMapper/* | Improved UID display styling with ellipsis and flex layout |
Files not reviewed (3)
- ui/package-lock.json: Language not supported
- upload-api/migration-contentful/package-lock.json: Language not supported
- upload-api/migration-sitecore/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…er by removing unused code
…to feature/wordpress
…pendencies for WordPress integration, including @wordpress/block-library and @wordpress/blocks. Remove migration-wordpress package and clean up unused dependencies to enhance maintainability. Adjust build script in migration-wordpress package.json for improved efficiency.
…d-out code and improving variable naming for clarity
…moving commented-out code and improving variable naming for clarity
umeshmore45
approved these changes
Feb 16, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.