Commit Graph

15 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells 0407899496
Add ingredient separators (#10)
* Add weight handling to ingredient sortable

* Add frontend logic for recipe ingredients "separator"

* Add "recipe separator" model

* Update ingredient handlers on recipe save

* Combine ingredients and separators handler in recipe edit

* Handle recipe ingredient separators in recipe show

* Fix handling of old recipe form data
2021-03-26 08:58:37 -07:00
Christopher Charbonneau Wells 414629b469
Add goals support (#4) 2021-02-15 14:19:53 -08:00
Christopher C. Wells 037d20fbb7 Add phpstan support 2021-01-24 19:43:59 -08:00
Christopher C. Wells 309ec6810c Move date and meal fields to each line (WIP)
Frontend only, no backend support yet.
2021-01-24 13:07:42 -08:00
Christopher C. Wells 2e55ea1d98 Configure basic API paging, sorting, and filtering 2021-01-23 15:07:49 -08:00
Christopher C. Wells 670d6127ca Refactor Recipe to support IngredientAmount (WIP)
Only Food IngredientAmounts are supported currently.
2021-01-23 10:33:25 -08:00
Christopher C. Wells 19eac25413 Update nutrient calculation for IngredientAmount 2021-01-23 10:33:25 -08:00
Christopher C. Wells 5ded6bfce6 Create IngredientAmount class
This class will replace FoodAmount when it has proper support for
calculating nutrients for FoodAmount and Recipe combinations.
2021-01-23 10:33:25 -08:00
Christopher C. Wells ba7cd55503 Write IDE helper content directly to models 2021-01-18 13:33:21 -08:00
Christopher C. Wells d99d49777b Add IDE helper for better handling of Laravel builders 2021-01-03 08:40:16 -08:00
Christopher C. Wells ab10dd0342 Use slugs for recipe and food routes 2021-01-01 20:34:55 -08:00
Christopher C. Wells c1ddb061df Add basic journal entries index (WIP) 2021-01-01 15:05:36 -08:00
Christopher C. Wells dfad48c71d Refactor journal entries to record nutrients directly 2021-01-01 09:50:19 -08:00
Christopher C. Wells dd40582b64 Update food views for servings data 2020-12-31 15:32:26 -08:00
Christopher C. Wells 1ec4439d8e Add initial "Journal entry" model 2020-12-31 11:00:14 -08:00