1
0

59 Commits

Author SHA1 Message Date
cryptogopher
bea0a8371d WIP Targets #edit/#update
NestedUniqueness properly restores collection.target
2021-04-23 19:19:44 +02:00
cryptogopher
5b73e9e7fd Fix targets#create 2021-03-07 15:07:45 +01:00
cryptogopher
406eabaccc Fix target subtreshold listing
Route targets under goal
2021-03-06 13:00:50 +01:00
cryptogopher
09e27eb754 List binding goal targets 2021-02-21 19:41:24 +01:00
cryptogopher
7f87b3bc84 Add GoalController: #index, #new, #create 2021-02-21 18:10:15 +01:00
cryptogopher
ea308a1e4a WIP: targets forms 2021-02-21 11:33:30 +01:00
cryptogopher
9e3dc24a14 Dynamic thresholds listing in targets form 2021-02-20 13:55:04 +01:00
cryptogopher
8b17b33603 WIP: Targets configurable with Quantities 2021-02-07 11:02:41 +01:00
cryptogopher
cb4c528908 Test pass: test_edit 2021-01-24 15:05:54 +01:00
cryptogopher
7d096748bf Test pass: test_index_options_add_exposure 2021-01-19 18:53:02 +01:00
cryptogopher
6ba8ad5376 Preliminary Target :edit support 2020-08-25 02:55:21 +02:00
cryptogopher
cf3bbb205d Added Targets index 2020-08-06 21:52:33 +02:00
cryptogopher
0df2c6ec4f Preliminary Target #new support 2020-06-27 21:52:32 +02:00
cryptogopher
1dd2e2b596 Added Goal model and preliminary Targets index 2020-06-25 03:56:49 +02:00
cryptogopher
b3f7199f93 Moved adjust from IngredientsController to MealsController 2020-05-02 16:49:54 +02:00
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
3706206191 Update notes in div 2020-04-19 18:16:07 +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
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
a4ec6a0c12 Added Ingredient editing
Improved Ingredient to match Measurement functionality
2019-12-30 23:45:59 +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
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
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
22aeda720d Measurement/readouts WIP 2019-11-16 18:39:46 +01:00
cryptogopher
f2fa3db7f7 Added measurements to sidebar 2019-11-16 14:17:55 +01:00
cryptogopher
1acb72f33d Filtering ingredients by name
Nutrients link in sidebar
2019-11-02 15:32:21 +01:00
cryptogopher
cf9c913897 Toggling quantity primariness from nutrients view 2019-11-01 21:43:56 +01:00
cryptogopher
67efb6c6bc Added Ingredient#toggle and dimming hidden items 2019-10-27 22:18:00 +01: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
0001b56ca6 Added nutrient view on ingredients index
Created custom plugin's stylesheet
2019-09-24 23:41:22 +02:00
cryptogopher
ce9f011694 Added Source perms and routing
Added Quantity displayed defaults
2019-09-23 15:05:26 +02:00