mirror of
https://github.com/kuhyx/diet-guard.git
synced 2026-11-11 12:47:39 +01:00
- FoodEntry.slot -> slotMinute: read via entrySlotMinute, written via slotFields (whole-hour stays byte-identical, else slot_min), kept by copyWithDeleted and the edit screen, so the phone never republishes a stripped copy of a PC entry. Out-of-range peer values echo, never throw. - Satisfaction is nearest-slot snapping (satisfiedSlots) everywhere: loggedSlotsToday, due check, kuchnia occupancy, future-day logged set (that day's schedule), slot selector. Schedule edits no longer un-log. - Future pre-log builds DateTime from slot ~/ 60, slot % 60. - Schedule history + sync go through scheduleToWire/scheduleFromWire. - Notifications: ids are slot minutes; syncToSlots cancels whatever the platform reports active (getActiveNotifications, reminder channel) that is not due, covering legacy hour ids; full 0..1439 sweep only if the lookup throws. - Settings: 15-minute dropdowns + "Custom..." (24h showTimePicker), off-grid values always selectable, counts capped by grid capacity; editor moved to widgets/meal_schedule_editor.dart + meal_time_dropdown.dart. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015npsYVB2PdtWkG7MPAi4tn |
||
|---|---|---|
| .. | ||
| body_screen.dart | ||
| calendar_screen.dart | ||
| edit_entry_screen.dart | ||
| food_bank_screen.dart | ||
| github_client_id_dialog.dart | ||
| github_mirror_actions.dart | ||
| github_mirror_screen.dart | ||
| history_screen.dart | ||
| log_meal_actions.dart | ||
| log_meal_fill_mixin.dart | ||
| log_meal_future_mixin.dart | ||
| log_meal_kuchnia_mixin.dart | ||
| log_meal_nav_mixin.dart | ||
| log_meal_progress.dart | ||
| log_meal_screen.dart | ||
| log_meal_sync_mixin.dart | ||
| settings_kcal_goal.dart | ||
| settings_kuchnia.dart | ||
| settings_meal_schedule.dart | ||
| settings_screen.dart | ||