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(atomic-commerce): products-per-page #4107

Merged
merged 33 commits into from
Jul 25, 2024

Conversation

louis-bompart
Copy link
Collaborator

@louis-bompart louis-bompart commented Jun 19, 2024

  • refactor:PageGuard to be "generic" (results->items)
  • refactor: PageGuard for atomic-per-page
  • feat: atomic-commerce-products-per-page
  • tests: e2e for ☝️

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

@developer-experience-bot
Copy link
Contributor

developer-experience-bot bot commented Jun 19, 2024

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Live demo links

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 245.1 245.1 0
commerce 341.5 341.5 0
search 414 414 0
insight 392.4 392.4 0
product-listing 307.1 307.1 0
product-recommendation 211.4 211.4 0
recommendation 258.2 258.2 0
ssr 405.4 405.4 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 15 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

Copy link
Contributor

@y-lakhdar y-lakhdar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something is wrong with the URL management.
Whenever the search page loads with the #perPage= attribute in the URL, 2 search queries are triggered.
The second being the value in the perPage value from the URL
image

However, when first loading a listing page, the perPage value does not have any effect on the component.

@y-lakhdar
Copy link
Contributor

also Jira number?

alexprudhomme and others added 2 commits July 25, 2024 16:47
…ts-per-page/atomic-commerce-products-per-page.tsx

Co-authored-by: Frederic Beaudoin <[email protected]>
…ts-per-page/atomic-commerce-products-per-page.tsx

Co-authored-by: Frederic Beaudoin <[email protected]>
@alexprudhomme alexprudhomme requested a review from a team as a code owner July 25, 2024 20:52
@alexprudhomme alexprudhomme force-pushed the feat/atomic-commerce-products-per-page branch from 0ce4eb6 to 1d9b64a Compare July 25, 2024 20:56
@alexprudhomme alexprudhomme added this pull request to the merge queue Jul 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 25, 2024
@alexprudhomme alexprudhomme added this pull request to the merge queue Jul 25, 2024
Merged via the queue into master with commit 81e31cf Jul 25, 2024
110 of 111 checks passed
@alexprudhomme alexprudhomme deleted the feat/atomic-commerce-products-per-page branch July 25, 2024 22:24
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.

5 participants