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
d4398e5b75
Split test_edit_binding_target & test_update_binding_target
2021-04-24 21:40:48 +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
1b634dea2b
Test pass: test_create_duplicated_targets_should_fail
2021-04-19 23:26:52 +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
8bd102f8de
Test pass: test_new, test_new_cancel
2021-01-21 18:09:40 +01:00
cryptogopher
80b10d108a
Test pass: test_index_table_header_close_exposure
...
Allow closing last quantity column
2021-01-21 11:17:51 +01:00
cryptogopher
a29eba9861
Togglable quantities in table header
2021-01-21 10:28:49 +01:00
cryptogopher
53e8db20d1
Fix quantity header borders
2021-01-20 11:27:10 +01:00
cryptogopher
7d096748bf
Test pass: test_index_options_add_exposure
2021-01-19 18:53:02 +01:00
cryptogopher
bd9b5f04f4
Restore Redmine default table header
2021-01-19 11:27: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
8d4e5215b3
Changed params [:goal][:id] -> [:goal_id]
2020-08-24 22:09:52 +02:00
cryptogopher
c2055c4eb4
Replaced #current_goal with @goal
2020-08-24 22:09:04 +02:00
cryptogopher
7e8508f9d4
Targets form allows only targets within one Goal
2020-08-24 15:33:17 +02:00
cryptogopher
8f0e718b4a
Test refinements
2020-08-22 16:28:12 +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
59a14043c8
Added is_binding attribute to Goal
...
Fixed test_index to check for data rows only
2020-08-18 17:40:46 +02:00
cryptogopher
c79e03d0f4
Removed unused partials
2020-08-06 21:56:44 +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
356e264c51
Cleaned up nutrients index table
2020-06-02 23:12:50 +02:00
cryptogopher
2216cea6d5
Displaying heirarchical quantity headers
2020-05-24 18:57:10 +02:00
cryptogopher
a416e1ce9b
Fixed importing Foods with QuantityValue
...
Fixed double flash when not followed by request
Added Food#destroy error reporting
Simplified prepare_meals with no ingredients
Renamed scope on item with subitems: subitems -> with_subitems
2020-05-20 23:33:34 +02:00
cryptogopher
1f5ea1cfb6
compute_quantities: allow indirect associations and model dependencies
2020-05-10 18:06:32 +02:00
cryptogopher
85ec7efa16
Removed some table borders
2020-05-02 17:44:50 +02:00
cryptogopher
b3f7199f93
Moved adjust from IngredientsController to MealsController
2020-05-02 16:49:54 +02:00
cryptogopher
4397249fa9
Separated show for date/meal/ingredient
2020-05-02 15:47:08 +02:00
cryptogopher
3ac73ac3a8
Style changes
2020-05-02 15:17:21 +02:00
cryptogopher
1734910d10
Styling changes
2020-05-02 14:50:42 +02:00
cryptogopher
54fc7ecf7e
Coloring index summaries
2020-05-01 23:44:37 +02:00
cryptogopher
dafebdc529
Displaying date summary
2020-05-01 18:45:22 +02:00
cryptogopher
f6a7f0219e
Summarizing nutrients + displaying meal summary
2020-05-01 18:34:40 +02:00
cryptogopher
9ccd41b422
Styles adjustments
2020-04-30 18:50:28 +02:00
cryptogopher
e74c707729
Displaying amount column in same format as quantities
2020-04-29 23:12:59 +02:00