Giter Site home page Giter Site logo

masscatering's People

Contributors

chrisfleming avatar dependabot[bot] avatar djmoffat avatar stsquad avatar

Watchers

 avatar  avatar

Forkers

djmoffat stsquad

masscatering's Issues

Proposal for refactor of Menu YAML file

This issue is to discuss the proposal of a new YAML file structure, to facilitate

  • Easy to present menu overview
  • allow adding notes section to individual recipes
  • allow adding no_print flag to menu items
  • allow for menu ordering to take place

The current example menu YAML file structure is:

recipe_1:
      day_1:  num_people
      day_2: num_people
recipe_2:
      day_1:  num_people
      day_2: num_people
...

New proposed example structure

day_1:
      meal_1:  
            recipe_1: num_people
                  notes: Note to show at bottom of markdown recipe file
            recipe_2: num_people
            recipe_3: num_people
                  no_print: True
      meal_2:  
            recipe_1: num_people
                  notes: Note to show at bottom of markdown recipe file
            recipe_4: num_people
                  notes: Note to show at bottom of markdown recipe file
            recipe_5: num_people
...

The ability to add notes to a specific recipe will increase the flexibility for one-off recipe changes (ie. Make mash potato vegan) rather than having to create many copies of very similar recipes.

The no-print value is not required, but may save producing a .md file for generic items ie. generic hostel list, or per-person per day items.

Thoughts and opinions welcome

Updated post 2024 hostelling

Things that were needed

  • More meat haggis (back to prev quantity)
  • 2 sausages per kids for Toad
  • More eggs for French Toast
  • 2 Slices per person
  • Oil for French Toast
  • Double the fruit compote for french toast
  • Dessert fruit with custard
  • No kids Yoghurt

Menu quantity items clash with recipe names

Direct menu item names currently collide with recipe names, and cause crash.

eg. in menu
rice: 1kg

This will cause crash as line 150 -153 will cause it to read recipe, rather than parse as ingredient directly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.