diet-guard/app/lib/widgets
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 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
filters Split food_bank_screen; share the filter widgets with history 2026-08-15 19:43:08 +02:00
food_bank Split food_bank_screen; share the filter widgets with history 2026-08-15 19:43:08 +02:00
history Split food_bank_screen; share the filter widgets with history 2026-08-15 19:43:08 +02:00
autocomplete_suggestion_list.dart Compact LogMealScreen so it fits without scrolling on-screen keyboard 2026-07-04 05:19:23 +02:00
average_summary_row.dart Show weekly and monthly average intake on both devices 2026-08-09 14:59:40 +02:00
day_status_calendar.dart Make the meal gate usable without a pointer on a 1366x768 screen 2026-07-30 16:21:27 +02:00
fill_all_row.dart Update app/diet_guard (17 files) 2026-10-10 13:49:58 +02:00
log_meal_actions_row.dart fix: clear every macro field before a prefill, add the phone's delivery button 2026-08-23 09:34:47 +02:00
macro_input_row.dart Pre-log meals for a future date and slot (CLI --date/--hour, app 'Log for later') 2026-09-27 19:59:38 +02:00
meal_schedule_editor.dart app: minute-of-day slots (phase 2 of 3: every app consumer) 2026-10-10 19:55:26 +02:00
meal_time_dropdown.dart app: minute-of-day slots (phase 2 of 3: every app consumer) 2026-10-10 19:55:26 +02:00
slot_selector_row.dart app: minute-of-day slots (phase 2 of 3: every app consumer) 2026-10-10 19:55:26 +02:00
streak_summary_row.dart Add budget-adherence calendar, streaks, and freely-editable synced budget 2026-07-13 21:31:45 +02:00
sync_health_banner.dart Make the phone publish on every tick, and fail closed on Firebase errors 2026-08-10 14:35:37 +02:00
today_progress_card.dart Pin meal pills to one row; drop the "Logged" restatement 2026-08-16 14:18:39 +02:00