1
0

70 Commits

Author SHA1 Message Date
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
a619b74dce Measurement index/form running 2019-11-16 18:47:53 +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
b7b0f7634e Added MeasurementsController
command:
rails generate redmine_plugin_controller body_tracking measurements
index create destroy
2019-11-16 14:18:34 +01:00
cryptogopher
f2fa3db7f7 Added measurements to sidebar 2019-11-16 14:17:55 +01:00
cryptogopher
fd11198446 Fixed fieldset toggling 2019-11-11 15:21:05 +01:00
cryptogopher
7032bd4fb0 Moved filters ouside of ingredient table, so they are always visible 2019-11-10 23:26:32 +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
4ab24aa223 Nutrient filter input resized to remaining width 2019-11-08 16:36:34 +01:00
cryptogopher
884f7b2366 Added ingredient filter by nutrients field 2019-11-07 16:25:42 +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
fce6ee57b0 Quantity formula assignment and validation 2019-11-03 18:35:22 +01:00
cryptogopher
fd24bced60 Changed action column width 2019-11-02 23:59:19 +01:00
cryptogopher
020c4e30ea Changed showAndScrollTo -> show + focus 2019-11-02 23:53:36 +01:00
cryptogopher
31518660c8 Added auto submit on name filter focus lost 2019-11-02 19:39:47 +01:00
cryptogopher
3294689cb4 Added Ingredient visibility filter
Fixed index display (many? -> any? persisted)
2019-11-02 19:30:52 +01:00
cryptogopher
3689abb1dc Changed Ingredient#destroy to ajax 2019-11-02 18:50:14 +01:00
cryptogopher
c7c39be017 Filter form resetting 2019-11-02 16:52:35 +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
09c441f662 Moved expand action from icon to TD 2019-10-31 23:42:48 +01:00
cryptogopher
611b2b799d Removed rowspans 2019-10-31 23:08:04 +01:00
cryptogopher
526a4b1fe6 Better expanding of extra nutrients 2019-10-31 23:00:40 +01:00
cryptogopher
fcec8364bc Extra quantities styling in Nutrients listing
Fixed decimal precision/scale
2019-10-31 22:13:39 +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
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
9578de8287 Disabled sidebar for ingredient nutrient list view 2019-09-28 18:02:57 +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
593e11ff53 Finished Sources implementation 2019-09-23 20:13:09 +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
2e9d353935 Changes in ingredients index 2019-09-23 00:24:58 +02:00
cryptogopher
b69bdd6049 Added Ingredients import action 2019-09-15 22:27:54 +02:00
cryptogopher
893e2646d0 Finished Ingredient#create validations 2019-09-15 18:53:00 +02:00
cryptogopher
0dcb13a065 Started Ingredient#create 2019-09-14 23:00:31 +02:00
cryptogopher
faef248449 Adding/deleting nutrients on ingredient form working 2019-09-14 19:15:56 +02:00