summaryrefslogtreecommitdiff
path: root/web/templates/conditions.html
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-07-25 20:09:42 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-07-25 20:09:42 +0000
commit7f8cd6bfb894385b9ae310fd000cb921fef71cea (patch)
tree08542eabe0463eb96b6878875699c92b1eeb9d80 /web/templates/conditions.html
parent231f6f81ef60888de7309f589b6ebd2634159524 (diff)
fix: undated tasks were landing in the widget's scheduled-events grid
ComputeDaySection unconditionally recomputed IsAllDay from a midnight-time heuristic, clobbering the IsAllDay:true flag callers set to mark floating (no-due-date) tasks -- since undated tasks use Time = now, this silently reset IsAllDay to false and gave them a real Start, so the widget could render them via EventBlock/HourRow instead of TaskRow. Their click handler always opens the calendar/source URL, so tapping a no-due-date task (e.g. a Google Task) opened Google Calendar instead of the task detail sheet. ComputeDaySection now only ever sets IsAllDay true, never clears an already-true value. Also flag IsAllDay for undated Google Tasks, which never got it set at all (only native undated doot tasks did).
Diffstat (limited to 'web/templates/conditions.html')
0 files changed, 0 insertions, 0 deletions