Code Monkey home page Code Monkey logo

mealcurator's People

Contributors

embot2000 avatar itsmohamedyahia avatar jtweeder avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mealcurator's Issues

Minor Issue -- Fix Title in AI Preview Page

Currently the title of the recipe does not show up on the preview pane. This is due to the fact that the preview uses title and body separately, where the non-preview views uses the Django object fields directly.

Need to see if we can either directly use the objects in the preview context. Not sure if an object is made at that point, or wrap the areas needed with ifelse tags.

Minor because once the recipe is made it then has a title.

Create normalization dictionary

Create a dictionary look up in helper functions that can be used to handle normalization of items that have different names but are the same thing on a list.

Ex:
Input of 'Onion' = Should mean entry of 'Yellow Onion'

item = meal_item.objects.get(item_name=sent_item)

Graceful handling of recipe submission failures

Currently when a recipe submission fails the user does not know. Need to handle that more gracefully.

Proposed rough idea:

  1. Create success/failure message from submission
  2. Return to submission screen with message at the top
  3. Create admin view that can see failed submissions to allow manual creation

Error when deleting integer from list creation

Error occurs when a users deletes the integer default of 0 and puts in a fractional measurement only.

TODO: Check for null/non-entry and default to zero if a fractional measurement was provided.

Deleting a meal from a plan does not remove it from item list

When some one removes a meal from their meal plan, the meal is retained in the list builder and all list objects.

TODO: Create deletion of the meal from the meal plan list with all the items so it will not be retained if a person deletes a meal.

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.