diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-08-06 09:30:26 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-08-06 09:30:26 +0000 |
| commit | f479211f0885776c379c598dac738ac08ea72548 (patch) | |
| tree | 016ff4faba537033aa0b4930f053f60d28095d57 /web/templates/agent-status.html | |
| parent | c8ebaba6e04169359d84e00ffa2d797f40bc077e (diff) | |
Widget: add postpone (tomorrow/next week/next month) to task detail popup
Alongside Complete/Edit, doot-native tasks now get a Postpone button with
a dropdown (Tomorrow / Next week / Next month), reusing the existing
reschedule wiring (WidgetRepository.reschedule) the due-date picker
already uses.
Caught and documented a real divergence while writing the test: Java's
LocalDate.plusMonths CLAMPS to the target month's last valid day (Jan 31
-> Feb 28), while the Go server's ComputeNextOccurrence (recurrence
math) OVERFLOWS instead (Jan 31 + 1 month -> Mar 3) via time.AddDate.
Verified by actually running both, not assumed -- a first draft of this
test asserted the wrong (Go-style) behavior before checking. Not
reconciled here, just accurately documented as a known inconsistency
between this client-side helper and the server's date math.
4 new tests, all passing.
Diffstat (limited to 'web/templates/agent-status.html')
0 files changed, 0 insertions, 0 deletions
