Commit Graph

171 Commits

Author SHA1 Message Date
Christopher C. Wells a378936b72 Create "profile" controller and routes (WIP)
Views are incomplete and components need to be broken out from user edit.
2021-04-21 16:37:10 -07:00
Christopher C. Wells 03f7319157 Add User photo media support 2021-04-21 08:49:05 -07:00
Christopher C. Wells ef719c9175 Add User admin flag 2021-04-20 16:04:32 -07:00
Christopher C. Wells a9fad1bff0 Add basic User CRUD abilities 2021-04-20 14:49:51 -07:00
Christopher C. Wells 3bccde1a35 Update Node dependencies; enable Tailwind JIT 2021-04-20 12:16:46 -07:00
Christopher C. Wells e8f2ed8108 Display recipe volume where applicable 2021-04-18 13:55:11 -07:00
Christopher C. Wells 809e3ca7d7 Add support for recording recipe volume (WIP)
This offers no practical value yet -- ultimately it will be used to support
volume-based servings for recipes with a total volume set.
2021-04-17 20:31:52 -07:00
Christopher C. Wells 6b68d61385 Improve Goal validation feedback 2021-04-17 19:42:33 -07:00
Christopher C. Wells ff5661fdf1 Improve Jorunal Entry validation feedback 2021-04-17 19:39:07 -07:00
Christopher C. Wells 0982ac1601 Improve Food validation feedback 2021-04-17 07:32:46 -07:00
Christopher C. Wells 9360997bee Fix indentation 2021-04-17 05:19:31 -07:00
Christopher C. Wells dbee32dc14 Improve error messages in recipe update 2021-04-12 21:20:13 -07:00
Christopher C. Wells ba5ac72db8 Place nutrition facts and operations above content 2021-04-12 19:53:15 -07:00
Christopher C. Wells eea63227b9 Set max width on `aside` for food and recipe show page 2021-04-10 21:22:59 -07:00
Christopher C. Wells a9ef5ddfd4 Replace tiny edit/delete icons with big buttons 2021-04-10 21:10:22 -07:00
Christopher C. Wells 232e2fc6ac Use date picker for journal and goals index date. 2021-04-10 20:07:18 -07:00
Christopher C. Wells 232f5ddfe8 Attempt to improve handling for common 1/3 and 2/3 amounts 2021-04-10 14:22:14 -07:00
Christopher C. Wells 69ce3cb277 Attempt to improve coherency of journal entry summaries 2021-04-08 21:17:15 -07:00
Christopher C. Wells 8d3f2cc35c Default to separate journal entry lines 2021-04-08 19:58:06 -07:00
Christopher C. Wells 17e640303d Implement FDA guideline-based rounding
Rounding is left out of Food nutrients for now to prevent rounding up before
summing in certain places.
2021-04-08 16:34:30 -07:00
Christopher C. Wells 0f2a506add Tweak login view code formatting 2021-04-08 14:54:32 -07:00
Christopher Charbonneau Wells 350a08a14d
Add Heroku support (#12) 2021-04-06 10:05:10 -07:00
Christopher C. Wells 8788c39d44 Remove breeze boilerplate verification and registration code 2021-04-05 05:41:34 -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 edbcd877c2 Filter supported units in ingredient picker 2021-04-04 14:55:19 -07:00
Christopher C. Wells 0ba768d7dc Prevent tag overlflow in edit views 2021-04-04 13:10:31 -07:00
Christopher C. Wells 51482f4adb Revert removal of `type="button"` from relevant (non-submit) buttons 2021-04-03 00:29:02 -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 a686e8036b Add basic Journal Entry controller tests 2021-04-02 23:42:27 -07:00
Christopher C. Wells 38ca26291f Add Goal tests 2021-04-02 23:42:27 -07:00
Christopher C. Wells 7dd0fd1487 Remove icon nav elements 2021-03-27 21:01:34 -07:00
Christopher C. Wells 4f5b29ce4c Imrpove support for "mobile app" handling 2021-03-27 20:45:42 -07:00
Christopher C. Wells 1ad422f007 Rename kcal 2021-03-27 20:24:24 -07:00
Christopher C. Wells 8c8a46c4f6 Add `autocapitalization` and `inputmode` settings to some `input` elements 2021-03-27 12:55:22 -07:00
Christopher C. Wells 594f5c6e4b Ensure ingredients list always has a weight entry 2021-03-27 12:33:36 -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 30bce3dd9b Document some javascript functionality 2021-03-21 14:37:57 -07:00
Christopher C. Wells 24669f0314 Only remove journal entry template when form is valid 2021-03-21 14:26:18 -07:00
Christopher C. Wells 25d9a6442c Set default amount and unit on journal entry 2021-03-21 14:03:01 -07:00
Christopher C. Wells be9c45a414 Replace recipe active time with cook time 2021-03-13 13:51:37 -08:00
Christopher C. Wells 9952803368 Adjust feature image heights 2021-03-13 05:48:32 -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 97b9fb4fb2 Only used fixed/cover on md+ 2021-03-13 05:27:06 -08:00
Christopher C. Wells e1d6da89ad Adjust recipe background behavior for small screens 2021-03-13 04:44:48 -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 af65c5c7bb Tweak Quill editor styling 2021-03-10 05:35:42 -08:00
Christopher C. Wells 7e5e7d5222 Add loading animation to search 2021-03-08 20:29:51 -08:00
Christopher C. Wells 65e3e9c776 Set formatted serving size to null when empty 2021-03-08 15:06:21 -08:00