cryptogopher
ab8ed92929
Added MealsController#toggle_exposure
2020-04-25 15:52:35 +02:00
cryptogopher
a4781b4fcd
Renamed: column -> exposure
...
Moved toggle_column_options to body_trackers helper
2020-04-25 15:42:22 +02:00
cryptogopher
1007385e1f
Added eaten_at to Meal form
2020-04-24 16:53:24 +02:00
cryptogopher
3706206191
Update notes in div
2020-04-19 18:16:07 +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
3ff36df168
IngredientsController#index WIP
2020-04-18 01:22:21 +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
9f63c14f8a
Adding MeasurementRoutine selection/editing support
2020-04-02 02:23:53 +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
2efdc08931
Added setting Formula unit in form and when loading defaults
2020-03-25 21:40:24 +01:00
cryptogopher
c262e82c7b
Renamed Ingredient comment -> notes
2020-03-25 00:26:35 +01:00
cryptogopher
c3b783e942
Displaying errors for uncomputable formulas in nutrients view
2020-03-21 00:38:39 +01:00
cryptogopher
2d778c831b
Introduced plugin layout instead of using Redmine ViewListener render_on
2020-02-22 22:39:12 +01:00
cryptogopher
0f8f74ffec
Added zero_nil to Measurement filter formula
2020-02-22 22:14:21 +01:00
cryptogopher
b1e7236460
Added zero_nil to Quantity form and import
2020-02-20 21:55:38 +01:00
cryptogopher
c774f7745d
Add child Quantity action added
2020-02-19 21:24:17 +01:00
cryptogopher
b7b7401833
Updated Quantity to use Formula
...
and upgraded controller actions to match Measurement/Ingredient
2020-02-19 17:57:29 +01:00
cryptogopher
544c0c5293
Updating Quantity to use Formula, WIP
2020-02-17 22:15:30 +01:00
cryptogopher
9803b31f78
Integarted FormulaBuilder into Formula
2020-01-22 22:54:54 +01:00
cryptogopher
e0c08c0e6a
refining complex formulas
2020-01-14 23:33:25 +01:00
cryptogopher
a4ec6a0c12
Added Ingredient editing
...
Improved Ingredient to match Measurement functionality
2019-12-30 23:45:59 +01:00
cryptogopher
cc62ef1002
Added Ingredient comment attribute
...
Minor view updates
2019-12-27 22:40:07 +01:00
cryptogopher
4d48e86728
Added measurement filtering
2019-12-27 21:46:35 +01:00
cryptogopher
0c0ca1d286
Replaced Quantity 'primary' attr with ColumnView model
2019-12-14 23:56:36 +01:00
cryptogopher
925def1674
Displaying readouts is working
2019-12-14 01:25:20 +01:00
cryptogopher
40e9c6f8ae
Added Measurement readouts action
2019-12-08 01:00:54 +01:00
cryptogopher
681c0279fb
Measurement improvements
...
Added 'new' action.
Separated js views for new/create/edit.
Displaying taken_at in local time.
Fixed readout destruction on edit.
2019-12-06 21:48:06 +01:00
cryptogopher
03d3e1e262
Layout updates
2019-12-03 01:21:17 +01:00
cryptogopher
7cb3ac4134
Preliminary Measurement edit/update
2019-12-01 20:02:45 +01:00
cryptogopher
54040a2764
Added setting taken_at in measurement form
...
Changed action toggle -> retake
2019-12-01 01:08:09 +01:00
cryptogopher
fc2db76a3e
Updated Measurement to reflect ReadoutValue removal
2019-11-30 01:01:43 +01:00
cryptogopher
628578cda5
Scoped all controllers inside body_trackers
...
Fixed main menu item highlighting
2019-11-27 22:43:58 +01:00
cryptogopher
158685459d
Unified hash options style
2019-11-27 21:24:49 +01:00
cryptogopher
f6081276f3
Quantity parent options are updated through UJS
2019-11-27 20:43:39 +01:00
cryptogopher
fdfedf3bc9
Added quantity edit form
...
Changed quantity long text field width setting
2019-11-24 01:26:35 +01:00
cryptogopher
8c073494e5
Disallowed moving quantity into parent/child relationship if domains differ
...
Generalized quantity up/down/left/right actions into 'move'
2019-11-22 22:43:11 +01:00
cryptogopher
2ebbe9a306
Added quantity filtering by domain
2019-11-21 01:28:03 +01:00
cryptogopher
d3ba8579d6
Minor locale updates
2019-11-16 19:07:16 +01:00
cryptogopher
a619b74dce
Measurement index/form running
2019-11-16 18:47:53 +01:00
cryptogopher
22aeda720d
Measurement/readouts WIP
2019-11-16 18:39:46 +01:00
cryptogopher
eb379c7835
Added measurement index view
...
Changed locales names from heading_ to link_ where appropriate
2019-11-16 14:44:45 +01:00
cryptogopher
f2fa3db7f7
Added measurements to sidebar
2019-11-16 14:17:55 +01:00
cryptogopher
b617043dd5
Changed quantity domain order
2019-11-15 00:31:41 +01:00
cryptogopher
613c26728c
Removed old (Ripper.lex based) formula validation code
...
Muted multiple 'disallowed' messages for keywords
Removed unnecessary .to_d call in formula computation
2019-11-11 00:01:31 +01:00
cryptogopher
60cfd17c0f
WIP on alternative (sexp) formula parsing
2019-11-10 23:14:36 +01:00
cryptogopher
841fcb2807
Working on formula validation to accomodate functions, WIP
2019-11-10 00:48:54 +01:00
cryptogopher
fce6ee57b0
Quantity formula assignment and validation
2019-11-03 18:35:22 +01:00