Commit Graph

36 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 C. Wells be9c45a414 Replace recipe active time with cook time 2021-03-13 13:51:37 -08:00
Christopher C. Wells ac57f6d33e Add initial recipe image support 2021-03-12 20:48:08 -08:00
Christopher C. Wells af65c5c7bb Tweak Quill editor styling 2021-03-10 05:35:42 -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 46efb6d562 Add Quill editor for recipe description 2021-03-08 08:40:36 -08:00
Christopher C. Wells 98c961b7d1 Use @php instead of {{ when setting title 2021-03-06 09:31:59 -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 f643baf8ff Further improve HTML semantics 2021-03-05 21:14:29 -08:00
Christopher C. Wells 3524836878 Add page titles 2021-03-05 20:57:37 -08:00
Christopher C. Wells 5bc2684ca7 Moved repeated container components to app layout 2021-03-05 17:20:13 -08:00
Christopher C. Wells 7d3486e62e Shorten space between header and content 2021-03-03 06:04:43 -08:00
Christopher C. Wells 94678cfa75 Correct target for recipe step remove 2021-02-26 05:28:56 -08:00
Christopher C. Wells 6c01027ad9 Adopt template-based input add/remove system for recipes 2021-02-21 08:59:32 -08:00
Christopher C. Wells 8ce5b82825 Add re-ordering support to recipe ingredients and steps 2021-02-15 21:08:36 -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 a575622c9c Improve mobile usability in forms 2021-01-25 07:31:38 -08:00
Christopher C. Wells 536b2236f7 Remove unused welcome and dashboard artifacts 2021-01-25 05:47:02 -08:00
Christopher C. Wells 2a6549c6d2 Fix edit link in Foods list 2021-01-23 21:35:45 -08:00
Christopher C. Wells fe868a1a08 Handle step 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 0c0febed6c Add support frontend support for removing steps (WIP)
Step numbers not working. No backend support yet.
2021-01-22 21:11:19 -08:00
Christopher C. Wells f499e5ffb7 Add support for old values in recipe form 2021-01-22 21:11:19 -08:00
Christopher C. Wells cec27ff0b0 Add frontend ingredient remove elements (WIP)
No backend support yet. Old values are not supported in the form.
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 cb7483ae06 Begin work on non-livewire ingredient picker (WIP)
This commit is mostly a PoC and looks like it will work in place of the
initial Livewire-based component for a repeatable picker.
2021-01-22 21:11:19 -08:00
Christopher C. Wells 856bfb39b9 Refactor ingredients for ingredient add (WIP)
Currently non-functional as the livewire component does not work inside an
Alpine template.
2021-01-22 21:11:19 -08:00
Christopher C. Wells 372753887f Add ability to add steps to recipe 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 f48249d9e5 Refactor as food-specific picker 2021-01-22 21:11:19 -08:00
Christopher C. Wells 18d15db375 Add basic livewire picker (WIP) 2021-01-22 21:11:19 -08:00
Christopher C. Wells 195ca1648d Move session message and errors to app layout 2021-01-18 09:23:31 -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 ab28efba52 Add recipe edit support (WIP)
Not possible to remove existing ingredients or steps.
2021-01-15 20:14:35 -08:00