GithubHelp home page GithubHelp logo

rosa's People

Contributors

pilipo avatar

Watchers

 avatar  avatar

rosa's Issues

Add images to the recipe object

Needs a default/placeholder image.
Eventually this will serve to hold pics of the recipe taken via phone and saved to the app.

Performance Caution

user = (uid) => this.db.ref(`users/${uid}`);

โ˜๏ธ This line triggers the caution Use of navigator.sendBeacon instead of synchronous XMLHttpRequest during unload and pagehide improves user experience. in my console. If I comment it out, the caution goes away.

Interestingly, line 30 users = () => this.db.ref('users'); does NOT trigger the caution.

I do not know what causes this.

General tidy

Refactor the components, helpers, and render()'s to be easier to read and more consistent with on another

Attach method objects to recipe objects

This should include

  • adding and deleting the relationshipData objects
  • tying into the existing modals
  • listening for keystrokes

A lot (all?) of the functionality exists in the ingredient object

Create the shopping list

Ingredients from all recipes on the list compiled into a list check list divided by grocery aisle/section. This list should store in the database referencing the user that created it. This way each user gets ONE list. Checking all the items off your list "completes" it and deletes it.

When a user checks an item from the list, it is hidden after a 3 sec delay. Hidden items can be restored.

Clear unused components

There is a lot of bloat from trial runs and testing ideas. I want to cull the meet bits back and get a clear picture of used components moving forward.

Ingredient Sections

Add "section" field to ingredient modal. This refers to the grocery store aisle/section.

Recipe Categories

  • Breakfast
  • Lunch
  • Dinner
  • Snack
  • Other

This will be used to order the listing of recipes

createRecipe scrolls on iOS soft keyboard popup

Possible solution?

$(document).ready(function(){
    $('input').bind('focus',function() {
        $(window).scrollTop(10);
        var keyboard_shown = $(window).scrollTop() > 0;
        $(window).scrollTop(0);

        $('#test').append(keyboard_shown?'keyboard ':'nokeyboard ');
    });
});

Recipe modal update

Recipe needs a new modal for view-only. This should have buttons for delete, edit, and "add to menu/shopping list"

create section database helper

New field needs new helps as well as a new relationship helper. Also the delete routines will need to account for this addition.

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.