-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add React Hooks for customization (part 12) #2553
Conversation
d99b817
to
f64f300
Compare
f592ff8
to
63eef63
Compare
63eef63
to
aac9c49
Compare
@@ -50,7 +50,7 @@ const Dictation = ({ emitTypingIndicator, onError }) => { | |||
if (transcript) { | |||
setSendBox(transcript); | |||
submitSendBox('speech'); | |||
setShouldSpeakIncomingActivity(); | |||
setShouldSpeakIncomingActivity(true); |
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.
Why is this change necessary?
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.
It was called startSpeakActivity
and stopSpeakActivity
. And now shouldSpeakIncomingActivity
. We should always call it with true
/false
.
And I found test failed when I forget to set it to true
.
Please merge #2540, #2541, #2542, #2543, #2544, #2547, #2548, #2549, #2550, #2551, #2552 before reviewing this one.
Changelog Entry
useActivities
,useReferenceGrammarID
,useSendBoxDictationStarted
useStyleOptions
,useStyleSet
useLanguage
,useLocalize
,useLocalizeDate
useAdaptiveCardsHostConfig
,useAdaptiveCardsPackage
,useRenderMarkdownAsHTML
useAvatarForBot
,useAvatarForUser
useEmitTypingIndicator
,usePeformCardAction
,usePostActivity
,useSendEvent
,useSendFiles
,useSendMessage
,useSendMessageBack
,useSendPostBack
useDisabled
useSuggestedActions
useConnectivityStatus
,useGroupTimestamp
,useTimeoutForSend
,useUserID
,useUsername
useLastTypingAt
,useSendTypingIndicator
,useTypingIndicator
useFocusSendBox
,useScrollToEnd
,useSendBoxValue
,useSubmitSendBox
,useTextBoxSubmit
,useTextBoxValue
useDictateInterims
,useDictateState
,useGrammars
,useMarkActivityAsSpoken
,useMicrophoneButton
,useShouldSpeakIncomingActivity
,useStartDictate
,useStopDictate
,useVoiceSelector
,useWebSpeechPonyfill
Description
Add several post message related hooks:
useDictateInterims
useDictateState
useGrammars
useMarkActivityAsSpoken
useMicrophoneButton
useShouldSpeakIncomingActivity
useStartDictate
useStopDictate
useVoiceSelector
useWebSpeechPonyfill
Specific Changes
useDictateInterims
useDictateState
useGrammars
useMarkActivityAsSpoken
useMicrophoneButton
useShouldSpeakIncomingActivity
useStartDictate
useStopDictate
useVoiceSelector
useWebSpeechPonyfill