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

fix(Commerce Atomic): add commerce category facet #4008

Merged
merged 74 commits into from
May 29, 2024
Merged

fix(Commerce Atomic): add commerce category facet #4008

merged 74 commits into from
May 29, 2024

Conversation

y-lakhdar
Copy link
Contributor

@y-lakhdar y-lakhdar commented May 27, 2024

Add Commerce Category Facet

now rendering atomic-commerce-category-facet component

Refactor Listing/Summary builder

Build Listing/Search Summary controller in facet generator, and then pass it to the facets. Otherwise, each facet has to builds its own which cause code duplication.

Fixes

response id getter

Fetch responseId from the appropriate variable in atomic-commerce-product-list.tsx

https://coveord.atlassian.net/browse/KIT-3200

y-lakhdar and others added 30 commits May 9, 2024 16:38
Co-authored-by: Olivier Lamothe <olamothe@coveo.com>
…-facets/atomic-commerce-facets.tsx

Co-authored-by: Frederic Beaudoin <fbeaudoin@coveo.com>
…-facets/atomic-commerce-facets.tsx

Co-authored-by: Frederic Beaudoin <fbeaudoin@coveo.com>
@y-lakhdar y-lakhdar requested a review from a team as a code owner May 27, 2024 13:21
@y-lakhdar y-lakhdar requested review from olamothe, fpbrault and louis-bompart and removed request for a team May 27, 2024 13:21
Copy link

github-actions bot commented May 27, 2024

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 202.8 202.8 0
commerce 285.2 285.2 0
search 367.4 367.4 0
insight 347.8 347.8 0
product-listing 262.3 262.3 0
product-recommendation 171.9 171.9 0
recommendation 215.8 215.8 0
ssr 360.3 360.3 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
commerce 0 7 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
commerce : missing SSR support

@y-lakhdar y-lakhdar added the atomic commerce Atomic Commerce label May 27, 2024
Base automatically changed from KIT-3197 to master May 28, 2024 15:02
@olamothe olamothe requested a review from a team as a code owner May 28, 2024 15:02
@y-lakhdar y-lakhdar enabled auto-merge May 28, 2024 15:21
@y-lakhdar y-lakhdar added this pull request to the merge queue May 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 28, 2024
@y-lakhdar y-lakhdar enabled auto-merge May 29, 2024 13:09
@y-lakhdar y-lakhdar disabled auto-merge May 29, 2024 16:30
@y-lakhdar y-lakhdar added this pull request to the merge queue May 29, 2024
Merged via the queue into master with commit 804b5af May 29, 2024
86 checks passed
@y-lakhdar y-lakhdar deleted the KIT-3200 branch May 29, 2024 16:53
fpbrault added a commit that referenced this pull request May 31, 2024
### Add Commerce Category Facet
now rendering `atomic-commerce-category-facet` component

### Refactor Listing/Summary builder
Build Listing/Search Summary controller in facet generator, and then
pass it to the facets. Otherwise, each facet has to builds its own which
cause code duplication.

## Fixes
### response id getter
Fetch responseId from the appropriate variable in
[atomic-commerce-product-list.tsx](KIT-3197...KIT-3200#diff-755504d8edb4af1c62f81e58f159ff3861c8ebe161f133941bbfd4e0ffebbb70)

https://coveord.atlassian.net/browse/KIT-3200

---------

Co-authored-by: Olivier Lamothe <olamothe@coveo.com>
Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Frederic Beaudoin <fbeaudoin@coveo.com>
Co-authored-by: Louis Bompart <lbompart@coveo.com>
Co-authored-by: Felix Perron-Brault <fpbrault@coveo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
atomic commerce Atomic Commerce
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants