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(voice): allow custom voice helper #4363

Merged
merged 11 commits into from
May 11, 2020
Merged

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Mar 25, 2020

Summary

If the createVoiceHelper function can be overridden, other third-party voice solutions can be used, without them needing to redo all the rendering & templating.

Result

Allow custom createVoiceHelper to be passed to the widget & connector.

cc @dylanbfox

todo:

  • test
  • allow this in React InstantSearch, Vue InstantSearch & Angular InstantSearch too

If the `createVoiceHelper` function can be overridden, other third-party voice solutions can be used, without them needing to redo all the rendering & templating.

cc @dylanbfox
@Haroenv Haroenv marked this pull request as ready for review April 2, 2020 19:29
@Haroenv
Copy link
Contributor Author

Haroenv commented May 5, 2020

Thanks @dustincoates, @eunjae-lee & @francoischalifour, this is now ready for review again

Copy link
Contributor

@eunjae-lee eunjae-lee left a comment

Choose a reason for hiding this comment

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

This looks good to me.

@dustincoates
Copy link
Contributor

@francoischalifour would you mind giving this a review? :)

@francoischalifour
Copy link
Member

@Haroenv Do we plan to roll this out in all flavors at once or in IS.js first?

@Haroenv
Copy link
Contributor Author

Haroenv commented May 11, 2020

InstantSearch.js was enough for now, but will add other flavours soon I guess :)

@Haroenv Haroenv merged commit 4a00fa6 into master May 11, 2020
@Haroenv Haroenv deleted the feat/voice-allow-custom-helper branch May 11, 2020 08:35
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