1
0

14 Commits

Author SHA1 Message Date
cryptogopher
503f393f68 Set page title same as heading 2021-01-18 21:38:53 +01:00
cryptogopher
f9ba308072 Added test_create_binding_target
Goals (incl. binding) are required to have targets
Plugin fixtures are available through accessors
2020-08-20 21:52:18 +02:00
cryptogopher
0df2c6ec4f Preliminary Target #new support 2020-06-27 21:52:32 +02:00
cryptogopher
356e264c51 Cleaned up nutrients index table 2020-06-02 23:12:50 +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
3418af87c1 Displaying quantities with fixed precision/MFU unit removed 2020-04-28 16:05:42 +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
c029ba59c2 Fixed saving Meal exposures
According to:
https://stackoverflow.com/questions/34328735/imageable-type-is-not-setting-for-polymorphic-associations
and
https://stackoverflow.com/questions/2494452/rails-polymorphic-association-with-multiple-associations-on-the-same-model
2020-04-25 18:07:58 +02:00
cryptogopher
a4781b4fcd Renamed: column -> exposure
Moved toggle_column_options to body_trackers helper
2020-04-25 15:42:22 +02:00
cryptogopher
dfeb9af6db Added Meal edit/update 2020-04-20 22:56:05 +02:00
cryptogopher
eb939a1be5 Sending Food id from autocomplete on Meal create 2020-04-16 19:09:24 +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