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(instantsearch): allow the insights middleware to be added in answer to a server setting #5883

Merged
merged 12 commits into from
Oct 18, 2023

Conversation

dhayab
Copy link
Member

@dhayab dhayab commented Oct 4, 2023

Summary

When insights is undefined, the Insights middleware can be initialized in answer to a server setting, received with the initial results.

FX-2643

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 4, 2023

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 e10f7ea:

Sandbox Source
InstantSearch.js Configuration
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 marked this pull request as ready for review October 9, 2023 09:47
Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

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

implementation seems correct, will approach once we're 100% sure this is the way we want to detect it

packages/instantsearch.js/src/lib/InstantSearch.ts Outdated Show resolved Hide resolved
packages/instantsearch.js/src/lib/InstantSearch.ts Outdated Show resolved Hide resolved
@dhayab dhayab force-pushed the feat/insights-dashboard-support branch from eb4fc4e to 4afc579 Compare October 12, 2023 15:28
@dhayab dhayab changed the base branch from master to feat/insights-default-undefined October 12, 2023 15:28
@dhayab dhayab marked this pull request as draft October 13, 2023 07:58
Base automatically changed from feat/insights-default-undefined to master October 13, 2023 07:58
@dhayab dhayab force-pushed the feat/insights-dashboard-support branch from 4afc579 to bccb6b0 Compare October 16, 2023 13:47
@dhayab dhayab marked this pull request as ready for review October 16, 2023 15:27
@dhayab dhayab requested a review from Haroenv October 16, 2023 15:38
Copy link
Member

@sarahdayan sarahdayan left a comment

Choose a reason for hiding this comment

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

It's already good and works well as is, I left comments for improvement.

dhayab and others added 2 commits October 17, 2023 13:49
Co-authored-by: Sarah Dayan <5370675+sarahdayan@users.noreply.github.com>
@dhayab dhayab merged commit 2a9e654 into master Oct 18, 2023
3 checks passed
@dhayab dhayab deleted the feat/insights-dashboard-support branch October 18, 2023 11:58
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.

4 participants