Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(react-scheduler): highlight today DayScale cell #1653

Merged

Conversation

MaximKudriavtsev
Copy link
Contributor

No description provided.

<span
className={classNames({
[classes.dayOfMonth]: true,
[classes.highlightCell]: today,
Copy link
Contributor

Choose a reason for hiding this comment

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

What about a test for the highlightCell class?

@@ -56,6 +56,7 @@ Field | Type | Description
------|------|------------
startDate | Date | Specifies the cell start time.
endDate | Date | Specifies the cell end time.
today | boolean | Specifies the cell's date is today.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it necessary for WeekView?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the DayView.CellData interface. The cellsData function always returns this interface.

@@ -54,7 +54,7 @@ Field | Type | Description
------|------|------------
startDate | Date | Specifies the cell start time.
endDate | Date | Specifies the cell end time.

today | boolean | Specifies the cell's date is today.
Copy link
Contributor

Choose a reason for hiding this comment

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

The same about 'today' here.

@MaximKudriavtsev MaximKudriavtsev merged commit eb42d14 into DevExpress:master Dec 6, 2018
@MaximKudriavtsev MaximKudriavtsev deleted the scheduler-highlight-today branch December 6, 2018 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants