Meal Planner

Add planned meal

Add on-hand ingredient

Quick rules

  • done planned adds meal to past, removes first instance from planned, removes its ingredients from on-hand, keeps at most 14 past meals.
  • Favorites and on-hand are treated as sets for add/remove (no duplicates added).
Potential meals (can be made now; favorites first)

Needed ingredients (planned but not on hand)

Past Meals
Planned Meals
Favorite Meals
Cookbook
Ingredients
Debug
Raw internal state arrays (meal/ingredient indices) in fixed order: past, planned, favorites, onHand.