Chat: Add STT integration types#32399
Draft
r-farkhutdinov wants to merge 3 commits intoDevExpress:26_1from
Draft
Chat: Add STT integration types#32399r-farkhutdinov wants to merge 3 commits intoDevExpress:26_1from
r-farkhutdinov wants to merge 3 commits intoDevExpress:26_1from
Conversation
marker-dao
reviewed
Feb 4, 2026
d4cfd5d to
23ddc4a
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request adds Speech-to-Text (STT) integration types to the Chat component, along with an inputFieldText property. The changes include TypeScript type declarations and updates to the Angular, React, and Vue framework wrappers.
Changes:
- Added
speechToTextOptionsandinputFieldTextproperties to Chat TypeScript declarations - Updated Vue wrapper with STT integration types and nested components
- Updated React wrapper with STT integration types and nested components
- Updated Angular wrapper with STT integration types and nested components
- Modified Angular metadata generation to exclude
speechToTextOptionsfrom generation - Added Angular suggestion components (appears unrelated to STT)
Reviewed changes
Copilot reviewed 13 out of 15 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/devextreme/ts/dx.all.d.ts | Adds inputFieldText and speechToTextOptions properties to dxChatOptions interface |
| packages/devextreme/js/ui/chat.d.ts | Adds SpeechToTextOptions import and new property definitions with JSDoc comments |
| packages/devextreme-vue/src/chat.ts | Adds STT-related imports, types, and nested components (DxSpeechToTextOptions, DxSpeechRecognitionConfig, DxCustomSpeechRecognizer) |
| packages/devextreme-react/src/chat.ts | Adds STT-related imports, types, and nested components with React-specific implementations |
| packages/devextreme-metadata/make-angular-metadata.ts | Excludes speechToTextOptions from Angular metadata generation |
| packages/devextreme-angular/src/ui/nested/suggestion-dxi.ts | Adds generic suggestion component (unrelated to STT, appears incomplete) |
| packages/devextreme-angular/src/ui/nested/index.ts | Exports the new suggestion component |
| packages/devextreme-angular/src/ui/nested/base/suggestion-dxi.ts | Adds base class for suggestion component |
| packages/devextreme-angular/src/ui/nested/base/index.ts | Exports base suggestion class |
| packages/devextreme-angular/src/ui/chat/nested/suggestion-dxi.ts | Adds chat-specific suggestion component (unrelated to STT, appears incomplete) |
| packages/devextreme-angular/src/ui/chat/nested/speech-to-text-options.ts | Adds Angular nested component for STT options |
| packages/devextreme-angular/src/ui/chat/nested/speech-recognition-config.ts | Adds Angular nested component for speech recognition configuration |
| packages/devextreme-angular/src/ui/chat/nested/index.ts | Exports new STT and suggestion components |
| packages/devextreme-angular/src/ui/chat/nested/custom-speech-recognizer.ts | Adds Angular nested component for custom speech recognizer |
| packages/devextreme-angular/src/ui/chat/index.ts | Adds speechToTextOptions property and imports for STT-related modules |
Comments suppressed due to low confidence (1)
packages/devextreme-vue/src/chat.ts:119
- The inputFieldText property is missing from the Vue wrapper. While it's added to the TypeScript declarations (chat.d.ts line 442 and dx.all.d.ts line 11420), it's not included in the Vue component's AccessibleOptions type or in the component configuration. This property should be added to maintain consistency across all wrappers.
type AccessibleOptions = Pick<Properties,
"accessKey" |
"activeStateEnabled" |
"alerts" |
"dataSource" |
"dayHeaderFormat" |
"disabled" |
"editing" |
"elementAttr" |
"emptyViewTemplate" |
"fileUploaderOptions" |
"focusStateEnabled" |
"height" |
"hint" |
"hoverStateEnabled" |
"items" |
"messageTemplate" |
"messageTimestampFormat" |
"onAttachmentDownloadClick" |
"onDisposing" |
"onInitialized" |
"onMessageDeleted" |
"onMessageDeleting" |
"onMessageEditCanceled" |
"onMessageEditingStart" |
"onMessageEntered" |
"onMessageUpdated" |
"onMessageUpdating" |
"onOptionChanged" |
"onTypingEnd" |
"onTypingStart" |
"reloadOnChange" |
"rtlEnabled" |
"showAvatar" |
"showDayHeaders" |
"showMessageTimestamp" |
"showUserName" |
"speechToTextOptions" |
"typingUsers" |
"user" |
"visible" |
"width"
>;
packages/devextreme-angular/src/ui/chat/nested/suggestion-dxi.ts
Outdated
Show resolved
Hide resolved
packages/devextreme-angular/src/ui/nested/base/suggestion-dxi.ts
Outdated
Show resolved
Hide resolved
23ddc4a to
981170f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.