Wire reminder scheduler interface into local repository
This commit is contained in:
+28
-3
@@ -2,6 +2,31 @@
|
||||
|
||||
Updated: 2026-02-15
|
||||
|
||||
## Latest Milestone (2026-02-15): Reminder Delivery Interface Wiring
|
||||
|
||||
Implemented the notification scheduling boundary and connected it to local data
|
||||
state transitions:
|
||||
|
||||
- Added reminder scheduler abstraction:
|
||||
- `lib/features/reminders/scheduling/reminder_scheduler.dart`
|
||||
- `ReminderScheduler` + `NoopReminderScheduler`
|
||||
- Added provider wiring:
|
||||
- `lib/features/reminders/scheduling/reminder_scheduler_provider.dart`
|
||||
- Integrated schedule reconciliation with local repository:
|
||||
- `lib/features/local/local_repository.dart`
|
||||
- reconcile runs on repository boot and each persisted state update
|
||||
- failures are swallowed to preserve offline-first behavior
|
||||
- Added tests:
|
||||
- `test/features/local/local_repository_test.dart` now verifies reminder
|
||||
schedule reconciliation calls
|
||||
- Updated setup docs:
|
||||
- `docs/SETUP.md` now documents reminder scheduler scaffold
|
||||
|
||||
Validation for this milestone:
|
||||
|
||||
- `flutter analyze` -> pass
|
||||
- `flutter test` -> pass
|
||||
|
||||
## Latest Milestone (2026-02-15): Sync Hardening + CI Baseline
|
||||
|
||||
Implemented the next production-readiness slice:
|
||||
@@ -36,9 +61,9 @@ Validation for this milestone:
|
||||
|
||||
### Open Phases (Current)
|
||||
|
||||
1. Reminder delivery integration:
|
||||
- add platform notification scheduler (local notifications) and wire reminder
|
||||
CRUD/state changes to schedule/cancel/update jobs.
|
||||
1. Reminder delivery runtime integration:
|
||||
- replace no-op scheduler with platform local notifications implementation
|
||||
for Android/iOS/macOS/Windows/Linux/Web-safe fallback.
|
||||
2. Conflict resolution UX:
|
||||
- current UX shows and dismisses rejections; still missing guided
|
||||
resolve/retry/inspect flows per entity.
|
||||
|
||||
Reference in New Issue
Block a user