Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -3085,7 +3085,7 @@
"title": "speak"
},
"inputHint": {
"description": "Indicates whether your bot is accepting,\nexpecting, or ignoring user input after the message is delivered to the client. Possible\nvalues include: 'acceptingInput', 'ignoringInput', 'expectingInput'",
"description": "Indicates whether your bot is accepting,\nexpecting, or ignoring user input after the message is delivered to the client. Possible\nvalues include: 'acceptingInput', 'ignoringInput', 'expectingInput', 'ignoringSpeechInput', 'ignoringNonSpeechInput'",
"type": "string",
"title": "inputHint"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ const SpeechModalityEditor = React.memo(
text: formatMessage('Expecting'),
selected: inputHint === 'expectingInput',
},
{
key: 'ignoringSpeechInput',
text: formatMessage('Ignoring Speech'),
selected: inputHint === 'ignoringSpeechInput',
},
{
key: 'ignoringNonSpeechInput',
text: formatMessage('Ignoring Non Speech'),
selected: inputHint === 'ignoringNonSpeechInput',
},
],
[inputHint]
);
Expand Down
8 changes: 7 additions & 1 deletion Composer/packages/lib/code-editor/src/lg/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ export type CommonModalityEditorProps = {
/**
* Structured response types.
*/
export const acceptedInputHintValues = ['expectingInput', 'ignoringInput', 'acceptingInput'] as const;
export const acceptedInputHintValues = [
'expectingInput',
'ignoringInput',
'acceptingInput',
'ignoringSpeechInput',
'ignoringNonSpeechInput',
] as const;
export const acceptedAttachmentLayout = ['carousel', 'list'] as const;

export const modalityTypes = ['Text', 'Speak', 'Attachments', 'SuggestedActions'] as const;
Expand Down
6 changes: 6 additions & 0 deletions Composer/packages/server/src/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -1955,6 +1955,12 @@
"ignoring_dc76ef87": {
"message": "Ignoring"
},
"ignoring_non_speech_d2746d71": {
"message": "Ignoring Non Speech"
},
"ignoring_speech_fe0a02ce": {
"message": "Ignoring Speech"
},
"import_as_new_35630827": {
"message": "Import as new"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export const cardPropPossibleValueType = {
Text: 'Text | ${Expression}',
Speak: 'Text | ${Expression}',
Attachments: 'List of attachments',
InputHint: 'accepting | ignoring | expecting',
InputHint: 'accepting | ignoring | expecting | ignoringSpeech | ignoringNonSpeech',
AttachmentLayout: 'list | carousel',
SuggestedActions: 'Text | ${Expression}',
};
Expand Down
3 changes: 2 additions & 1 deletion extensions/azurePublish/yarn-berry.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1852,7 +1852,7 @@ __metadata:

"@bfc/code-editor@file:../../Composer/packages/lib/code-editor::locator=azurePublish%40workspace%3A.":
version: 0.0.0
resolution: "@bfc/code-editor@file:../../Composer/packages/lib/code-editor#../../Composer/packages/lib/code-editor::hash=e05bfa&locator=azurePublish%40workspace%3A."
resolution: "@bfc/code-editor@file:../../Composer/packages/lib/code-editor#../../Composer/packages/lib/code-editor::hash=9daeab&locator=azurePublish%40workspace%3A."
dependencies:
"@emotion/react": ^11.1.3
"@emotion/styled": ^11.1.3
Expand All @@ -1875,6 +1875,7 @@ __metadata:
"@bfc/ui-shared": "*"
react: 16.13.1
react-dom: 16.13.1
checksum: a0df5aa27ed60aa635a93c64c60feaaa3e7709ad306bc923a291616fb639898c2fd35909ee51858637295ee349001cb697ea92bbe86c34b1a7ec2d6038be7cc6
languageName: node
linkType: hard

Expand Down