My-Weekly-ToDo-List/src
mARTin-B78 d4ec6b0ef3
Some checks are pending
Playwright Tests / test (push) Waiting to run
fix: key drag targets by date, not weekday, in views wider than a week
The drop preview and the empty-slot input were keyed by date.getDay(), which
is only unique inside a 7-day window. At 21 days every column sharing the
hovered column's weekday lit up — the mirrored drop targets, one per Tuesday.

The invisible half was worse: handleDrop resolved its target with
visibleDays.find(d => d.getDay() === dayOfWeek), so dropping on the second or
third Tuesday scheduled the task on the first one. Both now use the column's
own date; handleDragOver/handleDrop take a Date instead of a weekday number.

Task rendering was already date-based, so only drag state was affected.

v1.115.3

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-03 13:54:50 +02:00
..
app feat: add customizable CSS variables and custom CSS to Styling settings 2026-07-08 19:57:21 +02:00
components fix: key drag targets by date, not weekday, in views wider than a week 2026-09-03 13:54:50 +02:00
lib feat: focus-triggered MS To-Do delta sync for near-instant change reflection 2026-05-03 21:58:00 +02:00
types feat: add task actions (notes/delete) and refine animation logic 2026-02-01 12:25:53 +01:00
middleware.ts feat: add push notifications for calendar event reminders 2026-03-16 21:38:15 +01:00