-
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
feat(commerce): add location facets #4562
feat(commerce): add location facets #4562
Conversation
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 |
a4082d7
to
503ec58
Compare
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.
Looks good to me !
packages/headless/src/api/commerce/facet-search/base/base-facet-search-request.ts
Outdated
Show resolved
Hide resolved
packages/headless/src/features/commerce/facets/facet-set/facet-set-slice.ts
Show resolved
Hide resolved
packages/headless/src/features/commerce/facets/facet-set/facet-set-slice.ts
Show resolved
Hide resolved
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.
Thanks
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.
Looks good to me
...headless/src/controllers/commerce/core/facets/generator/headless-commerce-facet-generator.ts
Show resolved
Hide resolved
...headless/src/controllers/commerce/core/facets/generator/headless-commerce-facet-generator.ts
Show resolved
Hide resolved
packages/headless/src/features/commerce/facets/facet-set/facet-set-slice.ts
Show resolved
Hide resolved
packages/headless/src/features/commerce/facets/facet-set/facet-set-slice.ts
Show resolved
Hide resolved
packages/headless/src/features/commerce/facets/facet-set/facet-set-slice.test.ts
Show resolved
Hide resolved
packages/headless/src/features/commerce/facets/facet-set/facet-set-slice.test.ts
Show resolved
Hide resolved
packages/headless/src/features/commerce/facets/facet-set/facet-set-slice.test.ts
Show resolved
Hide resolved
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.
Looks good. We need to sync up on the exclude
state in a follow up
a911833
to
82fc779
Compare
A few properties aren't supported by location facets. We remove: - `preventAutoSelect` - `freezeCurrentValues` - `excluded` state, and related methods We also address leftover comments from #4562 See #4562 [COMHUB-247] [COMHUB-247]: https://coveord.atlassian.net/browse/COMHUB-247?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Add support for location facets. We went with the separate controller approach as we believe the location facets might evolve differently from the regular facets over time.
In follow-up PRs I:
COMHUB-247