Skip to content

Core: remove the m_ prefix from position, the collection data controller and the themes callback - #35949

Open
pharret31 wants to merge 2 commits into
DevExpress:mainfrom
pharret31:5382-coremisc-remove-m_-prefix-position-data-controller-themes-callback
Open

pharret31 wants to merge 2 commits into
DevExpress:mainfrom
pharret31:5382-coremisc-remove-m_-prefix-position-data-controller-themes-callback

Conversation

@pharret31

Copy link
Copy Markdown
Contributor

No description provided.

@pharret31 pharret31 self-assigned this Oct 26, 2026
@pharret31
pharret31 requested a review from a team as a code owner October 26, 2026 17:52
@pharret31 pharret31 added the 26_2 label Oct 26, 2026
Copilot AI balanced review requested due to automatic review settings October 26, 2026 17:52

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.

🟢 Approval recommended

Static review supports consistent renames and compatible typing updates with no blocking issues identified; builds and tests were not run.

No open issues 🎉

What changed in this PR

Removes the m_ prefix from three internal core modules and updates their consumers, while strengthening TypeScript types for positioning and collection data access.

Changes:

  • Renames internal modules and updates public entry points, consumers, and test imports.
  • Adds explicit data-controller signatures and shared positioning types.
  • Adjusts callers for stricter types, including guards for missing position results.
File Description
packages/​devextreme/​js/​ui/​themes_callback.js Reexports the renamed callback module.
packages/​devextreme/​js/​common/​core/​animation/​position.js Reexports the renamed position module.
packages/​devextreme/​js/​__internal/​ui/​themes.ts Updates the callback import.
packages/​devextreme/​js/​__internal/​ui/​themes_callback.ts Houses callbacks under the new name.
packages/​devextreme/​js/​__internal/​ui/​tag_box.ts Removes an obsolete type suppression and adds a lint exemption.
packages/​devextreme/​js/​__internal/​ui/​select_box.ts Removes an obsolete type suppression.
packages/​devextreme/​js/​__internal/​ui/​popover/​popover.ts Handles missing position results and offsets.
packages/​devextreme/​js/​__internal/​ui/​overlay/​overlay.ts Updates the callback import.
packages/​devextreme/​js/​__internal/​ui/​overlay/​overlay_position_controller.ts Refines the initial-position type.
packages/​devextreme/​js/​__internal/​ui/​list/​list.edit.search.ts Removes an obsolete type suppression.
packages/​devextreme/​js/​__internal/​ui/​drop_down_editor/​drop_down_list.ts Updates the controller import and removes redundant casts.
packages/​devextreme/​js/​__internal/​ui/​drop_down_editor/​drop_down_editor.ts Guards missing offsets when determining popup placement.
packages/​devextreme/​js/​__internal/​ui/​collection/​m_data_controller.ts Removes the old controller path.
packages/​devextreme/​js/​__internal/​ui/​collection/​data_controller.ts Introduces the renamed, explicitly typed controller.
packages/​devextreme/​js/​__internal/​ui/​collection/​collection_widget.edit.ts Updates the controller import and type suppressions.
packages/​devextreme/​js/​__internal/​ui/​__tests__/​themes.test.ts Updates the callback test import.
packages/​devextreme/​js/​__internal/​pagination/​utils/​on_theme_ready.ts Uses the renamed callback module.
packages/​devextreme/​js/​__internal/​pagination/​__tests__/​pages-small.test.ts Updates the callback test import.
packages/​devextreme/​js/​__internal/​pagination/​__tests__/​on-theme-ready.test.ts Updates the callback test import.
packages/​devextreme/​js/​__internal/​pagination/​__tests__/​adaptive-theme-ready.test.ts Updates the callback test import.
packages/​devextreme/​js/​__internal/​integration/​jquery/​hold_ready.ts Updates the jQuery integration callback import.
packages/​devextreme/​js/​__internal/​data/​m_data_helper.ts Imports the renamed data controller.
packages/​devextreme/​js/​__internal/​common/​core/​animation/​types.ts Defines shared positioning types.
packages/​devextreme/​js/​__internal/​common/​core/​animation/​position.ts Types positioning helpers and adds setup overloads.
packages/​devextreme/​js/​__internal/​common/​core/​animation/​position.test.ts Imports the renamed position module.

Review effort: Balanced

This branch has not been deployed

No deployments
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.

2 participants