Skip to content

Respect "expectingInput" in "inputHint"#2149

Merged
compulim merged 19 commits intomicrosoft:masterfrom
compulim:feat-alt-dictate
Jul 9, 2019
Merged

Respect "expectingInput" in "inputHint"#2149
compulim merged 19 commits intomicrosoft:masterfrom
compulim:feat-alt-dictate

Conversation

@compulim
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread packages/component/src/BasicSendBox.js
Comment thread packages/component/src/Dictation.js Outdated
Comment thread packages/component/src/Dictation.js Outdated
Comment thread packages/core/src/sagas/markAllAsSpokenOnStopSpeakActivitySaga.js
Comment thread packages/core/src/sagas/stopSpeakingActivityOnInputSaga.js Outdated
Comment thread packages/core/src/sagas/stopSpeakingActivityOnInputSaga.js Outdated
Copy link
Copy Markdown
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