1
0

125 Commits

Author SHA1 Message Date
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
fc2db76a3e Updated Measurement to reflect ReadoutValue removal 2019-11-30 01:01:43 +01:00
cryptogopher
0531fe38be Measurements controller fixes 2019-11-29 20:51:01 +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
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
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
22aeda720d Measurement/readouts WIP 2019-11-16 18:39:46 +01:00
cryptogopher
b7b0f7634e Added MeasurementsController
command:
rails generate redmine_plugin_controller body_tracking measurements
index create destroy
2019-11-16 14:18:34 +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
67b0cd9b66 Unevaluable formulas return nil (instead of throwing error)
Filter formula errors are shown in filter view
2019-11-09 20:36:10 +01:00
cryptogopher
70b6e97b87 Filtering ingredients by formula working 2019-11-08 23:42:41 +01:00
cryptogopher
78cf471ecd Preliminary support for comparison formula 2019-11-07 19:55:16 +01:00
cryptogopher
8bad0b0b0f Fixed nutrients listing for absent quantity 2019-11-07 00:03:33 +01:00
cryptogopher
5c8b7e0def Displaying computed nutrients 2019-11-06 21:26:33 +01:00
cryptogopher
eff672318b Quantity computing from formula looks done, savepoint 2019-11-06 15:59:39 +01:00
cryptogopher
d70a17f58b Preliminary nutrient computation from formulas 2019-11-05 16:02:53 +01:00
cryptogopher
dd6b21d834 Simplified ingredient list preparation 2019-11-04 20:48:12 +01:00
cryptogopher
fce6ee57b0 Quantity formula assignment and validation 2019-11-03 18:35:22 +01:00
cryptogopher
3294689cb4 Added Ingredient visibility filter
Fixed index display (many? -> any? persisted)
2019-11-02 19:30:52 +01:00
cryptogopher
05c79782f5 Ingredient create/import redirect to proper page 2019-11-02 18:53:46 +01:00
cryptogopher
3689abb1dc Changed Ingredient#destroy to ajax 2019-11-02 18:50:14 +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
2f0b34d3fe Extra nutrients are displayed in table cells
Fixed column widths with content ellipsizing
2019-10-31 15:28:32 +01:00
cryptogopher
6f9e8926d7 Nutrients list expandable, displays description 2019-10-28 22:08:05 +01:00
cryptogopher
c4e89def0a Created common contextual menu for ingredient/nutrients views
Restored sidebar for nutrients view
2019-10-28 19:51:46 +01:00
cryptogopher
67efb6c6bc Added Ingredient#toggle and dimming hidden items 2019-10-27 22:18:00 +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
c0e3fd2e85 Changed Quantity.displayed -> Quantity.primary 2019-10-22 23:19:58 +02:00
cryptogopher
0001b56ca6 Added nutrient view on ingredients index
Created custom plugin's stylesheet
2019-09-24 23:41:22 +02:00
cryptogopher
9664df4888 Added ingredient source setting/display/import 2019-09-23 22:33:40 +02:00
cryptogopher
0e6bbd8c74 Added loading default sources 2019-09-23 21:55:04 +02:00
cryptogopher
593e11ff53 Finished Sources implementation 2019-09-23 20:13:09 +02:00
cryptogopher
35f8ec4b2c Finished Source controller 2019-09-23 15:40:15 +02:00
cryptogopher
c96cea5ca6 New objects are now created through association
Added Sources to sidebar
2019-09-23 15:35:43 +02:00
cryptogopher
0b549b909a Added Sources model + controller
commands:
rails generate redmine_plugin_model body_tracking source
project:references name:string description:text
rails generate redmine_plugin_controller body_tracking sources index
create destroy
2019-09-23 14:45:13 +02:00
cryptogopher
9cbd540c43 Defaults/import fixes and ingredients sorting 2019-09-23 00:15:40 +02:00
cryptogopher
3ebc2f58d0 Finished CSV import
Fixed problem with excessive validation
2019-09-22 20:26:07 +02:00