Skip to content

DataGrid - AI Assistant: set fixed default popup height#34289

Merged
Alyar666 merged 4 commits into
DevExpress:mainfrom
Alyar666:datagrid_ai_assistant_add_default_height_26_2
Jul 15, 2026
Merged

DataGrid - AI Assistant: set fixed default popup height#34289
Alyar666 merged 4 commits into
DevExpress:mainfrom
Alyar666:datagrid_ai_assistant_add_default_height_26_2

Conversation

@Alyar666

Copy link
Copy Markdown
Contributor

No description provided.

@Alyar666 Alyar666 self-assigned this Jul 13, 2026
Copilot AI review requested due to automatic review settings July 13, 2026 19:24
@Alyar666
Alyar666 requested a review from a team as a code owner July 13, 2026 19:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Sets a fixed default height for the DataGrid AI Assistant popup (instead of computing it from the grid layout), and adds an integration test to validate the default and overridden heights.

Changes:

  • Introduced AI_ASSISTANT_POPUP_HEIGHT constant (560) for the default popup height.
  • Updated AIAssistantView to use the fixed default height while still allowing aiAssistant.popup overrides.
  • Added an integration test verifying the default height and a custom aiAssistant.popup.height value; extended the AI chat test model with popup height helpers.

Reviewed changes

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

File Description
packages/devextreme/js/__internal/grids/grid_core/ai_assistant/const.ts Adds a shared constant for the default AI Assistant popup height.
packages/devextreme/js/__internal/grids/grid_core/ai_assistant/ai_assistant_view.ts Switches popup height from dynamic calculation to a fixed default height.
packages/devextreme/js/__internal/grids/grid_core/ai_assistant/tests/ai_assistant_view.integration.test.ts Adds integration coverage for default and overridden popup heights.
packages/devextreme/js/__internal/grids/grid_core/tests/mock/model/ai_chat.ts Adds helpers to locate popup content and read its height for tests.

Copilot AI review requested due to automatic review settings July 14, 2026 09:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 4 out of 12 changed files in this pull request and generated 2 comments.

Copilot AI review requested due to automatic review settings July 14, 2026 10:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 4 out of 13 changed files in this pull request and generated 2 comments.

Copilot AI review requested due to automatic review settings July 14, 2026 13:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 4 out of 13 changed files in this pull request and generated no new comments.

anna-shakhova
anna-shakhova previously approved these changes Jul 14, 2026
Copilot AI review requested due to automatic review settings July 14, 2026 16:24
@Alyar666
Alyar666 force-pushed the datagrid_ai_assistant_add_default_height_26_2 branch from 4f614d4 to 6bf1c1d Compare July 14, 2026 16:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 4 out of 13 changed files in this pull request and generated no new comments.

@Alyar666
Alyar666 added this pull request to the merge queue Jul 15, 2026
Merged via the queue into DevExpress:main with commit 7661f32 Jul 15, 2026
125 of 126 checks passed
@Alyar666
Alyar666 deleted the datagrid_ai_assistant_add_default_height_26_2 branch July 15, 2026 07:49
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