Git Product home page Git Product logo

beast's Introduction

beast's People

Contributors

docondev avatar

Watchers

 avatar  avatar

beast's Issues

Introduce Recipes

A recipe is a combination of foods (or one food) that consists of one or more food_group value

recipe id:integer name:string description:text web_page:string quantity:decimal unit:string

NOTE: we will use the ruby-measurement gem for unit handling

Example => Measurement.parse('fl oz').unit.conversions gives all possible units of measure compatible with fluid ounces. When you enter a recipe, we can ask for a quantity and unit of measure and then use that to calculate a ratio to apply to the intakes.

need a join table for recipes to food_groups:

recipe_ id:integer recipe_id:integer food_group_id:integer quantity:decimal

Move Journal Navigation to top of page

The journal navigation is currently at top of the entries list.

Move it to the top of the page where it is more prominent and clearly for the entire page.

Ability to add recipe item to a log

Put a "Log" button on each recipe item; take you to screen to add the date and serving size.

Serving size units are based on convertible units for the recipe unit.

Figure out meal serving size to recipe serving size and create entry records with appropriate portions. Use recipe name as Entry description.

Highlight search term in recipe description

Highlight the search terms in the recipe description on search

Thinking here is a description that looks something like:

... some words with [matching words] highlighted ...

Remove "Log a Food"

Make the Journal menu a single item.

There is no need for the log a food button given all "big buttons" allow for specific entry.

Home page work for users without an active diet

Current home page fails to display properly when the user does not have an active diet. All new users have no active diet. So currently all new users are getting a 500 error on the home page.

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.