CookCLI icon indicating copy to clipboard operation
CookCLI copied to clipboard

FEATURE: Scheduled Menu

Open TheMagicNacho opened this issue 1 year ago • 2 comments

Description

It would be super duper cool if the server can schedule meals across a calandar. This way the user can generate a shopping list for a slice of time (day, week, month).

Justification

This type of workflow is what I use in my household, where we schedule meals out for the week then generate the shopping list from there. The manual method is error prone and time consuming.

Leveraging the cook lang server will save time and reduce food waste.

Examples

The schedule editor allows you to see a list of recipes and drag them to a date.

Schedule Editor

RECIPES

  • tacos
  • salmon and kale salad
  • Rice and Beans
  • Chicken and Rice
  • Wings and Fries
  • Beef Wellington
  • Pancakes
  • Ramen
MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
30) Rice and Beans 1) Salmon and Kale Salad 2) Tacos 3) Chicken and Rice 4) 5) Wings and Fries 6) Beef Wellington
7) Pancakes 8) Tacos 9) Ramen 10) Rice and beans 11) 12) 13)

By giving a time window, a list of scheduled recipes are provided

Menu Viewer

2024 Jan 30 - 2024 Feb 4

MONDAY
- Rice and Beans

TUESDAY
- Salmon and Kale Salad

WEDNESDAY
- Tacos

THURSDAY
-  Chicken and Rice

Friday
- nothing scheduled

Use Cases

  • [ ] As a user, I want to schedule meals using recipes that I already have in my database.
  • [ ] As a user, I want to generate a shopping list for a given series of time.
  • [ ] As a user, I want to see a menu for my desired time slice (day, week, month, custom)
  • [ ] As an administrator, I want the meal schedule to persist even if the server shuts down.
  • [ ] As a developer, I want the menu capability exposed as an API for further development.

TheMagicNacho avatar Jul 07 '24 13:07 TheMagicNacho

I've started working on a prototype for this feature. I'm building this out for a use case for my home, not sure if the community would also benefit from this I can merge into the main project.

TheMagicNacho avatar Jul 07 '24 13:07 TheMagicNacho

Wow! That would be super cool!

dubadub avatar Jul 08 '24 13:07 dubadub

Resolved with the latest version

dubadub avatar Sep 28 '25 19:09 dubadub