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(connectFrequentlyBoughtTogether): implement sendEvent #6128

Draft
wants to merge 41 commits into
base: feat/map-recommend-results
Choose a base branch
from

Conversation

dhayab
Copy link
Member

@dhayab dhayab commented Apr 9, 2024

Summary

This PR backports the changes in 8498792 to the relevant branch where it impacts the connector.

Copy link

codesandbox-ci bot commented Apr 9, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b97118a:

Sandbox Source
react-instantsearch-app Configuration
example-react-instantsearch-default-theme Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-vue-instantsearch-default-theme Configuration

@dhayab dhayab added the Feature: Recommendations Providing recommendations of records or facets label Apr 9, 2024
if (results === null || results === undefined) {
return { hits: [], widgetParams };
return { hits: [], sendEvent, widgetParams };
Copy link
Contributor

@tkrugg tkrugg Apr 9, 2024

Choose a reason for hiding this comment

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

Hey Dhaya, as far as I know, queryID are only available on search query (not recommend queries).
I think the queryID mentioned here does not relate to recommend.

I would be in favour of not doing anything in particular regarding events yet. The current recommend libraries have the intention of adding it, but don't currently have it. I'll request changes for this, but let me know if I'm confused about this.

@dhayab dhayab marked this pull request as draft April 11, 2024 08:02
@dhayab
Copy link
Member Author

dhayab commented Apr 11, 2024

Moving this back to draft for now (see discussion thread).

Base automatically changed from feat/recommend-fbt-connector to feat/map-recommend-results April 23, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Recommendations Providing recommendations of records or facets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants