Commit Graph

79 Commits

Author SHA1 Message Date
Christopher C. Wells afa4e5f93f Add custom serving name field to foods 2021-02-06 13:59:19 -08:00
Christopher C. Wells 3d81634556 Use string representation for empty tags 2021-01-31 14:29:20 -08:00
Christopher C. Wells c4ba2562e8 Add servings data to recipe picker results 2021-01-31 14:25:30 -08:00
Christopher C. Wells 00b7d7f3f7 Hide ingredient search results when there is no input 2021-01-31 14:23:54 -08:00
Christopher C. Wells 3695810fe7 Don't show typed tag when exact match is found 2021-01-31 14:20:54 -08:00
Christopher C. Wells cfa9e2c1eb Ensure tags persist from old form data 2021-01-31 14:17:11 -08:00
Christopher C. Wells d8ddaf611d Use node cloning instead of `x-for` for journal entry lines 2021-01-31 13:50:49 -08:00
Christopher C. Wells 76f29739e7 Prevent overwriting entry data on form error 2021-01-30 14:11:29 -08:00
Christopher C. Wells 7f3ed5b704 Update nutrition label styling 2021-01-28 15:00:07 -08:00
Christopher C. Wells fc4e7a5fb5 Support "servings" unit and require unit 2021-01-27 08:46:12 -08:00
Christopher C. Wells 9cae200c0f Set parent route active for all sub-routes 2021-01-27 06:01:42 -08:00
Christopher C. Wells bc77f923a2 Remove edit links from index views 2021-01-27 05:57:57 -08:00
Christopher C. Wells 6baf888d4f Add source and notes fields to foods 2021-01-27 05:51:38 -08:00
Christopher C. Wells ca55a0d6ec Add data to recipe view 2021-01-27 05:43:43 -08:00
Christopher C. Wells 746b061a8d Check for detail before adding to ingredient name 2021-01-25 20:27:43 -08:00
Christopher C. Wells b83366f2d2 Improve mobile usability of journal pages 2021-01-25 20:25:27 -08:00
Christopher C. Wells ed1f69c96f Fix load more behavior 2021-01-25 07:36:32 -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 1c63cc9a7e Add placeholder for food show page 2021-01-24 21:11:41 -08:00
Christopher C. Wells 354e73ef67 Prevent exception on empty tags field 2021-01-24 21:06:12 -08:00
Christopher C. Wells d1c66924ea Add "manual" journal entry option 2021-01-24 18:56:03 -08:00
Christopher C. Wells 089b2edab2 Prefill journal entry values with previous entry data 2021-01-24 16:10:52 -08:00
Christopher C. Wells 35f386d681 Add backend support for multiple dates/meals in journal entry 2021-01-24 15:24:03 -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 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 ae626e5392 Add search and filtering to food index 2021-01-23 16:16:15 -08:00
Christopher C. Wells 3101c34071 Add ingredient picker support to journal entry form 2021-01-23 10:33:25 -08:00
Christopher C. Wells 333abbb8f5 Link to recipe show from recipe ingredients 2021-01-23 10:33:25 -08:00
Christopher C. Wells 983b7695dd Add support for recipe recipe ingredients 2021-01-23 10:33:25 -08:00
Christopher C. Wells ff829d9d8d Use `x-spread` for ingredients picker JS 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 13f1302132 Add initial Recipe support to ingredient picker (WIP)
A new class it likely needed here -- IngredientAmount -- to support either a
Food or a Recipe.
2021-01-23 10:33:25 -08:00
Christopher C. Wells 0aa2267e3b Refactor journal entry form fields structure 2021-01-22 21:11:19 -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
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 b53a76939a Remove Livewire 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 9a60dbbe6e Add ability to delete journal entries 2021-01-18 13:30:12 -08:00