Commit Graph

19 Commits

Author SHA1 Message Date
Christopher C. Wells dbee32dc14 Improve error messages in recipe update 2021-04-12 21:20:13 -07:00
Christopher C. Wells 5f19cb44dd Re-add default input to ingredient picker units
This prevents accidentally setting a different value for an existing entry
with an unsupported unit.
2021-04-04 15:51:22 -07:00
Christopher C. Wells e1af68941c Add supported units filtering to recipe edit 2021-04-04 15:46:37 -07:00
Christopher C. Wells 367d242ced Get rid of variable color props in components
These PHP-based variables preventing PostCSS from doing its thing.
2021-04-03 00:20:44 -07:00
Christopher C. Wells 8c8a46c4f6 Add `autocapitalization` and `inputmode` settings to some `input` elements 2021-03-27 12:55:22 -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 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 0829b69e14 Make ingredient input first 2021-02-10 05:25:44 -08:00
Christopher C. Wells fc4e7a5fb5 Support "servings" unit and require unit 2021-01-27 08:46:12 -08:00
Christopher C. Wells a575622c9c Improve mobile usability in forms 2021-01-25 07:31:38 -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 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