[DEV-3764] Refactor product API layer#2176
Open
Sebastiano-Bertolin wants to merge 6 commits intoDEV-3677-refactor-api-layer-for-api-datafrom
Open
[DEV-3764] Refactor product API layer#2176Sebastiano-Bertolin wants to merge 6 commits intoDEV-3677-refactor-api-layer-for-api-datafrom
Sebastiano-Bertolin wants to merge 6 commits intoDEV-3677-refactor-api-layer-for-api-datafrom
Conversation
…-refactor-api-layer-for-product-api
🦋 Changeset detectedLatest commit: cd92df4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
6 tasks
…-refactor-api-layer-for-product-api
…remove unused getProductsProps function
Contributor
Jira Pull Request LinkThis Pull Request refers to the following Jira issue DEV-3764 |
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.
This pull request refactors the import path for the
Producttype throughout the codebase, updating all references from@/lib/types/productto@/lib/product/types. This change improves consistency and aligns with the new directory structure for type definitions.List of Changes
Type import path refactor:
Productin test files, helper files, components, and pages to use@/lib/product/typesinstead of@/lib/types/product. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]Page and template updates:
Productin all relevant page files undersrc/app/[locale]/[productSlug], including guides, overview, quick-start, release-note, tutorials, and use-cases. (apps/nextjs-website/src/app/[locale]/[productSlug]/api/[apiDataSlug]/page.tsxL5-R5, apps/nextjs-website/src/app/[locale]/[productSlug]/guides/[...productGuidePage]/page.tsxL5-R5, apps/nextjs-website/src/app/[locale]/[productSlug]/guides/page.tsxL1-R1, apps/nextjs-website/src/app/[locale]/[productSlug]/overview/page.tsxL7-R7, apps/nextjs-website/src/app/[locale]/[productSlug]/quick-start/page.tsxL1-R1, apps/nextjs-website/src/app/[locale]/[productSlug]/release-note/[[...releaseNoteSubPathSlugs]]/page.tsxL4-R4, apps/nextjs-website/src/app/[locale]/[productSlug]/tutorials/page.tsxL1-R1, apps/nextjs-website/src/app/[locale]/[productSlug]/use-cases/page.tsxL1-R1)Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: