Skip to content

Chat: Add suggestions type to .d.ts#33219

Merged
marker-dao merged 4 commits intoDevExpress:26_1from
marker-dao:26_1_chat_suggestion_api
Apr 14, 2026
Merged

Chat: Add suggestions type to .d.ts#33219
marker-dao merged 4 commits intoDevExpress:26_1from
marker-dao:26_1_chat_suggestion_api

Conversation

@marker-dao
Copy link
Copy Markdown
Contributor

No description provided.

@marker-dao marker-dao self-assigned this Apr 10, 2026
@github-actions github-actions bot added the .d.ts label Apr 10, 2026
@marker-dao marker-dao marked this pull request as ready for review April 10, 2026 07:01
@marker-dao marker-dao requested a review from a team as a code owner April 10, 2026 07:01
Copilot AI review requested due to automatic review settings April 10, 2026 07:01
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 extends the dxChat API surface across the core TypeScript declarations and framework wrappers by introducing a new suggestions option (based on ButtonGroup options) and wiring it into Vue/React/Angular wrapper configuration.

Changes:

  • Added dxChatOptions.suggestions to core typings (dx.all.d.ts and ui/chat.d.ts) based on ButtonGroup options.
  • Updated Vue and React chat wrappers to accept/configure the new suggestions nested option and related nested components.
  • Updated Angular metadata + Angular chat wrapper to expose suggestions and added Angular nested components for suggestions configuration.

Reviewed changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
packages/devextreme/ts/dx.all.d.ts Adds suggestions to the aggregated DevExtreme typings for dxChat options.
packages/devextreme/js/ui/chat.d.ts Adds suggestions to the source dxChat .d.ts options surface.
packages/devextreme-vue/src/chat.ts Exposes suggestions prop and adds Vue nested configuration components for suggestions/items.
packages/devextreme-react/src/chat.ts Adds React nested option components for suggestions and item variants; adds subscribable suggestion selections.
packages/devextreme-metadata/make-angular-metadata.ts Adjusts Angular metadata mutations to account for the new suggestions option.
packages/devextreme-angular/src/ui/chat/index.ts Exposes suggestions on the Angular DxChat component and wires change output.
packages/devextreme-angular/src/ui/chat/nested/suggestions.ts Adds Angular nested option component for configuring suggestions.
packages/devextreme-angular/src/ui/chat/nested/suggestions-item-dxi.ts Adds Angular collection item component for suggestions button items.
packages/devextreme-angular/src/ui/chat/nested/item-dxi.ts Updates the existing dxi-chat-item nested option implementation (template support, additional props).
packages/devextreme-angular/src/ui/chat/nested/chat-item-dxi.ts Adds a new nested collection item component for chat items (separate selector).
packages/devextreme-angular/src/ui/chat/nested/index.ts Re-exports the newly added Angular nested components.

@marker-dao marker-dao force-pushed the 26_1_chat_suggestion_api branch from 2700ebe to c28d6c8 Compare April 13, 2026 13:25
@marker-dao marker-dao requested a review from a team as a code owner April 13, 2026 13:25
@marker-dao marker-dao changed the title Chat: Add suggestion option type to .d.ts Chat, ButtonGroup: Add suggestion, gap, wrap options type to .d.ts Apr 13, 2026
Copilot AI review requested due to automatic review settings April 13, 2026 14:30

This comment was marked as resolved.

@marker-dao marker-dao changed the title Chat, ButtonGroup: Add suggestion, gap, wrap options type to .d.ts Chat, ButtonGroup: Add suggestions, gap, wrap option types to .d.ts Apr 13, 2026
@marker-dao marker-dao force-pushed the 26_1_chat_suggestion_api branch from 0e845d3 to a6b0bd5 Compare April 14, 2026 09:41
Revert "refactor(package.json): Remove useless deps"

This reverts commit bbec9c4.

Revert "feat(button_group): Add new options"

This reverts commit c28d6c8.

Revert "Revert "refactor(package.json): Remove useless deps""

This reverts commit 5c0439d.
Copilot AI review requested due to automatic review settings April 14, 2026 09:46
@marker-dao marker-dao force-pushed the 26_1_chat_suggestion_api branch from a6b0bd5 to 896b9d3 Compare April 14, 2026 09:46
@marker-dao marker-dao removed the request for review from a team April 14, 2026 09:47
@marker-dao marker-dao changed the title Chat, ButtonGroup: Add suggestions, gap, wrap option types to .d.ts Chat: Add suggestions type to .d.ts Apr 14, 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 9 out of 11 changed files in this pull request and generated 5 comments.

@marker-dao marker-dao merged commit 4a0bd49 into DevExpress:26_1 Apr 14, 2026
123 of 124 checks passed
@marker-dao marker-dao deleted the 26_1_chat_suggestion_api branch April 14, 2026 10:23
mpreyskurantov added a commit to mpreyskurantov/DevExtreme that referenced this pull request Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants