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
Christopher Charbonneau Wells
c15f81ee6b
Add ability to change goal for a date ( #14 )
2021-05-22 14:07:57 -07:00
Christopher C. Wells
91fd85ef83
Add date goal handling for user journal
2021-05-15 21:40:53 -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
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
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
2f91c320ef
Refactor nutrients data array as a collection
2021-02-21 08:23:30 -08:00
Christopher Charbonneau Wells
414629b469
Add goals support ( #4 )
2021-02-15 14:19:53 -08:00
Christopher C. Wells
3c5d1c1f00
Use mg base unit for cholesterol and sodium
2021-02-10 05:55:01 -08:00
Christopher C. Wells
aa84819df5
Remove "g" from calories data
2021-02-06 20:32:54 -08:00
Christopher C. Wells
b83366f2d2
Improve mobile usability of journal pages
2021-01-25 20:25:27 -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
9a60dbbe6e
Add ability to delete journal entries
2021-01-18 13:30:12 -08:00
Christopher C. Wells
195ca1648d
Move session message and errors to app layout
2021-01-18 09:23:31 -08:00
Christopher C. Wells
dbb752d73c
Add journal entry add support (WIP)
2021-01-02 15:13:55 -08:00