Gantt: remove column.ai from dts and docs#32345
Closed
anna-shakhova wants to merge 2 commits intoDevExpress:26_1from
Closed
Gantt: remove column.ai from dts and docs#32345anna-shakhova wants to merge 2 commits intoDevExpress:26_1from
anna-shakhova wants to merge 2 commits intoDevExpress:26_1from
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the ai property from the Gantt component's column configuration, preventing users from using AI features on Gantt columns. The changes span TypeScript definitions, JSDoc documentation, and all three framework wrappers (Vue, React, Angular).
Changes:
- Modified TypeScript definitions to use
Omit<TreeListColumn, 'ai'>to exclude the AI property from Gantt columns - Added
@hiddenJSDoc tag to hidedxGanttColumn.aifrom documentation - Removed AI-related components, imports, and configuration from Vue and React wrappers
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/devextreme/ts/dx.all.d.ts | Updated dxGanttColumnBlank to exclude 'ai' property using Omit |
| packages/devextreme/js/ui/gantt.d.ts | Updated dxGanttColumnBlank interface to extend Omit<TreeListColumn, 'ai'> |
| packages/devextreme/js/ui/gantt.js | Added JSDoc @hidden tag for dxGanttColumn.ai property |
| packages/devextreme-vue/src/gantt.ts | Removed AI-related imports, components (DxAI, DxButton, DxEditorOptions, DxOptions), and configuration |
| packages/devextreme-react/src/gantt.ts | Removed AI-related imports, components (AI, Button, EditorOptions, Options), and type definitions |
| packages/devextreme-angular/src/ui/gantt/nested/column-dxi.ts | Removed ai property and ColumnAIOptions import, reordered remaining imports |
| packages/devextreme-angular/src/ui/gantt/index.ts | Removed imports and usage of AI-related modules (DxoGanttAIModule, DxiGanttButtonModule, DxoGanttEditorOptionsModule, DxoGanttOptionsModule) |
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.
Ref: