cryptogopher
5e3322fe96
Removed quantity uniqueness validation
2020-04-25 01:08:33 +02:00
cryptogopher
1007385e1f
Added eaten_at to Meal form
2020-04-24 16:53:24 +02:00
cryptogopher
cdd7107567
Rearranged Meals index columns
2020-04-24 15:36:16 +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
6b5cb85b11
Buttons/amount in separate columns
2020-04-20 22:07:10 +02:00
cryptogopher
baaefb2b68
Proper sorting of meals, index
2020-04-20 21:43:12 +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
923df9c8b2
Visual changes
2020-04-18 20:36:09 +02:00
cryptogopher
50b89de904
Meals index, WIP
2020-04-18 18:29:53 +02:00
cryptogopher
3ff36df168
IngredientsController#index WIP
2020-04-18 01:22:21 +02:00
cryptogopher
ed6b1b9fe7
Preliminary MealsController#create
2020-04-16 22:02:53 +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
cryptogopher
c3010a70e8
Adding Meals, WIP
2020-04-13 15:36:59 +02:00
cryptogopher
ced06a25bc
Added :meals and :compositions_ingredients tables
...
Changed Column -> QuantityColumn
Updated :ingredients table to handle recipes
2020-04-13 01:11:34 +02:00
cryptogopher
dbb8bdc62e
Fixed formatting of routine description
2020-04-11 23:18:38 +02:00
cryptogopher
40d6a3a3f0
Displaying Measurement notes
2020-04-04 02:41:46 +02:00
cryptogopher
1b6905d105
Form improvements
2020-04-04 02:37:37 +02:00
cryptogopher
f00f93c9e9
View tracking through params in Ingredients
...
Squeezed ingredient form
2020-04-04 02:13:46 +02:00
cryptogopher
738161fc43
Squeezed time and source in 1 line
2020-04-03 23:55:39 +02:00
cryptogopher
90a8c263f5
Fixed labels in MeasurementRoutine form
2020-04-03 23:51:56 +02:00
cryptogopher
a7b003dc6f
Reload readouts on current readout name change
2020-04-03 22:11:23 +02:00
cryptogopher
0e8634a3dd
Fixed multiple form creation on edit
2020-04-03 21:40:50 +02:00
cryptogopher
14f4c063de
Fixed creating/updating with MeasurementRoutine
...
Updated Measurement links with :view
2020-04-03 18:34:39 +02:00
cryptogopher
9f63c14f8a
Adding MeasurementRoutine selection/editing support
2020-04-02 02:23:53 +02:00
cryptogopher
0c724ed63f
Moved tracking of view state from session to params
2020-03-29 18:52:30 +02:00
cryptogopher
18419f1aeb
Added MeasurementRoutine as a nested Measurement model
...
Updated ItemsWithQuantities to work with MeasurementRoutine
Replaced ColumnViews HABTM with polymorphic HMT
Added Measurement notes
Added destroy restrictions on Quantity
Replaced BodyTrackingPluginController with Finders concern
Removed 'body_trackers' prefix from paths
Unified styling for textarea
2020-03-29 00:56:37 +01:00
cryptogopher
e7a33c684f
Dispplaying units of computed values
...
Fixed formula error messages display when filter formula not given
2020-03-25 23:07:59 +01:00
cryptogopher
2efdc08931
Added setting Formula unit in form and when loading defaults
2020-03-25 21:40:24 +01:00
cryptogopher
031b857925
Added reference to Unit in Formula
...
Updated defaults identifiers and units in default formulas
2020-03-25 17:57:49 +01:00
cryptogopher
c262e82c7b
Renamed Ingredient comment -> notes
2020-03-25 00:26:35 +01:00
cryptogopher
08860cbfab
Query optimizations
2020-03-24 22:16:27 +01:00
cryptogopher
63370ccc1a
Fixed filter zero_nil default
2020-03-24 22:04:34 +01:00
cryptogopher
6919f9910c
Changed indexing from q_name -> q in compute
2020-03-24 21:59:57 +01:00
cryptogopher
cfe225c014
Filters zero_nil setting and computing fixed
2020-03-24 01:54:26 +01:00
cryptogopher
08ac719566
Fixes after introducing Formula model
2020-03-24 00:53:02 +01:00
cryptogopher
de395ad1e0
Displaying filter formula errors
2020-03-22 01:10:14 +01:00
cryptogopher
10325c9c39
Added zero_nil to Ingredients filter formula
...
Displaying formulas errors for Nutrients view
Substituted onblur for Ingredients filters with hidden submit
2020-03-22 01:02:37 +01:00
cryptogopher
c3b783e942
Displaying errors for uncomputable formulas in nutrients view
2020-03-21 00:38:39 +01:00
cryptogopher
9a79e8fa55
Making Formula#calculate public
2020-03-20 00:57:20 +01:00
cryptogopher
5e0e32a855
Optimized out 1 query for Quantity index
2020-03-10 23:17:44 +01:00
cryptogopher
503266d546
Repositioned filters zero_nil checkbox
2020-02-23 01:31:38 +01:00
cryptogopher
f65569528d
Added JS layout
2020-02-22 22:51:15 +01:00
cryptogopher
2d778c831b
Introduced plugin layout instead of using Redmine ViewListener render_on
2020-02-22 22:39:12 +01:00