Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

fix(ais-hierarchical-menu): show full hierarchical parent values #1126

Merged
merged 3 commits into from
Jun 17, 2022

Conversation

dhayab
Copy link
Member

@dhayab dhayab commented Jun 17, 2022

Summary

This PR updates the instantsearch.js dependency to allow the <ais-hierarchical-menu> widget to retrieve and display the full list of a refined item's parents values.

@dhayab dhayab requested review from a team, FabienMotte and sarahdayan and removed request for a team June 17, 2022 09:02
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 17, 2022

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.

Comment on lines +936 to +938
expect(instantsearch.mainIndex.getHelper()).toEqual(
expect.any(AlgoliaSearchHelper)
);
Copy link
Member

Choose a reason for hiding this comment

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

Why is this added in this PR?

Copy link
Member Author

@dhayab dhayab Jun 17, 2022

Choose a reason for hiding this comment

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

As I was going through the tests (I initially had issues due to conflicting versions of algoliasearch-helper), I saw this TODO and I found that it could be solved in a similar manner as in https://github.com/algolia/vue-instantsearch/blob/master/src/util/__tests__/createServerRootMixin.test.js#L970-L975.

Copy link
Member

Choose a reason for hiding this comment

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

Sure this makes sense, just felt unrelated to the PR, but it's a small change so I guess it's fine :)

@dhayab dhayab merged commit 51aadf0 into master Jun 17, 2022
@dhayab dhayab deleted the fix/show-full-hierarchical-parent-values branch June 17, 2022 09:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants