1
0

24 Commits

Author SHA1 Message Date
cryptogopher
2a8f60be36 Flashing through #now on AJAX actions 2020-09-05 21:56:05 +02:00
cryptogopher
a416e1ce9b Fixed importing Foods with QuantityValue
Fixed double flash when not followed by request
Added Food#destroy error reporting
Simplified prepare_meals with no ingredients
Renamed scope on item with subitems: subitems -> with_subitems
2020-05-20 23:33:34 +02:00
cryptogopher
1f5ea1cfb6 compute_quantities: allow indirect associations and model dependencies 2020-05-10 18:06:32 +02:00
cryptogopher
b3f7199f93 Moved adjust from IngredientsController to MealsController 2020-05-02 16:49:54 +02:00
cryptogopher
f6a7f0219e Summarizing nutrients + displaying meal summary 2020-05-01 18:34:40 +02:00
cryptogopher
e74c707729 Displaying amount column in same format as quantities 2020-04-29 23:12:59 +02:00
cryptogopher
da11c0f626 Restyled quantity header
Exposure close button removed, toggling only from select
2020-04-29 22:26:48 +02:00
cryptogopher
3418af87c1 Displaying quantities with fixed precision/MFU unit removed 2020-04-28 16:05:42 +02:00
cryptogopher
dfa20a55d1 Displaying quantities in MEals index, WIP 2020-04-27 18:15:40 +02:00
cryptogopher
4230d72206 compute_quantities now returns single hash
Fixed MeasurementsController view management
2020-04-26 20:21:17 +02:00
cryptogopher
c24bdd6f45 Renamed: formula_q -> filter_q
Added Meal related associations to Project
2020-04-25 22:49:48 +02:00
cryptogopher
ab8ed92929 Added MealsController#toggle_exposure 2020-04-25 15:52:35 +02:00
cryptogopher
5ab17cf69b Added MealsController#destroy 2020-04-24 00:54:32 +02:00
cryptogopher
dfeb9af6db Added Meal edit/update 2020-04-20 22:56:05 +02:00
cryptogopher
66cd7926e8 Added adjusting ingredient amount 2020-04-19 21:50:59 +02:00
cryptogopher
03d0a56474 Moved notes form from div to td 2020-04-19 21:34:24 +02:00
cryptogopher
3706206191 Update notes in div 2020-04-19 18:16:07 +02:00
cryptogopher
e659ecc760 Added MealsController#toggle_eaten 2020-04-19 16:03:03 +02:00
cryptogopher
620d86b18a Updated Meals index 2020-04-19 00:02:39 +02:00
cryptogopher
50b89de904 Meals index, WIP 2020-04-18 18:29:53 +02:00
cryptogopher
ed6b1b9fe7 Preliminary MealsController#create 2020-04-16 22:02:53 +02:00
cryptogopher
e78803e474 Added MealsController#new and form autocomplete for Food
Renamed QuantityColumn -> Exposure
2020-04-15 23:42:58 +02:00
cryptogopher
8e8160c41a Renamed Ingredient -> Food
Ingredient is now part of composition (meal/recipe/dish)
2020-04-14 19:44:19 +02:00
cryptogopher
c3010a70e8 Adding Meals, WIP 2020-04-13 15:36:59 +02:00