-
Notifications
You must be signed in to change notification settings - Fork 35
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 pagination and sort sub-controllers #3800
Merged
Conversation
This file contains 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
Pull Request Report PR Title ✅ Title follows the conventional commit spec. Bundle Size
SSR Progress
Detailed logssearch : buildInteractiveResultsearch : buildInteractiveInstantResult search : buildInteractiveRecentResult search : buildInteractiveCitation search : buildGeneratedAnswer recommendation : missing SSR support product-recommendation : missing SSR support product-listing : missing SSR support case-assist : missing SSR support insight : missing SSR support |
fbeaudoincoveo
approved these changes
Apr 16, 2024
packages/headless/src/controllers/commerce/core/sub-controller/headless-sub-controller.test.ts
Outdated
Show resolved
Hide resolved
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 16, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 17, 2024
github-merge-queue bot
pushed a commit
that referenced
this pull request
Apr 18, 2024
Two changes are necessary to allow multiple recs slots: - Passing the `slotId` to the action to fetch recs - Changing the recommendations state to support multiple recommendations slots Other changes in the PR follow from these two changes. With this in place, it'll be easier to complete the work in #3800 [CAPI-762] [CAPI-762]: https://coveord.atlassian.net/browse/CAPI-762?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
github-merge-queue bot
pushed a commit
that referenced
this pull request
Apr 29, 2024
To understand changes this enables, see: - #3854 where the pagination sub-controller is put to use - #3855 where we expose the facet sub-controllers - #3857 where we remove now replaced top-level controllers - #3859 where we expose the breadcrumb manager sub-controller To understand how we came to this solution, see: - #3825 where we tried slicing the pagination as a `Record` - #3800 where we added pagination and sort as sub-controllers ~And see feat-capi-719-sliced-pagination-states...feat-capi-719-sliced-structured-pagination-states for the diff between this approach and the above PR~ [CAPI-719] [CAPI-719]: https://coveord.atlassian.net/browse/CAPI-719?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
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.
In follow-up PRs, I will:
build[SolutionType]pagination
,build[SolutionType]sort
,build[SolutionType]facetGenerator
and similar top-level builders that become sub-controllersCAPI-719