Skip to content

T1335525 - Scheduler - Repeated hour is not represented during the Egypt fall-back DST transition - #35295

Draft
sjbur wants to merge 11 commits into
DevExpress:mainfrom
sjbur:scheduler-dst-fallback-simple
Draft

sjbur wants to merge 11 commits into
DevExpress:mainfrom
sjbur:scheduler-dst-fallback-simple

Conversation

@sjbur

@sjbur sjbur commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

No description provided.

sjbur and others added 6 commits September 22, 2026 13:43
Shift by the extra time of visible days only, so hidden weekdays and a range that starts inside the fallback no longer place the appointment on the wrong column.

Co-authored-by: Cursor <cursoragent@cursor.com>
…n the grid

Stop the current-time marker at the last visible day before a hidden weekday, and shift an appointment from its displayed hour unless that hour is the repeated one.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…nto scheduler-dst-fallback-simple

# Conflicts:
#	packages/devextreme/js/__internal/scheduler/__tests__/cairo_repeated_hour.test.ts
@sjbur sjbur self-assigned this Sep 22, 2026
@sjbur sjbur added the 26_2 label Sep 22, 2026
@sjbur
sjbur requested a balanced review from Copilot September 22, 2026 12:15

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.

Copilot review overview

🟡 Changes recommended

Partial repeated-hour ranges can omit valid cells, and appointment processing repeatedly rebuilds DST plans.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Adds fall-back DST support to Scheduler timeline views so repeated hours render and position appointments correctly.

Changes:

  • Generates additional timeline cells for repeated hours.
  • Updates headers, scrolling, indicators, and appointment geometry.
  • Adds Cairo DST coverage and updates Pacific expectations.
File Description
timeline.markup.tests.js Uses dynamic timeline cell counts.
pacificTime.tests.js Updates fall-back indicator position.
work_space.ts Supplies DST-aware cell-count and scroll data.
view_data_generator.ts Generates repeated-hour cells.
date_header_data_generator.ts Supports variable day spans.
timeline.ts Adjusts timeline indexing and scrolling.
get_week_intervals.ts Extends timeline layout intervals.
get_minutes_cell_intervals.ts Stretches repeated-hour intervals.
generate_grid_view_model.ts Shifts appointment geometry.
repeated_hour.ts Adds repeated-hour utilities.
repeated_hour.cairo.test.ts Tests Cairo utility behavior.
types.ts Extends cell-count configuration.
date_header_cell.tsx Sizes variable-span headers.
cairo_repeated_hour.test.ts Adds Scheduler integration coverage.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/devextreme/js/__internal/scheduler/utils/repeated_hour.ts Outdated
Co-authored-by: Cursor <cursoragent@cursor.com>

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.

Copilot review overview

🟡 Changes recommended

Repeated-hour detection incorrectly follows the browser time zone instead of the Scheduler’s configured time zone.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 High severity

Open (1)
Resolved since last review (2)

Comment thread packages/devextreme/js/__internal/scheduler/utils/repeated_hour.ts Outdated
Co-authored-by: Cursor <cursoragent@cursor.com>

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.

Copilot review overview

🟡 Changes recommended

Configured timezones still produce incorrect fallback coordinates, overlapping subsequent-day cells, and wrong repeated-hour labels.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 2 High severity · 1 Medium severity

Open (3)
Resolved since last review (1)

Comment thread packages/devextreme/js/__internal/scheduler/workspaces/timeline.ts

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