Skip to content

DataGrid/TreeList: Implement AiPromptEditor#31289

Merged
Alyar666 merged 31 commits into
DevExpress:25_2from
Alyar666:datagrid_ai_prompt_editor_25_2
Oct 17, 2025
Merged

DataGrid/TreeList: Implement AiPromptEditor#31289
Alyar666 merged 31 commits into
DevExpress:25_2from
Alyar666:datagrid_ai_prompt_editor_25_2

Conversation

@Alyar666
Copy link
Copy Markdown
Contributor

@Alyar666 Alyar666 commented Oct 9, 2025

No description provided.

@Alyar666 Alyar666 self-assigned this Oct 9, 2025
@Alyar666 Alyar666 marked this pull request as ready for review October 10, 2025 10:28
@Alyar666 Alyar666 requested review from a team as code owners October 10, 2025 10:28
@Alyar666 Alyar666 force-pushed the datagrid_ai_prompt_editor_25_2 branch from 271da94 to 46b3872 Compare October 10, 2025 12:49
@Alyar666 Alyar666 force-pushed the datagrid_ai_prompt_editor_25_2 branch from 46b3872 to 01ada70 Compare October 13, 2025 11:23
Comment thread packages/devextreme/js/localization/messages/en.json Outdated
Comment thread packages/devextreme/js/localization/messages/en.json Outdated
Comment thread packages/devextreme/js/localization/messages/en.json Outdated
Comment thread apps/react-storybook/stories/examples/datagrid/DataGrid.stories.tsx
@Alyar666 Alyar666 requested a review from a team as a code owner October 15, 2025 23:20
@Alyar666 Alyar666 requested a review from Raushen October 16, 2025 19:38
action?: AiPromptEditorAction,
action: AiPromptEditorAction,
): void {
// eslint-disable-next-line default-case
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.

Minor: Usually by default we can throw new exception "Unknown command"


public isApplyButtonVisible(): boolean {
const applyButton = this.getApplyButtonElement();
public isApplyToolbarItemVisible(): boolean {
Copy link
Copy Markdown
Contributor

@Raushen Raushen Oct 16, 2025

Choose a reason for hiding this comment

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

Minor: I'd suggest to avoid this method too. There are two ways:

  1. Create Toolbar and ToolbarItem POM where create methods Toolbar.getItemByText and ToolbarItem.isVisible
  2. On the Button POM level create method areParentsVisible where it iterates all parents up to body and check its visibility by checking display: none. It seems it would be easier way.

@Alyar666 Alyar666 merged commit c9842e1 into DevExpress:25_2 Oct 17, 2025
211 of 213 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.

4 participants