1
0

300 Commits

Author SHA1 Message Date
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
98207fc980 Added Formula test vectors
Improved FormulaBuilder based on vectors
2020-01-25 21:51:03 +01:00
cryptogopher
ba4c98e213 Added Formula unit test 2020-01-24 01:05:59 +01:00
cryptogopher
8d0f6eec81 Moved FormulaBuilder to Formula module 2020-01-24 00:17:00 +01:00
cryptogopher
9803b31f78 Integarted FormulaBuilder into Formula 2020-01-22 22:54:54 +01:00
cryptogopher
b8a09b10ff Changed: params -> quantities 2020-01-18 20:35:22 +01:00
cryptogopher
8e362ade79 Method type distinction: numeric/quantity 2020-01-18 20:06:16 +01:00
cryptogopher
6ce02ba05a Added quantity recognition from strings and vcalls 2020-01-15 00:21:10 +01:00
cryptogopher
e0c08c0e6a refining complex formulas 2020-01-14 23:33:25 +01:00
cryptogopher
5fda938663 Experimental support for quantity methods in formulas 2020-01-14 01:07:10 +01:00
cryptogopher
80dac0dc9d Updated energy formula to accept nils 2020-01-12 00:00:03 +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
cryptogopher
925def1674 Displaying readouts is working 2019-12-14 01:25:20 +01:00
cryptogopher
96fe7db39d Moved filter/compute to separate module
Converting it to model independent code, WIP
2019-12-12 00:13:30 +01:00
cryptogopher
98564be4b5 Displaying Measurement readouts, WIP 2019-12-10 20:37:36 +01:00
cryptogopher
40e9c6f8ae Added Measurement readouts action 2019-12-08 01:00:54 +01:00
cryptogopher
9268b2dcc1 Narrowed date column 2019-12-07 00:50:07 +01:00
cryptogopher
e7ede4cce6 Implemented retake, changed default ordering to taken_at 2019-12-06 23:35:49 +01:00
cryptogopher
df5fb71e10 Added separate destroy view 2019-12-06 23:12:39 +01:00
cryptogopher
32ad182870 Edit/update improvements 2019-12-06 23:02:02 +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
65d811d9fb Input numbers right aligned 2019-12-05 01:14:12 +01:00