Coder Social home page Coder Social logo

delicious's People

Contributors

ebunders avatar

Watchers

 avatar  avatar

delicious's Issues

On the menu detail page I want to see a menu with all the recipes.

At the top of the page there is the title of the menu, and then the description, and the number of attendants.

Then there is a contents list, with (anchor) links to the recipes, also grouped by section.

After that all the menu sections are listed, like 'starters', 'main course', 'side dishes'.
Each section lists the recipes that are attached to it. Ingredients are displayed like:

[amount] [modifier] (plural)name, or
2 large tomatoes (skin removed)

Amounts are given in decimal values, unless the ingredient is of type 'undevidable', in that case the amounts are rounded to integers. In other cases amounts are rounded to at most two decimals.

Example of undevidable ingredient: an egg. You never use half an egg.

The layout of recipes is two column, where the ingredients are displayed to the left and the instructions to the right.
Instructions are grouped into 'preperations' and 'execution' (better names).

The url for this page will be: /#/menu/[id]

At the top of the list there is a link to the shoppinglist page.

On the shoppinglist page I can see all the ingredients of a menu, grouped by shop group,

I want to see the list in a two column layout.
If the ingredient has one or zero modifiers, the ingredients should be displayed like:
[amount] [unit] ingredient, or
1 kilo tomatoes (large)

If the ingredient has multiple modifiers (different recipes can add different modifiers to the ingredient), it should be displayed like this:
[amount] [unit] [ingredient]([subamount] [unit] [modifier], [subamount] [unit] [modifier], ..), or
20 tomatoes (4 large, 16 small)

The unit 'unit' is displayed as '',

In the shoppinglist all amounts are converted to the unit of the ingredient, so this conversion must be possible. Before the page is created, a test is run to see if all conversions are possible, if not, give an error, and abort.

the url of this page is /#/menu/[id]/shoppinglist

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.