1
0

Commit Graph

  • fa9c329a81 Formula#calculate is using QuantityInput cryptogopher 2020-05-17 18:14:19 +02:00
  • c402fe8353 Removed ITEM_TYPES in favor of uniformly named scopes/attributes cryptogopher 2020-05-16 17:37:51 +02:00
  • 7584c650da Fixed formula validation during import of defaults cryptogopher 2020-05-11 22:38:27 +02:00
  • ffb87a09c4 Error reporting on failed loading of default(s) cryptogopher 2020-05-11 20:40:29 +02:00
  • fd184df9c7 Merged Nutrient and Readout into QuantityValue cryptogopher 2020-05-11 19:36:30 +02:00
  • abd7d02b89 Added QuantityInput class cryptogopher 2020-05-10 21:55:12 +02:00
  • cd29e15b32 Fixed food order column ambiguity cryptogopher 2020-05-10 18:22:52 +02:00
  • 1f5ea1cfb6 compute_quantities: allow indirect associations and model dependencies cryptogopher 2020-05-10 18:06:32 +02:00
  • 9d19890f6f Extracted quantity value resolving to Formula#resolve cryptogopher 2020-05-08 15:46:38 +02:00
  • 8d6aafd6ef Model method calls should be indexed cryptogopher 2020-05-06 23:01:17 +02:00
  • 9c3d31c131 Fixes for formula computation cryptogopher 2020-05-05 22:02:48 +02:00
  • 8749710330 Formula can contain model method calls cryptogopher 2020-05-05 01:52:34 +02:00
  • 36a2e7bcbe Shortened defaults names cryptogopher 2020-05-02 21:49:34 +02:00
  • 85ec7efa16 Removed some table borders cryptogopher 2020-05-02 17:44:50 +02:00
  • b3f7199f93 Moved adjust from IngredientsController to MealsController cryptogopher 2020-05-02 16:49:54 +02:00
  • 4397249fa9 Separated show for date/meal/ingredient cryptogopher 2020-05-02 15:47:08 +02:00
  • 3ac73ac3a8 Style changes cryptogopher 2020-05-02 15:17:21 +02:00
  • 1734910d10 Styling changes cryptogopher 2020-05-02 14:50:42 +02:00
  • 54fc7ecf7e Coloring index summaries cryptogopher 2020-05-01 23:44:37 +02:00
  • dafebdc529 Displaying date summary cryptogopher 2020-05-01 18:45:22 +02:00
  • f6a7f0219e Summarizing nutrients + displaying meal summary cryptogopher 2020-05-01 18:34:40 +02:00
  • 9ccd41b422 Styles adjustments cryptogopher 2020-04-30 18:50:28 +02:00
  • e74c707729 Displaying amount column in same format as quantities cryptogopher 2020-04-29 23:12:59 +02:00
  • da11c0f626 Restyled quantity header cryptogopher 2020-04-29 22:26:48 +02:00
  • 9f3f90e4f0 Added rounding and not displaying 0 cryptogopher 2020-04-28 16:26:14 +02:00
  • 3418af87c1 Displaying quantities with fixed precision/MFU unit removed cryptogopher 2020-04-28 16:05:42 +02:00
  • dfa20a55d1 Displaying quantities in MEals index, WIP cryptogopher 2020-04-27 18:15:40 +02:00
  • 4230d72206 compute_quantities now returns single hash cryptogopher 2020-04-26 20:21:17 +02:00
  • 9f5f31ca42 Indexing by item, not item.id cryptogopher 2020-04-25 23:28:24 +02:00
  • c24bdd6f45 Renamed: formula_q -> filter_q cryptogopher 2020-04-25 22:49:48 +02:00
  • c029ba59c2 Fixed saving Meal exposures cryptogopher 2020-04-25 18:07:58 +02:00
  • ab8ed92929 Added MealsController#toggle_exposure cryptogopher 2020-04-25 15:52:35 +02:00
  • a4781b4fcd Renamed: column -> exposure cryptogopher 2020-04-25 15:42:22 +02:00
  • 5e3322fe96 Removed quantity uniqueness validation cryptogopher 2020-04-25 01:08:33 +02:00
  • 1007385e1f Added eaten_at to Meal form cryptogopher 2020-04-24 16:53:24 +02:00
  • cdd7107567 Rearranged Meals index columns cryptogopher 2020-04-24 15:36:16 +02:00
  • 5ab17cf69b Added MealsController#destroy cryptogopher 2020-04-24 00:54:32 +02:00
  • dfeb9af6db Added Meal edit/update cryptogopher 2020-04-20 22:56:05 +02:00
  • 6b5cb85b11 Buttons/amount in separate columns cryptogopher 2020-04-20 22:07:10 +02:00
  • baaefb2b68 Proper sorting of meals, index cryptogopher 2020-04-20 21:43:12 +02:00
  • 66cd7926e8 Added adjusting ingredient amount cryptogopher 2020-04-19 21:50:59 +02:00
  • 03d0a56474 Moved notes form from div to td cryptogopher 2020-04-19 21:34:24 +02:00
  • 3706206191 Update notes in div cryptogopher 2020-04-19 18:16:07 +02:00
  • e659ecc760 Added MealsController#toggle_eaten cryptogopher 2020-04-19 16:03:03 +02:00
  • 620d86b18a Updated Meals index cryptogopher 2020-04-19 00:02:39 +02:00
  • 923df9c8b2 Visual changes cryptogopher 2020-04-18 20:36:09 +02:00
  • 50b89de904 Meals index, WIP cryptogopher 2020-04-18 18:29:53 +02:00
  • 3ff36df168 IngredientsController#index WIP cryptogopher 2020-04-18 01:22:21 +02:00
  • ed6b1b9fe7 Preliminary MealsController#create cryptogopher 2020-04-16 22:02:53 +02:00
  • eb939a1be5 Sending Food id from autocomplete on Meal create cryptogopher 2020-04-16 19:09:24 +02:00
  • e78803e474 Added MealsController#new and form autocomplete for Food cryptogopher 2020-04-15 23:42:58 +02:00
  • 8e8160c41a Renamed Ingredient -> Food cryptogopher 2020-04-14 19:44:19 +02:00
  • c3010a70e8 Adding Meals, WIP cryptogopher 2020-04-13 15:36:59 +02:00
  • ced06a25bc Added :meals and :compositions_ingredients tables cryptogopher 2020-04-13 01:11:34 +02:00
  • dbb8bdc62e Fixed formatting of routine description cryptogopher 2020-04-11 23:18:38 +02:00
  • 40d6a3a3f0 Displaying Measurement notes cryptogopher 2020-04-04 02:41:46 +02:00
  • 1b6905d105 Form improvements cryptogopher 2020-04-04 02:37:37 +02:00
  • f00f93c9e9 View tracking through params in Ingredients cryptogopher 2020-04-04 02:13:46 +02:00
  • 738161fc43 Squeezed time and source in 1 line cryptogopher 2020-04-03 23:55:39 +02:00
  • 90a8c263f5 Fixed labels in MeasurementRoutine form cryptogopher 2020-04-03 23:51:56 +02:00
  • a7b003dc6f Reload readouts on current readout name change cryptogopher 2020-04-03 22:11:23 +02:00
  • 0e8634a3dd Fixed multiple form creation on edit cryptogopher 2020-04-03 21:40:50 +02:00
  • 14f4c063de Fixed creating/updating with MeasurementRoutine cryptogopher 2020-04-03 18:34:39 +02:00
  • 9f63c14f8a Adding MeasurementRoutine selection/editing support cryptogopher 2020-04-02 02:23:53 +02:00
  • 0c724ed63f Moved tracking of view state from session to params cryptogopher 2020-03-29 18:52:30 +02:00
  • 8882385dfa Removed :scope filter cryptogopher 2020-03-29 18:06:53 +02:00
  • 18419f1aeb Added MeasurementRoutine as a nested Measurement model cryptogopher 2020-03-29 00:56:37 +01:00
  • e7a33c684f Dispplaying units of computed values cryptogopher 2020-03-25 23:07:59 +01:00
  • 2efdc08931 Added setting Formula unit in form and when loading defaults cryptogopher 2020-03-25 21:40:24 +01:00
  • 031b857925 Added reference to Unit in Formula cryptogopher 2020-03-25 17:57:49 +01:00
  • c262e82c7b Renamed Ingredient comment -> notes cryptogopher 2020-03-25 00:26:35 +01:00
  • 08860cbfab Query optimizations cryptogopher 2020-03-24 22:16:27 +01:00
  • 63370ccc1a Fixed filter zero_nil default cryptogopher 2020-03-24 22:04:34 +01:00
  • 6919f9910c Changed indexing from q_name -> q in compute cryptogopher 2020-03-24 21:59:57 +01:00
  • cfe225c014 Filters zero_nil setting and computing fixed cryptogopher 2020-03-24 01:54:26 +01:00
  • 08ac719566 Fixes after introducing Formula model cryptogopher 2020-03-24 00:53:02 +01:00
  • de395ad1e0 Displaying filter formula errors cryptogopher 2020-03-22 01:10:14 +01:00
  • 10325c9c39 Added zero_nil to Ingredients filter formula cryptogopher 2020-03-22 01:02:37 +01:00
  • c3b783e942 Displaying errors for uncomputable formulas in nutrients view cryptogopher 2020-03-21 00:38:39 +01:00
  • 9a79e8fa55 Making Formula#calculate public cryptogopher 2020-03-20 00:57:20 +01:00
  • 5e0e32a855 Optimized out 1 query for Quantity index cryptogopher 2020-03-10 23:17:44 +01:00
  • 320fe93388 Fixed references to formula as model cryptogopher 2020-03-10 22:17:20 +01:00
  • 503266d546 Repositioned filters zero_nil checkbox cryptogopher 2020-02-23 01:31:38 +01:00
  • f65569528d Added JS layout cryptogopher 2020-02-22 22:51:15 +01:00
  • 2d778c831b Introduced plugin layout instead of using Redmine ViewListener render_on cryptogopher 2020-02-22 22:39:12 +01:00
  • 0f8f74ffec Added zero_nil to Measurement filter formula cryptogopher 2020-02-22 22:14:21 +01:00
  • b1e7236460 Added zero_nil to Quantity form and import cryptogopher 2020-02-20 21:55:38 +01:00
  • 9bddc67a3f Added body composition quantities cryptogopher 2020-02-20 21:30:57 +01:00
  • c15048f5ea Fixed editing last index item cryptogopher 2020-02-20 21:17:55 +01:00
  • c774f7745d Add child Quantity action added cryptogopher 2020-02-19 21:24:17 +01:00
  • b7b7401833 Updated Quantity to use Formula cryptogopher 2020-02-19 17:57:29 +01:00
  • 544c0c5293 Updating Quantity to use Formula, WIP cryptogopher 2020-02-17 22:15:30 +01:00
  • 4e537f3981 Moved Formula to separate model cryptogopher 2020-02-16 18:34:07 +01:00
  • aa26e66312 Fixed calculation for indexed formulas cryptogopher 2020-02-04 00:13:49 +01:00
  • df8703ba3c Updated Formula::calculate to use FormulaBuilder cryptogopher 2020-01-27 00:59:33 +01:00
  • 98207fc980 Added Formula test vectors cryptogopher 2020-01-25 21:51:03 +01:00
  • ba4c98e213 Added Formula unit test cryptogopher 2020-01-24 01:05:59 +01:00
  • 8d0f6eec81 Moved FormulaBuilder to Formula module cryptogopher 2020-01-24 00:17:00 +01:00
  • 9803b31f78 Integarted FormulaBuilder into Formula cryptogopher 2020-01-22 22:54:54 +01:00
  • b8a09b10ff Changed: params -> quantities cryptogopher 2020-01-18 20:35:22 +01:00