Skip to content

Add user preference for "due soon" warning threshold #12

Description

@hawkinslabdev

Add user preference for "due soon" warning threshold

Currently, the warning threshold is hardcoded at 0.2 (20%) in src/lib/db/repositories/maintenance.ts:629, as the TODO comment at line 628 mentions this. It's 500km/7 days absolute minimums when intervals are small. Users may or may not have different preferences for how early they want to be warned:

  • Some want warning at 20% before due
  • Others only want to know when truly due or slightly before
  • Some prefer earlier warnings to plan ahead

This could be exposed as a user preference in profile settings, with options like "Conservative" (notify only when close), "Balanced" (default, current behavior), or "Early" (notify well in advance), but can be discussed.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions