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

fix(voiceSearch): remove event listeners on stop #3845

Merged
merged 9 commits into from
Jun 13, 2019

Conversation

eunjae-lee
Copy link
Contributor

@eunjae-lee eunjae-lee commented Jun 5, 2019

Summary

This PR contains began with copy&pasting the latest version of voiceSearchHelper from react-IS.

  • Better typing: 046de08
  • Removes event listeners on stop: 5cefe7c
  • Fixing the side effect from the above: 84cc9f9

Result

While waiting/recognizing, if user triggers 'stop', the status will be

... -> waiting(or recognizing) -> (user clicks button) -> finished

@algobot
Copy link
Contributor

algobot commented Jun 5, 2019

Deploy preview for instantsearchjs ready!

Built with commit 1d97ff9

https://deploy-preview-3845--instantsearchjs.netlify.com

@eunjae-lee eunjae-lee requested a review from a team June 5, 2019 12:19
@ghost ghost requested review from samouss and yannickcr and removed request for a team June 5, 2019 12:19
src/lib/voiceSearchHelper/index.ts Show resolved Hide resolved
src/lib/voiceSearchHelper/index.ts Outdated Show resolved Hide resolved
@eunjae-lee eunjae-lee merged commit 688e36a into develop Jun 13, 2019
@eunjae-lee eunjae-lee deleted the fix/voice-search-helper branch June 13, 2019 10:39
eunjae-lee pushed a commit that referenced this pull request Jul 1, 2019
## [3.5.4](v3.5.3...v3.5.4) (2019-07-01)

### Bug Fixes

* **connectSortBy:** do not throw with wrong indexes ([#3824](#3824)) ([2a84ee2](2a84ee2))
* **deps:** update dependency instantsearch.js to v3.5.3 ([#3877](#3877)) ([463f3bb](463f3bb))
* **escape:** make sure that __escaped does not get removed ([#3830](#3830)) ([fbafd22](fbafd22))
* **getRefinements:** check for facet before accessing its data ([#3842](#3842)) ([aadc769](aadc769))
* **panel:** return value from dispose ([#3895](#3895)) ([bceb78f](bceb78f))
* **voiceSearch:** remove event listeners on stop ([#3845](#3845)) ([688e36a](688e36a))
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.

5 participants