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

[Nextjs] Make extractPath shared and remove duplicate page-props-factory/plugins/normalMode for personalize addon #954

Merged
merged 2 commits into from
Mar 17, 2022

Conversation

illiakovalenko
Copy link
Contributor

@illiakovalenko illiakovalenko commented Mar 17, 2022

Description / Motivation

  • make extractPath shared
  • remove duplicate page-props-factory/plugins/normalMode for personalize addon
  • page-props-factory/extractPath.ts is created and uses default file replacement and diff approach

Testing Details

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

…actory/plugins/normalMode` for `personalize` addon
@vercel
Copy link

vercel bot commented Mar 17, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/sitecore-jss/edge-e2e-styleguide/6WSknBPxypNAdAA7NHXRBAm2bk2i
✅ Preview: Failed

[Deployment for 604c0e3 failed]

@illiakovalenko illiakovalenko requested a review from a team March 17, 2022 04:30
Copy link
Contributor

@ambrauer ambrauer left a comment

Choose a reason for hiding this comment

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

Looks great. Just one thing noticed (not limited to this feature): we've broken away from our file naming conventions recently. We were using kebab case for .ts files and now have started mixing in camel case. For this PR, it would be extract-path.ts. But we might also want to fix our plugins (e.g. normal-mode.ts).

@illiakovalenko illiakovalenko merged commit d664391 into dev Mar 17, 2022
@illiakovalenko illiakovalenko deleted the feature/522572 branch March 17, 2022 15:48
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.

2 participants