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

Respect "expectingInput" in "inputHint" #2149

Merged
merged 19 commits into from
Jul 9, 2019

Conversation

compulim
Copy link
Contributor

@compulim compulim commented Jul 5, 2019

Fixes #2022.

Changelog Entry

Description

Added code to handle "expectingInput" in inputHint.

Also tested against permutations of expectingInput, acceptingInput, and ignoringInput in consecutive cases:

  • expectingInput will record on the microphone regardless if the last message was recorded from the microphone or not
  • acceptingInput will record on microphone only if the last message was recorded from the microphone
  • ignoringInput will stop the microphone, even if it is turned on

Specific Changes

  • Dictation.js is modified in a way that it will never record on microphone if they are any incoming activities (from the bot) is pending in the queue to speak

  • [ ] Testing Added
    • Tests will be added in later PR

@compulim compulim changed the title Feat alt dictate Respect "expectingInput" in "inputHint" Jul 5, 2019
Copy link
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

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

Pending some comments.

packages/component/src/BasicSendBox.js Show resolved Hide resolved
packages/component/src/Dictation.js Outdated Show resolved Hide resolved
packages/component/src/Dictation.js Outdated Show resolved Hide resolved
packages/core/src/sagas/stopSpeakingActivityOnInputSaga.js Outdated Show resolved Hide resolved
packages/core/src/sagas/stopSpeakingActivityOnInputSaga.js Outdated Show resolved Hide resolved
Copy link
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

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

Hit the wrong radio, sorry. Please verify comments before merging

@compulim compulim merged commit faef214 into microsoft:master Jul 9, 2019
@compulim compulim deleted the feat-alt-dictate branch July 9, 2019 01:13
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.

InputHint not respected by WebChat in speech scenarios
2 participants