Skip to content

DataGrid/TreeList - AI Assistant: Create skeletons for classes and register new modules#33121

Merged
Alyar666 merged 8 commits intoDevExpress:26_1from
Alyar666:AI_Assistant_create_classes_26_1
Apr 2, 2026
Merged

DataGrid/TreeList - AI Assistant: Create skeletons for classes and register new modules#33121
Alyar666 merged 8 commits intoDevExpress:26_1from
Alyar666:AI_Assistant_create_classes_26_1

Conversation

@Alyar666
Copy link
Copy Markdown
Contributor

@Alyar666 Alyar666 commented Apr 1, 2026

No description provided.

@Alyar666 Alyar666 requested a review from a team as a code owner April 1, 2026 13:11
Copilot AI review requested due to automatic review settings April 1, 2026 13:11
@Alyar666 Alyar666 changed the title DataGrid/TreeList - Ai assistant: DataGrid/TreeList - Ai assistant: Implement core part Apr 1, 2026
@Alyar666 Alyar666 self-assigned this Apr 1, 2026
@Alyar666 Alyar666 changed the title DataGrid/TreeList - Ai assistant: Implement core part DataGrid/TreeList - AI Assistant: Implement core part Apr 1, 2026
@Alyar666 Alyar666 changed the title DataGrid/TreeList - AI Assistant: Implement core part DataGrid/TreeList - AI Assistant: Create skeletons for classes and register new modules Apr 1, 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

Adds an internal “AI Assistant” module to DataGrid and TreeList by introducing a new AIAssistantView/AIAssistantViewController pair backed by a new AIChat helper (Popup + Chat), and wiring the new view into grid-core view initialization.

Changes:

  • Register a new aiAssistant module for both DataGrid and TreeList and include it in module load order.
  • Add AIChat (Popup-hosted Chat) plus initial Jest coverage.
  • Extend grid-core typings and the grid view registry to include aiAssistantView.

Reviewed changes

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

Show a summary per file
File Description
packages/devextreme/js/__internal/grids/tree_list/module_not_extended/ai_assistant.ts Registers aiAssistant module (controller + view) for TreeList.
packages/devextreme/js/__internal/grids/tree_list/m_widget.ts Imports the new TreeList aiAssistant module.
packages/devextreme/js/__internal/grids/tree_list/m_widget_base.ts Adds aiAssistant to TreeList module initialization order.
packages/devextreme/js/__internal/grids/grid_core/views/m_grid_view.ts Registers aiAssistantView in the grid view names list.
packages/devextreme/js/__internal/grids/grid_core/m_types.ts Adds aiAssistant controller + aiAssistantView to grid-core type maps.
packages/devextreme/js/__internal/grids/grid_core/ai_chat/types.ts Defines AIChatOptions (container, createComponent, callbacks, options).
packages/devextreme/js/__internal/grids/grid_core/ai_chat/const.ts Introduces default popup options + CSS class constants for AI chat.
packages/devextreme/js/__internal/grids/grid_core/ai_chat/ai_chat.ts Implements AIChat (Popup wrapper and Chat creation via createComponent).
packages/devextreme/js/__internal/grids/grid_core/ai_chat/ai_chat.test.ts Adds initial unit tests for AIChat construction and show/hide delegation.
packages/devextreme/js/__internal/grids/grid_core/ai_assistant/m_ai_assistant_view.ts Adds AIAssistantView that instantiates and delegates to AIChat.
packages/devextreme/js/__internal/grids/grid_core/ai_assistant/m_ai_assistant_view.test.ts Adds unit tests for AIAssistantView behavior.
packages/devextreme/js/__internal/grids/grid_core/ai_assistant/m_ai_assistant_view_controller.ts Adds controller that delegates show/hide to AIAssistantView.
packages/devextreme/js/__internal/grids/grid_core/ai_assistant/m_ai_assistant_view_controller.test.ts Adds unit tests for the new controller.
packages/devextreme/js/__internal/grids/data_grid/module_not_extended/ai_assistant.ts Registers aiAssistant module (controller + view) for DataGrid.
packages/devextreme/js/__internal/grids/data_grid/m_widget.ts Imports the new DataGrid aiAssistant module.
packages/devextreme/js/__internal/grids/data_grid/m_widget_base.ts Adds aiAssistant to DataGrid module order; adjusts comments near processModules.

Copilot AI review requested due to automatic review settings April 1, 2026 17:39
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 17 out of 17 changed files in this pull request and generated 3 comments.

anna-shakhova
anna-shakhova previously approved these changes Apr 2, 2026
anna-shakhova
anna-shakhova previously approved these changes Apr 2, 2026
Copilot AI review requested due to automatic review settings April 2, 2026 09:24
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 17 out of 17 changed files in this pull request and generated 3 comments.

@Alyar666 Alyar666 merged commit 1710f03 into DevExpress:26_1 Apr 2, 2026
106 checks passed
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