Skip to content

Scheduler — Replace underscore-prefixed: Cherry-pick to 25_1 and validate completion#33164

Open
aleksei-semikozov wants to merge 15 commits intoDevExpress:25_1from
aleksei-semikozov:cherry-pick/scheduler-underscore-final-25_1
Open

Scheduler — Replace underscore-prefixed: Cherry-pick to 25_1 and validate completion#33164
aleksei-semikozov wants to merge 15 commits intoDevExpress:25_1from
aleksei-semikozov:cherry-pick/scheduler-underscore-final-25_1

Conversation

@aleksei-semikozov
Copy link
Copy Markdown
Contributor

No description provided.

@aleksei-semikozov aleksei-semikozov force-pushed the cherry-pick/scheduler-underscore-final-25_1 branch from e5dcf29 to 5ee9e58 Compare April 6, 2026 07:42
@aleksei-semikozov aleksei-semikozov force-pushed the cherry-pick/scheduler-underscore-final-25_1 branch from c5053ee to 8fc6af8 Compare April 6, 2026 08:17
@aleksei-semikozov aleksei-semikozov marked this pull request as ready for review April 8, 2026 12:10
@aleksei-semikozov aleksei-semikozov requested a review from a team as a code owner April 8, 2026 12:10
this.calendar?.option('value', date);
}

public _updateCurrentDate(date: Date): void {
Copy link
Copy Markdown
Contributor

@Tucchhaa Tucchhaa Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method still has underscore, as well as some other methods in this file. Was it omitted on purpose? In 26.2 it seems that, it doesn't have:

public updateCurrentDate(date: Date): void {

I don't want to check if all of the methods still have or not the underscores, because it would be just too much work for the branch that will stop being maintained in several months.

So I suggest to rename methods in this class, but only if it won't take a lot of your time

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed to updateCurrentDate and updated the call site in m_date_navigator.ts.

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.

Same as here: #33164 (comment)

The 26.1 doesn't have _ here:

protected calculateCellIndex(rowIndex, columnIndex, rowCount, columnCount) {

Copy link
Copy Markdown
Contributor Author

@aleksei-semikozov aleksei-semikozov Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kept as _calculateCellIndex

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed to getCalendarOptions.

Tucchhaa
Tucchhaa previously approved these changes Apr 8, 2026
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