-
Notifications
You must be signed in to change notification settings - Fork 157
Conversation
1eefc8a
to
cf5dbf5
Compare
BREAKING CHANGE: see migration guide, changes are mostly related to helper usage chore(bundlesize): update for ISv4
BREAKING CHANGE: replace the index prop by additional `ais-index` widgets as sibling
test(widgetMixin): allow for multi-index
test(index): add basic tests fix: move to $ais_ for provides docs: add index widget stories chore: correct previous commit
503ed98
to
780a322
Compare
I don't understand why the e2e tests fail still :( @yannickcr |
@Haroenv Seems that there is an issue with the router. |
hmm, that's weird since Vue InstantSearch isn't doing anything special with the routing there that InstantSearch wouldn't also have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like we'd really benefit from changing our test stack. The tests are really hard to understand, and we never use the components like we do when using the library.
This seems good to me. Is there any part of the code you want us to look deeply? Or anything to test out? |
Co-Authored-By: Eunjae Lee <eunjae.lee@algolia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A small question but beside that LGTM.
But I find the tests really unreadable (too many mocks and checks on internals IMHO). Like @francoischalifour I think we should change the way we tests our components.
PS: I see that the e2e tests are still failing, did you find the issue about it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you try running the e-commerce demo with this version?
We should probably change the base branch to a next
branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
Co-Authored-By: François Chalifour <francoischalifour@users.noreply.github.com>
This new widget <ais-index> allows you to search through multiple indices at once, without manually needing to keep parameters in sync. BREAKING CHANGE: this introduces the dependency on InstantSearch v4, which has its own breaking changes, you might see if you're using methods on helper. See more here: https://www.algolia.com/doc/guides/building-search-ui/upgrade-guides/js/#upgrade-from-v3-to-v4
This new widget
<ais-index>
allows you to search through multiple indices at once, without manually needing to keep parameters in sync.BREAKING CHANGE: this introduces the dependency on InstantSearch v4, which has its own breaking changes, you might see if you're using methods on
helper
. See more here: https://www.algolia.com/doc/guides/building-search-ui/upgrade-guides/js/#upgrade-from-v3-to-v4