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
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
c15048f5ea
Fixed editing last index item
2020-02-20 21:17:55 +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
4e537f3981
Moved Formula to separate model
2020-02-16 18:34:07 +01:00
cryptogopher
aa26e66312
Fixed calculation for indexed formulas
...
Delegated Quantity formula calls
2020-02-04 00:13:49 +01:00
cryptogopher
df8703ba3c
Updated Formula::calculate to use FormulaBuilder
2020-01-27 00:59:33 +01:00
cryptogopher
b437bee18b
Optimized formula computation to run 'eval' once
2020-01-11 23:49:30 +01:00
cryptogopher
a4ec6a0c12
Added Ingredient editing
...
Improved Ingredient to match Measurement functionality
2019-12-30 23:45:59 +01:00
cryptogopher
20deb944c3
Updated Ingredients to use ItemsWithQuantities
2019-12-29 15:12:05 +01:00
cryptogopher
61bd34fdc5
Moved sidebar rendering to layout
2019-12-27 23:54:27 +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
056d3b150d
Removed Measurement 'hidden' attribute
2019-12-27 01:48:22 +01:00
cryptogopher
2dcc750355
Improved measurements listing
2019-12-27 01:46:09 +01:00
cryptogopher
2171c69822
Quantity index stares quantities included in columnview
2019-12-27 01:36:30 +01:00
cryptogopher
a1bdbb7dc7
Changed css classess names to reflect funcionality
2019-12-27 00:26:58 +01:00
cryptogopher
751da2f0df
Added closable/un-/shrinkable css classes for table column styling
2019-12-26 22:46:41 +01:00
cryptogopher
ea8c70e1c0
Added seeding for nutrients/readouts column views
2019-12-26 22:18:43 +01:00
cryptogopher
c854fc535b
Fixed edit form row colspan
2019-12-26 20:16:35 +01:00
cryptogopher
e36e667ead
Moved flash messages display to partial
2019-12-26 20:00:52 +01:00
cryptogopher
79c30be601
Merged measurement and readout views
2019-12-26 19:51:32 +01:00
cryptogopher
c1f26e9bf0
Updated create/edit/destroy to work in readouts view
2019-12-26 19:34:16 +01:00
cryptogopher
e7edfb465f
Readouts table improvements
2019-12-23 15:17:26 +01:00
cryptogopher
df15ae746c
Added action links to readouts view
2019-12-21 18:25:02 +01:00
cryptogopher
b6dbf369d1
Measurement index improvements
2019-12-21 18:01:46 +01:00
cryptogopher
d6b3fe3f60
Simplified display of readout extended row
2019-12-21 17:21:47 +01:00
cryptogopher
530dba0612
ColumnView fixes
2019-12-21 12:18:31 +01:00
cryptogopher
0c0ca1d286
Replaced Quantity 'primary' attr with ColumnView model
2019-12-14 23:56:36 +01:00
cryptogopher
ccf26d1830
Added ColumnView model
...
cmd:
rails generate redmine_plugin_model body_tracking column_view
project:references name:string domain:integer
rails generate migration CreateQuantitiesColumnViews quantity:references
column_view:references
2019-12-14 19:48:52 +01:00