Commit Graph

7 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 a686e8036b Add basic Journal Entry controller tests 2021-04-02 23:42:27 -07:00
Christopher C. Wells f643baf8ff Further improve HTML semantics 2021-03-05 21:14:29 -08:00
Christopher C. Wells 3524836878 Add page titles 2021-03-05 20:57:37 -08:00
Christopher C. Wells 5bc2684ca7 Moved repeated container components to app layout 2021-03-05 17:20:13 -08:00
Christopher C. Wells 7d3486e62e Shorten space between header and content 2021-03-03 06:04:43 -08:00
Christopher C. Wells 9a60dbbe6e Add ability to delete journal entries 2021-01-18 13:30:12 -08:00