Skip to content

Conversation

@aleksei-semikozov
Copy link
Contributor

No description provided.

@aleksei-semikozov aleksei-semikozov self-assigned this Jan 14, 2026
@aleksei-semikozov aleksei-semikozov requested a review from a team as a code owner January 14, 2026 08:37
Copilot AI review requested due to automatic review settings January 14, 2026 08:37
@aleksei-semikozov aleksei-semikozov requested a review from a team as a code owner January 14, 2026 08: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

This pull request adds a new API method overload to the Scheduler component's scrollTo method, allowing users to specify scroll alignment ('start' or 'center') when scrolling to a specific date.

Changes:

  • Adds new scrollTo method signature that accepts an options object with group, allDay, and align properties
  • Implements alignment logic in the workspace scroll calculations (defaults to 'center' for backward compatibility)
  • Adds comprehensive Jest tests for the workspace-level scrollTo functionality

Reviewed changes

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

Show a summary per file
File Description
packages/devextreme/ts/dx.all.d.ts Adds new scrollTo method overload with options object parameter for dx.all bundle
packages/devextreme/js/ui/scheduler.d.ts Adds new scrollTo method overload with JSDoc annotations and references new SchedulerScrollToAlign enum
packages/devextreme/js/__internal/scheduler/workspaces/m_work_space.ts Implements align parameter in workspace scrollTo method to calculate scroll offsets based on alignment
packages/devextreme/js/__internal/scheduler/m_scheduler.ts Adds type guard to distinguish between positional and options-object parameters, forwards align to workspace
packages/devextreme/js/__internal/scheduler/tests/workspace.base.test.ts Adds comprehensive tests for workspace scrollTo with different alignment options

Copilot AI review requested due to automatic review settings January 15, 2026 12:14
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 6 out of 8 changed files in this pull request and generated 2 comments.

sjbur
sjbur previously approved these changes Jan 15, 2026
Tucchhaa
Tucchhaa previously approved these changes Jan 15, 2026
@aleksei-semikozov aleksei-semikozov dismissed stale reviews from Tucchhaa and sjbur via c9d8617 January 21, 2026 09:17
Copilot AI review requested due to automatic review settings January 21, 2026 09:32
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 6 out of 8 changed files in this pull request and generated 3 comments.

Copilot AI review requested due to automatic review settings January 22, 2026 09:21
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 6 out of 8 changed files in this pull request and generated 1 comment.

@aleksei-semikozov aleksei-semikozov merged commit 3ad15b1 into DevExpress:26_1 Jan 22, 2026
94 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.

4 participants