Skip to content

Conversation

@shobhitupadhyayy
Copy link
Contributor

No description provided.

@shobhitupadhyayy shobhitupadhyayy requested a review from a team as a code owner June 4, 2025 11:30
@umeshmore45 umeshmore45 requested a review from Copilot June 4, 2025 11:48

This comment was marked as outdated.

@umeshmore45 umeshmore45 requested a review from Copilot June 5, 2025 07:20

This comment was marked as outdated.

@umeshmore45 umeshmore45 requested a review from Copilot June 5, 2025 07:22
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 PR adds support for a new "Pages" content type and adjusts configuration to support a migration from a Contentful CMS to Wordpress.

  • Updated configuration to change the CMS type to Wordpress and set an absolute path for legacy content.
  • Added a new "Pages" schema in the content types library with associated fields.
  • Extended migration services and constants to support extraction and processing of Pages.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
upload-api/src/config/index.ts Updated CMS type to Wordpress and set a hard-coded localPath for legacy content.
upload-api/migration-wordpress/libs/content_types.js Added new Pages content type schema with various fields and options.
api/src/services/migration.service.ts Integrated extractPages calls in both testing and production migration workflows.
api/src/constants/index.ts Added constants definitions for Pages directories and filenames.
.talismanrc Updated configuration ignore patterns and checksum entries.


// iterate over data of each file
for (const data of chunkData) {
const filteredChunk = chunkData.filter((item:any) => item["wp:post_type"] === "post" && ["publish", "inherit", "draft"].includes(item["wp:status"]));
Copy link
Contributor

Choose a reason for hiding this comment

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

add ?. for filter and includes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Resolved

Copy link
Contributor

Choose a reason for hiding this comment

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

Don't commit this file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Resolved

@sayalijoshi27 sayalijoshi27 merged commit f553a28 into dev Jun 5, 2025
7 checks passed
@aravindbuilt aravindbuilt deleted the feature/wp-dynamic branch June 10, 2025 12:58
umeshmore45 pushed a commit that referenced this pull request Jun 11, 2025
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