Skip to content

feat(chat): handle setting refinements from the search index tool 'view all' button#6866

Open
shaejaz wants to merge 27 commits intomasterfrom
feat/view-all-refinements
Open

feat(chat): handle setting refinements from the search index tool 'view all' button#6866
shaejaz wants to merge 27 commits intomasterfrom
feat/view-all-refinements

Conversation

@shaejaz
Copy link
Contributor

@shaejaz shaejaz commented Jan 16, 2026

Summary
FX-3631

This PR adds setting refinements (not just query) from the 'View All' button in the default Search Index Tool component. A new param, applyFilters is now provided to the layoutComponent of tools.

@shaejaz shaejaz changed the title wip: refinement from search tool view all button feat(chat): handle all refinements from the search index tool 'view all' button Jan 23, 2026
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 23, 2026

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 1caa6c9:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

@shaejaz shaejaz changed the title feat(chat): handle all refinements from the search index tool 'view all' button feat(chat): handle setting refinements from the search index tool 'view all' button Jan 26, 2026
@shaejaz shaejaz marked this pull request as ready for review January 26, 2026 09:27
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.

looks good, missing a couple edge cases I think, but on the right track

Copy link
Contributor

@FabienMotte FabienMotte left a comment

Choose a reason for hiding this comment

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

Nice! I left some minors questions/suggestions

@Haroenv
Copy link
Contributor

Haroenv commented Feb 3, 2026

Screen.Recording.2026-02-03.at.16.58.54.mov

looks like we aren't clearing filters of other widgets. We should do a global clean of parameters (look how clearRefinements does it, or do helper.setState(new SearchParameters(only the ones from chat))

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.

3 participants