Commit Graph

44 Commits

Author SHA1 Message Date
Christopher C. Wells 51d4db11c6 Refactor nutrients units array as Collection 2021-04-02 23:42:27 -07:00
Christopher C. Wells d91c26159b Don't require `ingredients.key` fields 2021-03-27 09:57:57 -07:00
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 C. Wells 8db02e302b Allow all tags to be removed 2021-03-13 14:00:09 -08:00
Christopher C. Wells be9c45a414 Replace recipe active time with cook time 2021-03-13 13:51:37 -08:00
Christopher C. Wells 9c68277cc6 Ditch bg-cover approach
Too many problems on mobile with nicer fixed styling.
2021-03-13 05:41:26 -08:00
Christopher C. Wells c978c5843d Use recipe image as background 2021-03-12 20:48:08 -08:00
Christopher C. Wells ac57f6d33e Add initial recipe image support 2021-03-12 20:48:08 -08:00
Christopher C. Wells 4b31f87f98 Delete ingredient amounts on recipe delete 2021-03-11 19:28:38 -08:00
Christopher C. Wells 053c8305a1 Refactor Quill handling as a separate database column 2021-03-08 08:40:36 -08:00
Christopher C. Wells be681f0dd7 Add recipe time fields (WIP)
Not present in th frontend yet.
2021-03-06 09:30:15 -08:00
Christopher C. Wells 794c0712bc Add basic tags front end support 2021-02-27 13:50:40 -08:00
Christopher C. Wells d3a881c359 Add recipe delete functionality 2021-02-20 14:36:52 -08:00
Christopher C. Wells 836c40abf2 Add recipe weight support 2021-02-11 19:49:27 -08:00
Christopher C. Wells cfa9e2c1eb Ensure tags persist from old form data 2021-01-31 14:17:11 -08:00
Christopher C. Wells fa3c1ee69e Sync tags _after_ saving recipe 2021-01-31 13:56:45 -08:00
Christopher C. Wells 87311b9ec4 Supper gram-based data entry 2021-01-30 05:56:08 -08:00
Christopher C. Wells fc4e7a5fb5 Support "servings" unit and require unit 2021-01-27 08:46:12 -08:00
Christopher C. Wells 354e73ef67 Prevent exception on empty tags field 2021-01-24 21:06:12 -08:00
Christopher C. Wells 037d20fbb7 Add phpstan support 2021-01-24 19:43:59 -08:00
Christopher C. Wells 7526138ad2 Add search/load support to recipes 2021-01-23 21:55:21 -08:00
Christopher C. Wells 2a6549c6d2 Fix edit link in Foods list 2021-01-23 21:35:45 -08:00
Christopher C. Wells 983b7695dd Add support for recipe recipe ingredients 2021-01-23 10:33:25 -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 fe868a1a08 Handle step deletes 2021-01-22 21:11:19 -08:00
Christopher C. Wells acdd89c192 Handle ingredient deletes 2021-01-22 21:11:19 -08:00
Christopher C. Wells 9f180b9b62 Refactor ingredients field structure 2021-01-22 21:11:19 -08:00
Christopher C. Wells f2864b76dc Complete AlpineJS-based ingredient picket 2021-01-22 21:11:19 -08:00
Christopher C. Wells e68dac7f55 Complete initial food picker component 2021-01-22 21:11:19 -08:00
Christopher C. Wells 70c9396d0f Add `source` field to Recipe model 2021-01-18 09:22:08 -08:00
Christopher C. Wells f974806b15 Add `detail` field to Food Amount model 2021-01-18 08:59:55 -08:00
Christopher C. Wells afe2bdafe0 Enforce lower case for food and recipe names 2021-01-18 06:05:21 -08:00
Christopher C. Wells ab28efba52 Add recipe edit support (WIP)
Not possible to remove existing ingredients or steps.
2021-01-15 20:14:35 -08:00
Christopher C. Wells 81f590515d Add support for fractional data entry 2021-01-15 06:09:21 -08:00
Christopher C. Wells 178d1d7aff Sort recipe ingredient options by name 2021-01-15 04:53:18 -08:00
Christopher C. Wells 03f9d5395a Make recipe description and units fields optional 2021-01-15 04:53:02 -08:00
Christopher C. Wells 2dd92c8d3a Refactor "ingredients" as "foods" 2020-12-30 15:06:22 -08:00
Christopher C. Wells 7aab49a3cb Add recipe show view 2020-12-30 14:48:50 -08:00
Christopher C. Wells 545e4c0b5e Add recipe list view 2020-12-30 14:00:04 -08:00
Christopher C. Wells 198a32a915 Add step support to recipe create form 2020-12-30 13:23:41 -08:00
Christopher C. Wells f8c6f81e60 Allow null values for ingredients 2020-12-30 11:57:08 -08:00
Christopher C. Wells d4e3658294 Add support for set number of recipe ingredient amounts 2020-12-30 11:27:38 -08:00
Christopher C. Wells a04be37acb Start Recipe controller (WIP) 2020-12-30 08:30:14 -08:00
Christopher C. Wells d54ad13460 Add Recipe model 2020-12-21 15:25:10 -08:00