Skip to content

Conversation

@stanlp1
Copy link
Contributor

@stanlp1 stanlp1 commented Aug 29, 2024

No description provided.

@stanlp1 stanlp1 requested a review from a team August 29, 2024 22:44
Copy link
Contributor

@mocca102 mocca102 left a comment

Choose a reason for hiding this comment

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

We need to update the types in tracker.d.ts as well

Copy link
Contributor

@mocca102 mocca102 left a comment

Choose a reason for hiding this comment

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

This is looking good just left small comments

@stanlp1 stanlp1 requested review from a team and mocca102 September 27, 2024 06:02
Copy link
Contributor

@jjl014 jjl014 left a comment

Choose a reason for hiding this comment

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

Looking pretty good to me!

Just left a couple comments and questions. Lmk what you think!

resultCount = numResults || result_count,
customer_ids,
item_ids,
resultCount = numResults || result_count || 0,
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add in an extra layer of logic here as an extra precaution before defaulting to 0? We could probably use the length of customerIds / itemIds

resultCount = numResults || result_count || customerIds?.length || itemIds?.length || 0

What do you think?

(out of scope for this story, but maybe we can do this for browse load and rec views as well if we think it makes sense 😛)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense to me 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

Did we want to move forward in making the change mentioned above?

@stanlp1 stanlp1 requested a review from jjl014 October 8, 2024 06:17
Copy link
Contributor

@jjl014 jjl014 left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for working on this and making the updates!

Things are looking great from what I can tell. Just left a follow-up comment, but otherwise I think this is ready to be shipped 🔥 🚢

resultCount = numResults || result_count,
customer_ids,
item_ids,
resultCount = numResults || result_count || 0,
Copy link
Contributor

Choose a reason for hiding this comment

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

Did we want to move forward in making the change mentioned above?

@stanlp1 stanlp1 requested a review from a team October 11, 2024 16:42
@stanlp1
Copy link
Contributor Author

stanlp1 commented Oct 11, 2024

@esezen

@esezen esezen merged commit 568e102 into master Oct 22, 2024
@esezen esezen deleted the csl-3151-search-results-load-v2-behavioral-event-migration branch October 22, 2024 23:12
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