Roland Geider
1222a70e61
Add content to the diary detail page
2021-08-16 18:29:38 +02:00
Roland Geider
d01986238f
Show percent of energy and g per body-kg for macros
2021-08-16 16:24:12 +02:00
Github-actions
97de128557
Automatic linting
2021-07-08 16:23:21 +00:00
Roland Geider
05b66605af
Regenerate mocks and generated files
2021-07-08 18:12:19 +02:00
Github-actions
c877e436b0
Automatic linting
2021-06-22 21:10:15 +00:00
Github-actions
7492b53c67
Automatic linting
2021-06-20 13:09:24 +00:00
Roland Geider
31edbb3b48
Loop through all result pages when loading logs
2021-05-19 22:34:36 +02:00
Roland Geider
68552ea277
Rename conversion functions
...
This makes it clearer what gets converted to what
2021-05-18 22:14:58 +02:00
Roland Geider
f0fa8a5173
Nutritional plan time is nullable
2021-05-01 15:33:28 +02:00
Roland Geider
5bc1ca699d
Return a new instance when adding nutritional values
...
Changing the current one doesn't make sense
2021-04-22 10:28:53 +02:00
Roland Geider
8c31f2ef09
Add more tests
2021-04-21 22:05:50 +02:00
Roland Geider
ad7507c8b7
Update license header as well
2021-04-13 10:28:15 +02:00
Roland Geider
81a22a4052
Fix error when that prevented adding ingredients to a meal
2021-04-08 12:16:57 +02:00
Roland Geider
6a63a390ef
Use a nutritional plan object again for editing / adding
2021-04-05 18:59:17 +02:00
Roland Geider
63584fb8f2
Use individual endpoints to load plan data
...
While this results in way more requests needed, it has the great benefit of using
the same data structure for reading and writing. This saves us a lot of headaches
in the data modelling and we don't have to care that the info endpoints looked a
bit different.
2021-04-01 16:28:35 +02:00
Roland Geider
23c277c54c
Also calculate the sugar contents for meals
2021-03-31 14:34:07 +02:00
Roland Geider
5263c074f2
Make tests work with (no sound) null safety
2021-03-30 12:51:18 +02:00
Roland Geider
ecd2773a87
Upgrade packages and move application to null safety
2021-03-25 22:20:16 +01:00
Roland Geider
ef645e10f4
Make app more inviting when the user has no workout plans, etc.
2021-03-16 22:42:10 +01:00
Roland Geider
65a6987a3c
Render correct number of pages in gym mode
2021-03-08 23:00:02 +01:00
Roland Geider
3ea243c43b
Allow toggling nutritional values for meals
2021-02-01 10:58:46 +01:00
Roland Geider
d3eaa11cf9
Properly log meal diary entries
2021-01-31 14:49:26 +01:00
Roland Geider
21f9d67fc4
Correctly calculate sodium value
2021-01-24 20:48:53 +01:00
Roland Geider
e3c729f917
Allow editing of meals
2021-01-24 20:48:31 +01:00
Roland Geider
ae003b0cdb
Fix URL to add meals
2021-01-24 20:07:03 +01:00
Roland Geider
192094399a
Fix errors when nutritional plan is empty
...
(this still is a bit dirty)
2021-01-24 19:44:59 +01:00
Roland Geider
5f4a25e9ec
Add nutritional values calculations to diary
2020-12-27 11:22:46 +01:00
Roland Geider
b18e90b249
Allow to log meals all at once
2020-12-26 12:56:53 +01:00
Roland Geider
c564f80a83
Add chart to nutritional plan showing macronutrients
2020-12-25 13:12:22 +01:00
Roland Geider
e4e4907782
Allow to add meal items to a meal
2020-12-24 16:36:54 +01:00
Roland Geider
bf8714dae5
Calculate nutritional values for a meal item
2020-12-23 11:27:50 +01:00
Roland Geider
99d1412a37
More work on nutritional plans widgets
2020-12-22 21:27:25 +01:00
Roland Geider
b29436d1e3
Fun with TimeOfDay
2020-12-22 12:54:47 +01:00
Roland Geider
966d5d54d6
Output plan ingredients
2020-12-21 23:41:57 +01:00
Roland Geider
58d131b31a
Some more work on the nutritional plans
2020-12-21 20:47:18 +01:00
Roland Geider
1c9d0ab7f6
Add copyright notice to all files
2020-12-06 17:14:50 +01:00
Roland Geider
3dd2197b34
Add form to add a description to new nutritional plans
2020-12-06 16:56:42 +01:00
Roland Geider
31af3bf95f
Add overview screen and serialization files for nutritional plans
2020-11-18 23:25:56 +01:00
Roland Geider
07a5c47474
Add models for nutritional plans
2020-11-07 14:04:29 +01:00