Skip to content

Chat: Add sendButtonOptions to .d.ts#33122

Merged
marker-dao merged 12 commits intoDevExpress:26_1from
marker-dao:26_1_chat_main_action_button
Apr 2, 2026
Merged

Chat: Add sendButtonOptions to .d.ts#33122
marker-dao merged 12 commits intoDevExpress:26_1from
marker-dao:26_1_chat_main_action_button

Conversation

@marker-dao
Copy link
Copy Markdown
Contributor

No description provided.

@marker-dao marker-dao self-assigned this Apr 1, 2026
@marker-dao marker-dao added the 26_1 label Apr 1, 2026
@marker-dao marker-dao force-pushed the 26_1_chat_main_action_button branch from d630241 to fd9b9d8 Compare April 2, 2026 09:05
@marker-dao marker-dao changed the title 26 1 chat main action button Chat: Add sendButtonOptions to .d.ts Apr 2, 2026
@marker-dao marker-dao marked this pull request as ready for review April 2, 2026 09:40
@marker-dao marker-dao requested a review from a team as a code owner April 2, 2026 09:40
Copilot AI review requested due to automatic review settings April 2, 2026 09:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a new Chat API surface (sendButtonOptions) to DevExtreme’s TypeScript declarations and propagates it through the Vue/React/Angular wrappers so users can configure the Chat “Send” button via typed options.

Changes:

  • Added sendButtonOptions to dxChatOptions along with new related types (SendButtonProperties, SendButtonBehavior, SendButtonClickEvent) in the main Chat typings.
  • Re-exported the new Chat types from chat_types.d.ts.
  • Updated Vue/React/Angular wrappers to expose sendButtonOptions as a component prop / nested option.

Reviewed changes

Copilot reviewed 6 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/devextreme/ts/dx.all.d.ts Adds sendButtonOptions and related types to the aggregated DevExtreme .d.ts.
packages/devextreme/js/ui/chat.d.ts Adds the primary Chat typings for sendButtonOptions and related public types.
packages/devextreme/js/ui/chat_types.d.ts Re-exports the new types from ./chat.
packages/devextreme-vue/src/chat.ts Exposes sendButtonOptions and adds DxSendButtonOptions nested configuration component.
packages/devextreme-react/src/chat.ts Adds sendButtonOptions as an expected child and introduces a SendButtonOptions nested option component.
packages/devextreme-metadata/make-angular-metadata.ts Adjusts Angular metadata filtering rules to account for the new Chat members.
packages/devextreme-angular/src/ui/chat/nested/send-button-options.ts Adds Angular nested option component for sendButtonOptions.
packages/devextreme-angular/src/ui/chat/nested/index.ts Re-exports the new Angular nested option component.
packages/devextreme-angular/src/ui/chat/index.ts Adds @Input() sendButtonOptions and the corresponding change emitter wiring.

@marker-dao marker-dao requested a review from a team April 2, 2026 10:27
Copilot AI review requested due to automatic review settings April 2, 2026 10:32
r-farkhutdinov
r-farkhutdinov previously approved these changes Apr 2, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 9 changed files in this pull request and generated 1 comment.

LanetteDevEx
LanetteDevEx previously approved these changes Apr 2, 2026
marker dao ® added 2 commits April 2, 2026 14:17
…&& Remove useless type tag && Remove useless removeMembers call
Copilot AI review requested due to automatic review settings April 2, 2026 12:17
@marker-dao marker-dao dismissed stale reviews from r-farkhutdinov and LanetteDevEx via cd32d94 April 2, 2026 12:17
@marker-dao marker-dao force-pushed the 26_1_chat_main_action_button branch from 644acef to cd32d94 Compare April 2, 2026 12:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 9 changed files in this pull request and generated no new comments.

@marker-dao marker-dao requested a review from a team April 2, 2026 12:43
@marker-dao marker-dao merged commit 23dbb08 into DevExpress:26_1 Apr 2, 2026
115 of 162 checks passed
@marker-dao marker-dao deleted the 26_1_chat_main_action_button branch April 2, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants