1
0

53 Commits

Author SHA1 Message Date
cryptogopher
4230d72206 compute_quantities now returns single hash
Fixed MeasurementsController view management
2020-04-26 20:21:17 +02:00
cryptogopher
50b89de904 Meals index, WIP 2020-04-18 18:29:53 +02:00
cryptogopher
e78803e474 Added MealsController#new and form autocomplete for Food
Renamed QuantityColumn -> Exposure
2020-04-15 23:42:58 +02:00
cryptogopher
0e8634a3dd Fixed multiple form creation on edit 2020-04-03 21:40:50 +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
f65569528d Added JS layout 2020-02-22 22:51:15 +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
df8703ba3c Updated Formula::calculate to use FormulaBuilder 2020-01-27 00:59:33 +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
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
0c0ca1d286 Replaced Quantity 'primary' attr with ColumnView model 2019-12-14 23:56:36 +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
8c320be1ff Removed link hiding and repositioned buttons on form 2019-11-29 21:58:00 +01:00
cryptogopher
557ccd6164 Added update action 2019-11-28 21:00:14 +01:00
cryptogopher
ffc8dbad8c Added form names and select tag autocomplete off
To make select tags show selected option (FF bug)
https://stackoverflow.com/questions/1479233/why-doesnt-firefox-show-the-correct-default-select-option
2019-11-28 01:26:43 +01:00
cryptogopher
158685459d Unified hash options style 2019-11-27 21:24:49 +01:00
cryptogopher
1982f3b526 Renamed Quantity view: toggle.js => index.js 2019-11-27 20:55:29 +01:00
cryptogopher
ba7631231d Hiding order move links on edit 2019-11-27 20:48:39 +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
6433621fa7 Upgraded defaults import to include future fields by default
Added Quantity index formula checkmark display
2019-11-26 21:47:22 +01:00
cryptogopher
80d49de30e Hiding edit link on edit action 2019-11-26 21:20:06 +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
eb379c7835 Added measurement index view
Changed locales names from heading_ to link_ where appropriate
2019-11-16 14:44:45 +01:00
cryptogopher
fce6ee57b0 Quantity formula assignment and validation 2019-11-03 18:35:22 +01:00
cryptogopher
020c4e30ea Changed showAndScrollTo -> show + focus 2019-11-02 23:53:36 +01:00
cryptogopher
3294689cb4 Added Ingredient visibility filter
Fixed index display (many? -> any? persisted)
2019-11-02 19:30:52 +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
7b46f131c0 Improved Quantity index 2019-10-26 21:10: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
baadd647f8 Quantity destruction destroys dependent
Table data aligned.
Primary quantities highlighted.
2019-10-25 22:46:11 +02:00
cryptogopher
c96cea5ca6 New objects are now created through association
Added Sources to sidebar
2019-09-23 15:35:43 +02:00
cryptogopher
ffd38195a6 Quantity form parent list narrowed to same domain 2019-09-12 23:28:16 +02:00
cryptogopher
ddac5d9aa8 Displaying only quantities for current project 2019-09-08 23:50:22 +02:00