-
Notifications
You must be signed in to change notification settings - Fork 34
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
docs(headless-ssr-commerce-samples): add multiple listing pages #4635
base: KIT-3681-4
Are you sure you want to change the base?
Conversation
context: { | ||
language: 'en', | ||
country: 'US', | ||
currency: 'USD', | ||
view: { | ||
url: '?', | ||
}, | ||
}, |
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 awkward to have to define the view.url
here in a search page. Ideally we would make it so when fetchStaticState is called from a searchEngineDefinition not every type is required. I am not sure how to achieve this tho. We could also just make the view
type optional.
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.
Talked with Oli and he said it is fine. We should set the url everywhere. CAPI could theoretically use the url defined in search somewhere down the line.
images: { | ||
domains: ['images.barca.group'], | ||
}, |
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 just necessary to use nextjs <Image/>
Pull Request ReportPR Title✅ Title follows the conventional commit spec. Live demo linksBundle Size
SSR Progress
Detailed logssearch : buildInteractiveResultsearch : buildInteractiveInstantResult search : buildInteractiveRecentResult search : buildInteractiveCitation search : buildGeneratedAnswer recommendation : missing SSR support case-assist : missing SSR support insight : missing SSR support commerce : missing SSR support |
1611a45
to
1d8f07f
Compare
context: { | ||
language: 'en', | ||
country: 'US', | ||
currency: 'USD', | ||
view: { | ||
url: 'https://sports.barca.group/browse/promotions/ui-kit-testing', | ||
}, | ||
}, |
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.
Should we remove this from the require definition since it should always be added during fetchStaticState ?
https://coveord.atlassian.net/browse/KIT-3707