Commit Graph

6 Commits

Author SHA1 Message Date
Chris Wells d77dba0468 Update to Node 20 2024-05-04 21:13:55 +00:00
Bram Wubs 41c66cdf12 npm prod? 2022-10-20 19:05:53 -07:00
Bram Wubs f74806ea07 Log a recipe or food from their show pages 2022-10-20 19:05:53 -07:00
Christopher C. Wells 99e214e822 Update node dependencies 2022-02-11 20:09:00 -08:00
Christopher C. Wells feb6cce3a4 Update to AlpineJS 3.x 2021-07-12 21:02:27 -07:00
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