kcal/app/Models
Christopher Charbonneau Wells 1fbb9a7dae
Add support for meals customization (#15)
* Add meals as JSON field on User

* Change journal entry meal field to integer

* Make Quill and Draggable more modular

* Add meals routes and controller (WIP)

* Set default meals during migration

* Handle meals form

* No-op meal field migrations

This allows tests to pass easier and the migrations are not entirely
necessary anyway.

* Update factories and tests for new meals format

* Add basic meals edit test

* Update journal entry processing for new meal values

* Remove temporary migrations

* Only use default enabled meals in tests

* Add User `meals_enabled` attribute

* Ensure NULL values are removed from attributes

* Add meals data to use API response

* Set default meals on user create
2021-05-30 13:11:58 -07:00
..
Traits Add nutrient calculation for recipe volumes 2021-04-18 13:46:20 -07:00
Food.php Attempt to improve handling for common 1/3 and 2/3 amounts 2021-04-10 14:22:14 -07:00
Goal.php Add days to Goal index view 2021-05-15 21:40:53 -07:00
IngredientAmount.php Add formatted days attribute to Goal 2021-05-15 21:40:53 -07:00
JournalDate.php Add ability to change goal for a date (#14) 2021-05-22 14:07:57 -07:00
JournalEntry.php Replace meals static array with Collection 2021-04-02 23:42:27 -07:00
Recipe.php Add nutrient calculation for recipe volumes 2021-04-18 13:46:20 -07:00
RecipeSeparator.php Complete initial factories for all models 2021-04-02 23:42:27 -07:00
RecipeStep.php Add ingredient separators (#10) 2021-03-26 08:58:37 -07:00
Tag.php Override Tag class in app models 2021-04-02 23:42:27 -07:00
User.php Add support for meals customization (#15) 2021-05-30 13:11:58 -07:00