1
0

63 Commits

Author SHA1 Message Date
cryptogopher
66cd7926e8 Added adjusting ingredient amount 2020-04-19 21:50:59 +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
f00f93c9e9 View tracking through params in Ingredients
Squeezed ingredient form
2020-04-04 02:13:46 +02:00
cryptogopher
0e8634a3dd Fixed multiple form creation on edit 2020-04-03 21:40:50 +02:00
cryptogopher
e7a33c684f Dispplaying units of computed values
Fixed formula error messages display when filter formula not given
2020-03-25 23:07:59 +01:00
cryptogopher
c262e82c7b Renamed Ingredient comment -> notes 2020-03-25 00:26:35 +01:00
cryptogopher
63370ccc1a Fixed filter zero_nil default 2020-03-24 22:04:34 +01:00
cryptogopher
6919f9910c Changed indexing from q_name -> q in compute 2020-03-24 21:59:57 +01:00
cryptogopher
cfe225c014 Filters zero_nil setting and computing fixed 2020-03-24 01:54:26 +01:00
cryptogopher
de395ad1e0 Displaying filter formula errors 2020-03-22 01:10:14 +01:00
cryptogopher
10325c9c39 Added zero_nil to Ingredients filter formula
Displaying formulas errors for Nutrients view
Substituted onblur for Ingredients filters with hidden submit
2020-03-22 01:02:37 +01:00
cryptogopher
c3b783e942 Displaying errors for uncomputable formulas in nutrients view 2020-03-21 00:38:39 +01:00
cryptogopher
f65569528d Added JS layout 2020-02-22 22:51:15 +01:00
cryptogopher
c15048f5ea Fixed editing last index item 2020-02-20 21:17:55 +01:00
cryptogopher
a4ec6a0c12 Added Ingredient editing
Improved Ingredient to match Measurement functionality
2019-12-30 23:45:59 +01:00
cryptogopher
20deb944c3 Updated Ingredients to use ItemsWithQuantities 2019-12-29 15:12:05 +01:00
cryptogopher
61bd34fdc5 Moved sidebar rendering to layout 2019-12-27 23:54:27 +01:00
cryptogopher
cc62ef1002 Added Ingredient comment attribute
Minor view updates
2019-12-27 22:40:07 +01:00
cryptogopher
530dba0612 ColumnView fixes 2019-12-21 12:18:31 +01:00
cryptogopher
0c0ca1d286 Replaced Quantity 'primary' attr with ColumnView model 2019-12-14 23:56:36 +01:00
cryptogopher
fc2db76a3e Updated Measurement to reflect ReadoutValue removal 2019-11-30 01:01:43 +01:00
cryptogopher
ffc8dbad8c Added form names and select tag autocomplete off
To make select tags show selected option (FF bug)
https://stackoverflow.com/questions/1479233/why-doesnt-firefox-show-the-correct-default-select-option
2019-11-28 01:26:43 +01:00
cryptogopher
158685459d Unified hash options style 2019-11-27 21:24:49 +01:00
cryptogopher
2ebbe9a306 Added quantity filtering by domain 2019-11-21 01:28:03 +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
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
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
baadd647f8 Quantity destruction destroys dependent
Table data aligned.
Primary quantities highlighted.
2019-10-25 22:46:11 +02:00