1
0

114 Commits

Author SHA1 Message Date
cryptogopher
8cac724694 Test pass: test_reapply_binding_target
Add Targets #reapply action
Explicit params[:date] conversion
2021-04-30 00:49:09 +02:00
cryptogopher
4eda035e47 Test pass: test_destroy
Expand Targets #update success flash and failure handling
Add Target index table checks in modification actions tests
2021-04-29 01:30:13 +02:00
cryptogopher
bbc1467965 Parametrize Target routes with :date 2021-04-25 15:25:41 +02:00
cryptogopher
5ff7d8395a Test pass: test_edit_binding_target 2021-04-24 15:36:22 +02:00
cryptogopher
bea0a8371d WIP Targets #edit/#update
NestedUniqueness properly restores collection.target
2021-04-23 19:19:44 +02:00
cryptogopher
37e3b98788 Improve #create action 2021-04-20 16:57:15 +02:00
cryptogopher
0b9401b089 Proper nested records uniqueness validation
Test pass: test_create_duplicate_for_persisted_target_should_fail
2021-04-19 00:38:28 +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
b742f39c7d Link rearrangement 2021-01-19 09:36:21 +01:00
cryptogopher
503f393f68 Set page title same as heading 2021-01-18 21:38:53 +01:00
cryptogopher
6ba8ad5376 Preliminary Target :edit support 2020-08-25 02:55:21 +02:00
cryptogopher
f9ba308072 Added test_create_binding_target
Goals (incl. binding) are required to have targets
Plugin fixtures are available through accessors
2020-08-20 21:52:18 +02:00
cryptogopher
cf3bbb205d Added Targets index 2020-08-06 21:52:33 +02:00
cryptogopher
ffcc9553d5 Added Target create action 2020-07-25 16:28:55 +02:00
cryptogopher
5b83860ed7 Target form WIP 2020-07-02 18:59:55 +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
6b3714817c Formula reports ambiguous quantity identifiers
Formula returns error.details for Rails 4
Formula distinguishes root path (::Identifier)
Quantity validates name changes against introducing formulas'
ambiguities
2020-06-13 18:18:53 +02:00
cryptogopher
008cfdcd26 Relaxed quantity name uniqueness check 2020-05-28 23:19:59 +02:00
cryptogopher
ffb87a09c4 Error reporting on failed loading of default(s) 2020-05-11 20:46:31 +02:00
cryptogopher
1f5ea1cfb6 compute_quantities: allow indirect associations and model dependencies 2020-05-10 18:06:32 +02:00
cryptogopher
b3f7199f93 Moved adjust from IngredientsController to MealsController 2020-05-02 16:49:54 +02:00
cryptogopher
da11c0f626 Restyled quantity header
Exposure close button removed, toggling only from select
2020-04-29 22:26:48 +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
1007385e1f Added eaten_at to Meal form 2020-04-24 16:53:24 +02:00
cryptogopher
3706206191 Update notes in div 2020-04-19 18:16:07 +02:00
cryptogopher
620d86b18a Updated Meals index 2020-04-19 00:02:39 +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
2efdc08931 Added setting Formula unit in form and when loading defaults 2020-03-25 21:40:24 +01:00
cryptogopher
c262e82c7b Renamed Ingredient comment -> notes 2020-03-25 00:26:35 +01:00
cryptogopher
c3b783e942 Displaying errors for uncomputable formulas in nutrients view 2020-03-21 00:38:39 +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
c774f7745d Add child Quantity action added 2020-02-19 21:24:17 +01:00