Skip to content

Chat Prompt Suggestions: Support nested option path for suggestions updates#33312

Merged
marker-dao merged 2 commits into
DevExpress:26_1from
marker-dao:26_1_chat_suggestions_updating
Apr 16, 2026
Merged

Chat Prompt Suggestions: Support nested option path for suggestions updates#33312
marker-dao merged 2 commits into
DevExpress:26_1from
marker-dao:26_1_chat_suggestions_updating

Conversation

@marker-dao
Copy link
Copy Markdown
Contributor

No description provided.

@marker-dao marker-dao self-assigned this Apr 16, 2026
@marker-dao marker-dao marked this pull request as ready for review April 16, 2026 11:44
@marker-dao marker-dao requested a review from a team as a code owner April 16, 2026 11:44
Copilot AI review requested due to automatic review settings April 16, 2026 11:44
r-farkhutdinov
r-farkhutdinov previously approved these changes Apr 16, 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

This PR aims to allow DevExtreme Chat “suggestions” to update correctly when a nested option path (e.g. suggestions.items) is changed at runtime.

Changes:

  • Added a QUnit test covering updating suggestions.items via a nested option path.
  • Updated Chat._optionChanged handling for suggestions to derive update payload from the option-change args.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
packages/devextreme/testing/tests/DevExpress.ui.widgets/chatParts/chat.tests.js Adds coverage for updating suggestions items through option('suggestions.items', ...).
packages/devextreme/js/__internal/ui/chat/chat.ts Adjusts suggestions option-change handling to support nested option path updates.

Comment thread packages/devextreme/js/__internal/ui/chat/chat.ts Outdated
Comment thread packages/devextreme/js/__internal/ui/chat/chat.ts Outdated
@marker-dao marker-dao merged commit 4df9dd6 into DevExpress:26_1 Apr 16, 2026
126 of 128 checks passed
@marker-dao marker-dao deleted the 26_1_chat_suggestions_updating branch April 16, 2026 13:30
sjbur pushed a commit to sjbur/DevExtreme that referenced this pull request May 5, 2026
…pdates (DevExpress#33312)

Co-authored-by: marker dao ® <youdontknow@marker-dao.eth>
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.

3 participants