-
Notifications
You must be signed in to change notification settings - Fork 142
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
feat(storefront): strf-9174 Product object in quick view on localhost not consistent with prod: #991
Conversation
… not consistent with prod: -renderer.module - additional check for stencil-config added; - index - duplicate code removed; - package-lock.json - updated;
@@ -33,8 +33,6 @@ function buildManifest(srcManifest, options) { | |||
pluginsByName['./plugins/renderer/renderer.module'].storeUrl = storeUrl; | |||
pluginsByName['./plugins/renderer/renderer.module'].storeSettingsLocale = | |||
options.storeSettingsLocale; | |||
pluginsByName['./plugins/renderer/renderer.module'].customLayouts = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is duplicate of line 30 above
if (!request.headers['stencil-config'] && stencilConfig) { | ||
const config = request.headers['stencil-config']; | ||
|
||
if ((!config || config === '{}') && stencilConfig) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the header can be undefined and can be empty object?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about undefined, I decided not to touch existing check just not to break anything. However, it definitely could be empty object. I saw that during debugging.
… not consistent with prod: - package-lock.json - reverted;
… not consistent with prod: - package-lock.json - reverted;
What?
Quick-view in stencil-cli mode didn't include
reviews
sections if any.Tickets / Documentation
Screenshots (if appropriate)
cc @bigcommerce/storefront-team