1
0

35 Commits

Author SHA1 Message Date
cryptogopher
ba634eb516 Fixed deletion of quantity formula 2020-05-29 00:10:05 +02:00
cryptogopher
8749710330 Formula can contain model method calls 2020-05-05 01:52:34 +02:00
cryptogopher
e78803e474 Added MealsController#new and form autocomplete for Food
Renamed QuantityColumn -> Exposure
2020-04-15 23:42:58 +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
5e0e32a855 Optimized out 1 query for Quantity index 2020-03-10 23:17:44 +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
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
2171c69822 Quantity index stares quantities included in columnview 2019-12-27 01:36:30 +01:00
cryptogopher
0c0ca1d286 Replaced Quantity 'primary' attr with ColumnView model 2019-12-14 23:56:36 +01:00
cryptogopher
557ccd6164 Added update action 2019-11-28 21:00:14 +01:00
cryptogopher
628578cda5 Scoped all controllers inside body_trackers
Fixed main menu item highlighting
2019-11-27 22:43:58 +01:00
cryptogopher
1982f3b526 Renamed Quantity view: toggle.js => index.js 2019-11-27 20:55:29 +01:00
cryptogopher
f6081276f3 Quantity parent options are updated through UJS 2019-11-27 20:43:39 +01:00
cryptogopher
6e335c243a Fixed Quantity parent list display for new/edit forms 2019-11-27 16:20:53 +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
0820a90897 Setting default quantity domain in form 2019-11-21 23:18:45 +01:00
cryptogopher
2ebbe9a306 Added quantity filtering by domain 2019-11-21 01:28:03 +01:00
cryptogopher
3ce5d5c940 Fix migration of default quantities
Allow Quantity formula to be nil but not blank
Add computed energy quantity
Reverse default quantities deletion order
2019-11-15 00:04:34 +01:00
cryptogopher
fce6ee57b0 Quantity formula assignment and validation 2019-11-03 18:35:22 +01:00
cryptogopher
cf9c913897 Toggling quantity primariness from nutrients view 2019-11-01 21:43:56 +01:00
cryptogopher
3cec0847df Quantity#destroy changed to AJAX 2019-10-27 20:05:57 +01:00
cryptogopher
daf0bd421e Running Quantity#toggle/up/down/left/right through AJAX 2019-10-27 19:29:12 +01:00
cryptogopher
26f653819d Added Quantity.primary to form
Fixed setting parent on Quantity form
2019-10-26 21:48:52 +02:00
cryptogopher
745d6de42b Added Quantity ordering
Some table columns made unwrappable
2019-10-26 21:00:37 +02:00
cryptogopher
2176ef77f3 Added toggling Quantity primary-ness 2019-10-26 01:03:06 +02:00
cryptogopher
c96cea5ca6 New objects are now created through association
Added Sources to sidebar
2019-09-23 15:35:43 +02:00
cryptogopher
ddac5d9aa8 Displaying only quantities for current project 2019-09-08 23:50:22 +02:00
cryptogopher
b31ab9d16a Added Quantity nesting with awesome_nested_set 2019-09-08 20:00:35 +02:00
cryptogopher
54ab1c60dc Implemented Quantity 2019-08-23 17:06:09 +02:00
cryptogopher
9a34cc0b95 Added Quantities model and controller
commands:
rails generate redmine_plugin_model body_tracking quantity
rails generate redmine_plugin_controller body_tracking quantities index
create destroy
2019-08-23 00:01:10 +02:00