Skip to content

Conversation

@pharret31
Copy link
Contributor

No description provided.

@pharret31 pharret31 self-assigned this Oct 30, 2025
@pharret31 pharret31 force-pushed the 25_2_2606-diagram-move-files-to-ts_part1 branch 2 times, most recently from c441279 to 042dd6c Compare October 30, 2025 09:36
@pharret31 pharret31 marked this pull request as ready for review October 30, 2025 10:07
Copilot AI review requested due to automatic review settings October 30, 2025 10:07
Copy link
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

This PR migrates the Diagram component from JavaScript to TypeScript by:

  • Moving the implementation from packages/devextreme/js/ui/diagram/ui.diagram.js to packages/devextreme/js/__internal/ui/diagram/ui.diagram.ts
  • Converting ~2240 lines of JavaScript code to TypeScript with proper type annotations
  • Updating the public API file to re-export from the new TypeScript location
  • Adding previously hidden widget options (accessKey, activeStateEnabled, focusStateEnabled, hint, hoverStateEnabled, tabIndex) to Angular and Vue wrappers

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.

File Description
packages/devextreme/js/ui/diagram/ui.diagram.js Simplified to re-export from new TypeScript implementation
packages/devextreme/js/__internal/ui/diagram/ui.diagram.ts New TypeScript implementation with type annotations, interfaces, and modernized syntax
packages/devextreme-vue/src/diagram.ts Added 6 previously hidden widget options with proper types and update emitters
packages/devextreme-angular/src/ui/diagram/index.ts Added 6 previously hidden widget options with Input/Output decorators

Copilot AI review requested due to automatic review settings October 30, 2025 12:32
@pharret31 pharret31 force-pushed the 25_2_2606-diagram-move-files-to-ts_part1 branch 2 times, most recently from d61d3e6 to 306607e Compare October 30, 2025 12:37
Copy link
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 2 out of 2 changed files in this pull request and generated 3 comments.

@pharret31 pharret31 force-pushed the 25_2_2606-diagram-move-files-to-ts_part1 branch from 306607e to 2d0c2fa Compare October 31, 2025 10:32
@pharret31 pharret31 closed this Oct 31, 2025
@pharret31 pharret31 reopened this Oct 31, 2025
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.

2 participants