Skip to content

fix: restore Day calendar parity with Week grid behavior#1820

Merged
Uarmagan merged 22 commits into
mainfrom
feature/share-day-week-calendar-grid
May 28, 2026
Merged

fix: restore Day calendar parity with Week grid behavior#1820
Uarmagan merged 22 commits into
mainfrom
feature/share-day-week-calendar-grid

Conversation

@Uarmagan
Copy link
Copy Markdown
Contributor

Summary

Restores the remaining Day calendar parity gaps after the shared Day/Week grid work:

  • opens the shared Week-style event context menu from Day calendar events
  • makes Day timed-event cards match Week overlap visuals, including ring, shadow, and focused stacking
  • dismisses an existing Day event draft/form before starting a new empty-space calendar interaction
  • preserves Week-like saved-event motion behavior when an edit form is open: close during drag/resize, then reopen with the moved/resized event
  • reconnects Day scroll-to-now behavior to the shared timed grid
  • adds Week-like vertical smart scroll for saved timed-event drag in Day
  • keeps Day task-list behavior and task drag/drop untouched

Validation

  • bun test --cwd packages/web src/views/Day/components/Calendar/DayCalendarGrid.test.tsx
  • bun test --cwd packages/web src/common/calendar-interaction/react/CalendarInteractionPointerCaptureBoundary.test.tsx src/views/Day/interaction/adapter/DayInteractionAdapter.test.ts src/views/Day/interaction/DayInteractionCoordinator.test.tsx
  • bun test --cwd packages/web src/views/Week/interaction/adapter/WeekInteractionAdapter.timedDrag.test.ts src/views/Week/interaction/adapter/WeekInteractionAdapter.timedResize.test.ts src/views/Week/interaction/adapter/WeekInteractionAdapter.allDayDrag.test.ts src/views/Week/interaction/adapter/WeekInteractionAdapter.allDayResize.test.ts
  • bun test --cwd packages/web src/components/PlannerSidebar/SomedayEventSections/interaction/adapter/SomedayInteractionAdapter.test.ts src/components/ContextMenu/ContextMenuItems.test.tsx
  • bunx playwright test e2e/timed/create-event-mouse.spec.ts e2e/timed/update-event-mouse.spec.ts e2e/allday/update-allday-event-mouse.spec.ts e2e/someday/drag-someday-event-mouse.spec.ts
  • bun run type-check
  • bun run lint
  • git diff --check

Chrome smoke note: /day rendered in Chrome, but the Codex Chrome Extension blocked the first native drag attempt because another extension UI was open, then the extension connection became unavailable. Chrome, the extension, and the native host all checked as installed/enabled, so this is left as a local Chrome-extension limitation rather than app behavior evidence.

@Uarmagan Uarmagan marked this pull request as ready for review May 28, 2026 22:27
Uarmagan and others added 2 commits May 28, 2026 17:32
- Reuse the shared timed-event deck layout across Day and Week, including
  active timed draft decks
- Mark the event being edited with a lifted in-palette background instead of
  a dark fill or accent ring

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Uarmagan Uarmagan merged commit 1c22fd4 into main May 28, 2026
8 of 9 checks passed
@Uarmagan Uarmagan deleted the feature/share-day-week-calendar-grid branch May 28, 2026 23:05
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.

1 participant