Configure the deadline reminder horizon per device #727

Closed
opened 2026-08-13 09:50:49 +00:00 by timmy · 0 comments
Owner

Problem

Deadline reminders always warn about the next two calendar days. Mobile operators cannot choose same-day focus or a seven-day planning window.

Vertical slice

Add a per-device Warn me choice (Due today / Next 2 days / Next 7 days) to device setup and notification settings. Persist it server-side, preserve two days as the migration default, and count deadlines using each device’s local calendar day.

Acceptance tests

  • Settings and device setup synchronize a 0, 2, or 7 day horizon and restore the server-confirmed choice.
  • Save payload/API persistence includes reminder_days; invalid values fail validation.
  • Existing database rows default to two days.
  • Delivery uses each eligible device’s horizon and timezone while retaining privacy-safe aggregate payloads.
  • Mobile controls remain at least 44px and do not force horizontal scrolling.

No historical issue title or recent commit implements a configurable reminder horizon; related #709 and #715 introduced reminders and their local delivery hour only.

## Problem Deadline reminders always warn about the next two calendar days. Mobile operators cannot choose same-day focus or a seven-day planning window. ## Vertical slice Add a per-device **Warn me** choice (Due today / Next 2 days / Next 7 days) to device setup and notification settings. Persist it server-side, preserve two days as the migration default, and count deadlines using each device’s local calendar day. ## Acceptance tests - Settings and device setup synchronize a 0, 2, or 7 day horizon and restore the server-confirmed choice. - Save payload/API persistence includes `reminder_days`; invalid values fail validation. - Existing database rows default to two days. - Delivery uses each eligible device’s horizon and timezone while retaining privacy-safe aggregate payloads. - Mobile controls remain at least 44px and do not force horizontal scrolling. No historical issue title or recent commit implements a configurable reminder horizon; related #709 and #715 introduced reminders and their local delivery hour only.
timmy self-assigned this 2026-08-13 09:50:49 +00:00
timmy closed this issue 2026-08-13 09:57:26 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#727
No description provided.