Skip to content

Feature/wordpress#953

Merged
umeshmore45 merged 32 commits intodevfrom
feature/wordpress
Feb 16, 2026
Merged

Feature/wordpress#953
umeshmore45 merged 32 commits intodevfrom
feature/wordpress

Conversation

@AishDani
Copy link
Contributor

No description provided.

AishDani and others added 23 commits January 12, 2026 13:08
… type extraction and schema generation features
…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
@AishDani AishDani requested a review from a team as a code owner February 12, 2026 06:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

AishDani and others added 6 commits February 16, 2026 12:38
…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 umeshmore45 merged commit e59825a into dev Feb 16, 2026
13 checks passed
@umeshmore45 umeshmore45 deleted the feature/wordpress branch February 16, 2026 12:48
@sauravraw sauravraw restored the feature/wordpress branch February 16, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants