Commit Graph

6 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells 1fbb9a7dae
Add support for meals customization (#15)
* Add meals as JSON field on User

* Change journal entry meal field to integer

* Make Quill and Draggable more modular

* Add meals routes and controller (WIP)

* Set default meals during migration

* Handle meals form

* No-op meal field migrations

This allows tests to pass easier and the migrations are not entirely
necessary anyway.

* Update factories and tests for new meals format

* Add basic meals edit test

* Update journal entry processing for new meal values

* Remove temporary migrations

* Only use default enabled meals in tests

* Add User `meals_enabled` attribute

* Ensure NULL values are removed from attributes

* Add meals data to use API response

* Set default meals on user create
2021-05-30 13:11:58 -07:00
Christopher C. Wells ff5661fdf1 Improve Jorunal Entry validation feedback 2021-04-17 19:39:07 -07: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 983b7695dd Add support for recipe recipe ingredients 2021-01-23 10:33:25 -08:00
Christopher C. Wells 81f590515d Add support for fractional data entry 2021-01-15 06:09:21 -08:00
Christopher C. Wells 198a32a915 Add step support to recipe create form 2020-12-30 13:23:41 -08:00