diet-guard/app/lib/models
Krzysztof kuhy Rudnicki f83938bfe3 app: minute-of-day slots (phase 2 of 3: every app consumer)
- 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
2026-10-10 19:55:26 +02:00
..
body_document.dart Body tab: weight/body-fat logs, BMI, ideal weight, goal-based kcal target, workouts + Health Connect steps, week planner 2026-09-28 09:03:03 +02:00
body_entries.dart Body tab: weight/body-fat logs, BMI, ideal weight, goal-based kcal target, workouts + Health Connect steps, week planner 2026-09-28 09:03:03 +02:00
day_status.dart Add budget-adherence calendar, streaks, and freely-editable synced budget 2026-07-13 21:31:45 +02:00
food_bank_record.dart Remove unused features; fix reminder false alarms; share all state 2026-07-26 16:39:52 +02:00
food_entry.dart app: minute-of-day slots (phase 2 of 3: every app consumer) 2026-10-10 19:55:26 +02:00
food_suggestion.dart Add Flutter companion app skeleton with local meal logging 2026-06-22 18:22:42 +02:00
kuchnia_dish.dart feat: carry the catering credential to the phone 2026-08-23 08:25:27 +02:00
local_time.dart Add Flutter companion app skeleton with local meal logging 2026-06-22 18:22:42 +02:00
meal_component.dart Add Flutter companion app skeleton with local meal logging 2026-06-22 18:22:42 +02:00
meal_schedule.dart slots: minute-of-day contract (phase 1 of 3: pure model + shared fixture) 2026-10-10 19:22:43 +02:00
nutrition.dart Add Flutter companion app skeleton with local meal logging 2026-06-22 18:22:42 +02:00
period_average.dart Show weekly and monthly average intake on both devices 2026-08-09 14:59:40 +02:00
slot.dart slots: minute-of-day contract (phase 1 of 3: pure model + shared fixture) 2026-10-10 19:22:43 +02:00
workout_session.dart Body tab: weight/body-fat logs, BMI, ideal weight, goal-based kcal target, workouts + Health Connect steps, week planner 2026-09-28 09:03:03 +02:00