MichielProost / Perfect-Plate

This Android application allows cheffs around the world to create, review and discover new recipes. Users can gain experience and level up in this app by completing challenges like creating a certain amount of recipes.
1 stars 2 forks source link

Save the Ingredients of a Recipe to the "Shopping List" #29

Open MichielProost opened 3 years ago

MichielProost commented 3 years ago

I would like your opinion @Nuytemans-Dieter !

In the recipe widget, there is a button next to the ingredient list, named "Save to Shopping List". Somewhere in the UI, the user can open this list and cross of ingredients while shopping.

e.g. 2 tomatos, one sausage, cottage cheese

I have yet to find Recipe Apps that do this. I think it would be a cool feature!

Nuytemans-Dieter commented 3 years ago

Definitely a cool feature and not too hard to implement. Not sure about the best place to put a 'save to shopping list'-button (using not too much space but still having an obvious presence without disrupting the recipe view). I feel like the list itself could best be placed in the side menu though.

Should we store these locally? So it requires no reads?

MichielProost commented 3 years ago

Storing them locally but be best. Unfortunately, this would also mean that the user can't close the app after adding ingredients to his / her list. I'll think about this. I'll keep you posted.

Nuytemans-Dieter commented 3 years ago

Storing them locally but be best. Unfortunately, this would also mean that the user can't close the app after adding ingredients to his / her list. I'll think about this. I'll keep you posted.

We could save the ingredients to a file. Storing locally doesn't just have to be in RAM, it can be on 'disk' as well.