Skip to content

Scheduler: remove the m_ prefix from the appointment, subscribes, drag and data source files - #35839

Merged
pharret31 merged 1 commit into
DevExpress:mainfrom
pharret31:typescript/scheduler/rename_5270
Oct 26, 2026
Merged

pharret31 merged 1 commit into
DevExpress:mainfrom
pharret31:typescript/scheduler/rename_5270

Conversation

@pharret31

Copy link
Copy Markdown
Contributor

No description provided.

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

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.

🔵 Needs a closer look

Resize calculations mutate shared cell data and mix source dates with grid-time dates.

No open issues 🎉

What changed in this PR

Removes m_ prefixes from Scheduler internals and strengthens typing across appointment rendering, resizing, dragging, and data access.

Changes:

  • Renames internal modules and updates their consumers and tests.
  • Replaces loose types with explicit interfaces.
  • Removes obsolete date-formatting utilities and modernizes a test mock.
File Description
packages/​devextreme/​testing/​tests/​DevExpress.ui.widgets.scheduler/​subscribes.tests.js Updates subscription import.
packages/​devextreme/​testing/​tests/​DevExpress.ui.widgets.scheduler/​integration.appointmentCollector.tests.js Updates import and widget mock.
packages/​devextreme/​testing/​tests/​DevExpress.ui.widgets.scheduler/​common.markup.tests.js Updates data-source import.
packages/​devextreme/​testing/​tests/​DevExpress.ui.widgets.scheduler/​common.initialization.tests.js Updates data-source import.
packages/​devextreme/​testing/​tests/​DevExpress.ui.widgets.scheduler/​appointments.tests.js Updates collection import.
packages/​devextreme/​testing/​tests/​DevExpress.ui.widgets.scheduler/​appointment.tests.js Updates appointment import.
packages/​devextreme/​js/​__internal/​ui/​resizable/​resizable.ts Allows numeric resize steps.
packages/​devextreme/​js/​__internal/​scheduler/​workspaces/​work_space.ts Updates imports and drag types.
packages/​devextreme/​js/​__internal/​scheduler/​view_model/​types.ts Narrows appointment orientation.
packages/​devextreme/​js/​__internal/​scheduler/​view_model/​appointment_data_source.ts Renames module and adjusts lint directives.
packages/​devextreme/​js/​__internal/​scheduler/​utils_time_zone.ts Accepts numeric timestamps.
packages/​devextreme/​js/​__internal/​scheduler/​types.ts Refines collector callback type.
packages/​devextreme/​js/​__internal/​scheduler/​tooltip_strategies/​tooltip_strategy_base.ts Narrows date-format type.
packages/​devextreme/​js/​__internal/​scheduler/​subscribes.ts Types Scheduler callbacks.
packages/​devextreme/​js/​__internal/​scheduler/​scheduler.ts Updates imports and internal contracts.
packages/​devextreme/​js/​__internal/​scheduler/​compact_appointments_helper.ts Types collector rendering and events.
packages/​devextreme/​js/​__internal/​scheduler/​base/​widget_notify_scheduler.ts Updates subscription import.
packages/​devextreme/​js/​__internal/​scheduler/​appointments/​utils/​get_view_model_diff.ts Updates data-source import.
packages/​devextreme/​js/​__internal/​scheduler/​appointments/​resizing/​core.ts Provides renamed resize calculations.
packages/​devextreme/​js/​__internal/​scheduler/​appointments/​resizing/​core.test.ts Updates resizing import.
packages/​devextreme/​js/​__internal/​scheduler/​appointments/​m_text_utils.ts Removes obsolete formatting utilities.
packages/​devextreme/​js/​__internal/​scheduler/​appointments/​appointments_kbn.ts Updates imports and type suppressions.
packages/​devextreme/​js/​__internal/​scheduler/​appointments/​appointment/​types.ts Defines appointment property types.
packages/​devextreme/​js/​__internal/​scheduler/​appointments/​appointment/​text_utils.ts Updates property-type import.
packages/​devextreme/​js/​__internal/​scheduler/​appointments/​appointment/​appointment.ts Strengthens component typing.
packages/​devextreme/​js/​__internal/​scheduler/​appointments/​appointment/​agenda_appointment.ts Updates base appointment import.
packages/​devextreme/​js/​__internal/​scheduler/​appointments/​appointment_layout.ts Types layout inputs and output.
packages/​devextreme/​js/​__internal/​scheduler/​appointments/​appointment_collection.ts Types collection rendering and resizing.
packages/​devextreme/​js/​__internal/​scheduler/​appointment_drag_behavior.ts Types drag events and state.

Review effort: Balanced

@pharret31
pharret31 force-pushed the typescript/scheduler/rename_5270 branch from 50dd57c to f560400 Compare October 23, 2026 14:28
Copilot AI balanced review requested due to automatic review settings October 23, 2026 14:28

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.

🔵 Needs a closer look

Resize calculations mutate shared cell data and can shift a later all-day appointment’s end date by one day.

No open issues 🎉

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 23, 2026 15:56
@pharret31
pharret31 force-pushed the typescript/scheduler/rename_5270 branch from f560400 to c9156fd Compare October 23, 2026 15:56

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.

🔵 Needs a closer look

Resize date calculations can mutate cached workspace cells and incorrectly shift the untouched appointment endpoint across time zones.

No open issues 🎉

Review effort: Balanced

@pharret31
pharret31 force-pushed the typescript/scheduler/rename_5270 branch from c9156fd to f5bb7a1 Compare October 26, 2026 09:17
Copilot AI balanced review requested due to automatic review settings October 26, 2026 09:17

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 imports and caller contracts with no blocking regressions identified; tests were not run.

No open issues 🎉

Review effort: Balanced

@pharret31
pharret31 force-pushed the typescript/scheduler/rename_5270 branch from f5bb7a1 to 8be1f1b Compare October 26, 2026 12:40
Copilot AI balanced review requested due to automatic review settings October 26, 2026 12:40

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 a consistent internal module rename with corresponding import updates and no identified blocking issues.

No open issues 🎉

Review effort: Balanced

@pharret31
pharret31 added this pull request to the merge queue Oct 26, 2026
Merged via the queue into DevExpress:main with commit 4cf1599 Oct 26, 2026
181 checks passed
@pharret31
pharret31 deleted the typescript/scheduler/rename_5270 branch October 26, 2026 13:31
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.

4 participants