feat(settings): custom snooze duration, extract editor card to floret-kit #67
Reference in New Issue
Block a user
Delete Branch "feat/custom-snooze-duration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the settings half of #40 (custom snooze duration) and extracts the shared editor card to floret-kit.
Settings: the Snooze-duration picker gains a Custom option. A new single-select SnoozeDurationPicker keeps the minute presets and adds a Custom row that expands an amount field with a Minutes/Hours toggle, so any delay is settable — not just 5/10/15/30/60. Notification flow, prefs and ViewModel are unchanged (setSnoozeMinutes already accepted arbitrary values).
Refactor: the three presets-plus-custom editors (reminder default, agenda range, snooze) now delegate to floret-kit's new CustomAmountEditor instead of each duplicating the tonal card. The app keeps its domain math, strings and labels.
Submodule: re-pins floret-kit 78c5fd1 (v0.1.0) -> 2124227 (branch feat/custom-snooze-duration, carries CustomAmountEditor). Merge the floret-kit PR first, then this pointer should move to the merged commit before release.
Verified: assembleDebug builds, installed and reviewed on the emulator. UI-only; no unit-test impact. No new strings (reuses Custom/Set/Amount).