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

feat(commerce): use sub-controllers in recs controller #3854

Merged
merged 7 commits into from
May 2, 2024

Conversation

Spuffynism
Copy link
Contributor

@Spuffynism Spuffynism commented Apr 25, 2024

This adds the pagination and interactive results controllers to the recs controller.

This PR is part of a series of cascading PRs: #3842

CAPI-719

Copy link

github-actions bot commented Apr 25, 2024

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 200.8 200.8 0
commerce 256.9 257.1 0.1
search 360.6 360.6 0
insight 341.7 341.7 0
product-listing 254.2 254.2 0
product-recommendation 171.3 171.3 0
recommendation 213.7 213.7 0
ssr 353.5 353.5 0

SSR Progress

Use case SSR (#) CSR (#) Progress (%)
search 39 44 89
recommendation 0 4 0
product-recommendation 0 10 0
product-listing 0 13 0
case-assist 0 6 0
insight 0 27 0
Detailed logs search : buildInteractiveResult
search : 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

@Spuffynism Spuffynism marked this pull request as ready for review April 25, 2024 13:41
@Spuffynism Spuffynism requested a review from a team as a code owner April 25, 2024 13:41
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
Base automatically changed from feat-capi-719-sliced-structured-pagination-states to master April 29, 2024 12:48
@Spuffynism Spuffynism enabled auto-merge May 2, 2024 13:10
@Spuffynism Spuffynism added this pull request to the merge queue May 2, 2024
Merged via the queue into master with commit 66a5bed May 2, 2024
91 checks passed
@Spuffynism Spuffynism deleted the feat-capi-719-recs-sub-controllers branch May 2, 2024 14:00
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.

3 participants