Skip to content

fix(macos): week-view clamp for all-day edge nudges - #5242

Open
tyler-dane wants to merge 10 commits into
mainfrom
cursor/all-day-edge-week-clamp-0084
Open

tyler-dane wants to merge 10 commits into
mainfrom
cursor/all-day-edge-week-clamp-0084

Conversation

@tyler-dane

@tyler-dane tyler-dane commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What and why

Week view on web refuses all-day edge nudges that would move the event outside the visible week (wouldAllDayEdgeLeaveVisibleWeek). macOS focused events and draft edge paths now apply the same clamp via weekViewClamp on DraftNudge.nudgeScheduleEdgeByKeyboard.

Merged main at 33bc76a (#5236) and kept clamp on top.

Verify

VERDICT: PASS

bun run verify --strict at edd113c (local; macOS legs CI-only).

  • AllDayEdgeWeekClampTests
  • FocusedEventShiftNudgeTests.testWeekViewRejectsAllDaySavedEventStartEdgeNudgeOffWeek
  • FocusedEventShiftNudgeTests.testWeekViewRejectsAllDayDraftStartEdgeNudgeOffWeek

Not queued or merged.

Open in Web Open in Cursor 

cursoragent and others added 9 commits November 12, 2026 08:28
Port CompassKit edge nudge APIs, persist focused nudges before undo, and
route hardware shift-arrows ahead of draft keys without altering main router
paste, welcome, or life navigation behavior.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Route grid edit drafts through DraftNudge.nudgeScheduleEdgeByKeyboard when
focusStore has a start/end edge, matching web shift+arrow edge behavior.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Mirror web wouldAllDayEdgeLeaveVisibleWeek for focused events and draft
edge nudges, with CompassKit and FocusedEventShiftNudge regression tests.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Base automatically changed from cursor/focused-event-shift-arrow-0084 to main November 12, 2026 17:46
Resolve squash conflicts and add draft-path week clamp regression test.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants