Skip to content

RadioGroup: Improve types#33488

Merged
r-farkhutdinov merged 2 commits into
DevExpress:26_1from
r-farkhutdinov:26_1_radio_group_types
May 5, 2026
Merged

RadioGroup: Improve types#33488
r-farkhutdinov merged 2 commits into
DevExpress:26_1from
r-farkhutdinov:26_1_radio_group_types

Conversation

@r-farkhutdinov
Copy link
Copy Markdown
Contributor

No description provided.

@r-farkhutdinov r-farkhutdinov self-assigned this May 4, 2026
Copilot AI review requested due to automatic review settings May 4, 2026 14:04
@r-farkhutdinov r-farkhutdinov requested a review from a team as a code owner May 4, 2026 14:04
Copy link
Copy Markdown
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 tightens TypeScript annotations around the internal RadioGroup implementation, its inner collection, and the standalone radio button so these legacy widgets align better with the monorepo's typed editor/collection infrastructure.

Changes:

  • Adds explicit return/parameter types across the RadioGroup, RadioCollection, and RadioButton internals.
  • Replaces several extend(...) usages with object spread and documents multiple mixin-driven @ts-expect-error cases.
  • Refactors a few option/handler paths to use typed locals and tuple-style forwarding.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
packages/devextreme/js/__internal/ui/radio_group/m_radio_group.ts Main RadioGroup typing cleanup, option propagation updates, and internal handler refactors.
packages/devextreme/js/__internal/ui/radio_group/m_radio_collection.ts Adds stronger typing for rendered item processing and keyboard handlers in the inner collection widget.
packages/devextreme/js/__internal/ui/radio_group/m_radio_button.ts Adds explicit types for keyboard/click handling and checked-state rendering in the standalone radio button.

Comment thread packages/devextreme/js/__internal/ui/radio_group/m_radio_group.ts Outdated
Comment thread packages/devextreme/js/__internal/ui/radio_group/m_radio_group.ts Outdated
Copy link
Copy Markdown
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 3 out of 3 changed files in this pull request and generated 3 comments.

Comment thread packages/devextreme/js/__internal/ui/radio_group/m_radio_group.ts Outdated
Comment thread packages/devextreme/js/__internal/ui/radio_group/m_radio_group.ts Outdated
Copy link
Copy Markdown
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 3 out of 3 changed files in this pull request and generated no new comments.

@r-farkhutdinov r-farkhutdinov force-pushed the 26_1_radio_group_types branch from 322302e to 5e0a5c7 Compare May 4, 2026 14:48
Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings May 4, 2026 14:56
@r-farkhutdinov r-farkhutdinov force-pushed the 26_1_radio_group_types branch from 5e0a5c7 to 308d3b3 Compare May 4, 2026 14:56
Copy link
Copy Markdown
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 3 out of 3 changed files in this pull request and generated no new comments.

@r-farkhutdinov r-farkhutdinov merged commit 23eab53 into DevExpress:26_1 May 5, 2026
112 of 114 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants