Christopher C. Wells
9aea9114f7
Col flex recipe actions for all sizes
2024-02-03 08:02:51 -08:00
Bram Wubs
a02875f845
Update some css
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
4aaf83c862
Add recipe duplicate functionality
2022-03-06 20:53:50 -08:00
Christopher C. Wells
ef096492d4
Add "ingredient ID" attribute to ingredients
...
This change prevents ID collision when dealing with multiple models.
2022-02-20 13:46:16 -08:00
Christopher C. Wells
ce4827a8ec
Account for serving sizes > 1 in recipe display
...
Closes #19
2022-02-12 06:27:12 -08:00
Christopher C. Wells
99e214e822
Update node dependencies
2022-02-11 20:09:00 -08:00
Christopher C. Wells
3f04f14a2d
Add API key to profile output
2021-11-08 20:55: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
Christopher Charbonneau Wells
c15f81ee6b
Add ability to change goal for a date ( #14 )
2021-05-22 14:07:57 -07:00
Christopher C. Wells
86b61dba30
Handle day updates during Goal edit
2021-05-15 21:40:53 -07:00
Christopher C. Wells
2ba441dd08
Add a basic Goal show page
2021-05-15 21:40:53 -07:00
Christopher C. Wells
433c884e1e
Make goals table more responsive
2021-05-15 21:40:53 -07:00
Christopher C. Wells
721c5baa2c
Add days to Goal index view
2021-05-15 21:40:53 -07:00
Christopher C. Wells
91fd85ef83
Add date goal handling for user journal
2021-05-15 21:40:53 -07:00
Christopher C. Wells
153611e66d
Remove Goal `from` and `to` attributes
2021-05-15 21:40:53 -07:00
Christopher C. Wells
3ae6c6ef13
Add remaining fields for Goal edit form
2021-05-15 21:40:53 -07:00
Christopher C. Wells
15762790a5
Remove old structures from Goals edit template (WIP)
2021-05-15 21:40:53 -07:00
Christopher C. Wells
45ce469cdf
Update basic Goals index
2021-05-15 21:40:53 -07:00
Christopher C. Wells
77ed32ee4d
Create partials for shared user/profile inputs
2021-04-22 11:38:28 -07:00
Christopher C. Wells
78c3095036
Complete profile management functionality
2021-04-22 11:29:41 -07:00
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