You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FR]: Recurring tasks: moving the next occurrence shouldn't clear other occurrences' history #2691
Changing a recurring task's scheduled date clears every completed and skipped instance on or after the new date (#2147). Now that a moved occurrence keeps its original date in recurrence_original_date, this also deletes other occurrences' history.
For example, take a weekly Sunday task with 15 November completed, 29 November skipped, and its next occurrence on 22 November:
Moving 22 November to Saturday 21 November sets recurrence_original_date: 2026-11-22 and clears the skip on 29 November, so I have to skip 29 November again.
Moving 22 November back to 15 November also clears 15 November's completion, although the moved occurrence is still 22 November's.
#2633 makes the calendar ask first, as the date picker already does. But the only choices are to lose the skip or not move the task.
Suggestion: for scheduled-anchored tasks, a move clears nothing except, at most, the landing day. It clears the landing day only when the moved occurrence has no recurrence_original_date, so that day becomes its date, and the day is already completed or skipped. That happens for tasks synced to Google Calendar and for older off-pattern notes without a marker (applyRecurringMoveForScheduledChange). The existing confirmation would still cover that case. I've left completion-anchored tasks out, since a move re-anchors them.
#2147 cleared later dates to reopen accidental off-schedule completions. Would un-completing that occurrence directly cover this now, or is there a case that still needs the rule?
The rule is in two places that would need to change together:
Activity
fix(recurrence): narrow reschedule-clear rule for scheduled-anchored …