DataGrid/TreeList - AI Assistant: Create skeletons for classes and register new modules#33121
Merged
Alyar666 merged 8 commits intoDevExpress:26_1from Apr 2, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
aiAssistantmodule 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. |
packages/devextreme/js/__internal/grids/grid_core/ai_chat/const.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/grids/grid_core/ai_assistant/m_ai_assistant_view.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/grids/data_grid/m_widget_base.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/grids/grid_core/ai_assistant/m_ai_assistant_view.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/grids/grid_core/ai_assistant/m_ai_assistant_view.ts
Show resolved
Hide resolved
anna-shakhova
previously approved these changes
Apr 2, 2026
anna-shakhova
previously approved these changes
Apr 2, 2026
anna-shakhova
approved these changes
Apr 2, 2026
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.