Roland Geider
e5b7c9496c
Show the exercises for the current workout on the dashboard
2021-01-16 19:44:26 +01:00
Roland Geider
9b5e29e7c7
Fetch all the log items
2021-01-16 13:51:15 +01:00
Roland Geider
b8c159c841
Add nutritional diary data to calendar
2021-01-16 13:44:19 +01:00
Roland Geider
ffcf0f5ea4
Load the workout sessions to dashboard calendar
2021-01-13 13:45:27 +01:00
Roland Geider
ef5e19f68e
Add calendar to dashboard
2021-01-13 13:11:41 +01:00
Roland Geider
25c0c116bf
Make the log page slightly less ugly
2021-01-12 13:25:07 +01:00
Roland Geider
7b21fdb8f3
Set the height of container with progress indicators
...
This makes the result less jumpy
2021-01-12 13:03:36 +01:00
Roland Geider
2ee2c0aead
Show the charted data as well
2021-01-11 22:49:35 +01:00
Roland Geider
45d8adca3c
Add chart for workout logs
2021-01-11 22:27:11 +01:00
Roland Geider
914d93d17d
More work on workout logs
2021-01-10 12:23:01 +01:00
Roland Geider
50f98c5dd3
generate the url for the nutritional diary endpoint
2021-01-03 18:26:40 +01:00
Roland Geider
a9ec8a203e
Fix typo
2021-01-02 11:38:22 +01:00
Roland Geider
cd01fa61b0
Load current workout in dashboard
2021-01-02 11:37:02 +01:00
Roland Geider
91c51dcb28
Format date according to locale
2021-01-02 11:32:49 +01:00
Roland Geider
5d6a5887bd
Refactor the dashboard, showing some charts
2020-12-30 14:30:42 +01:00
Roland Geider
1b574470f3
Move nutritional plan pie chart to own file
2020-12-30 14:15:26 +01:00
Roland Geider
005e719c78
Move body weight chart to own widget
2020-12-29 21:28:42 +01:00
Roland Geider
373cfb0dfd
Add exercise set placeholder form
2020-12-29 13:22:47 +01:00
Roland Geider
3c505db785
Add exercise type ahead to set form
2020-12-28 19:34:39 +01:00
Roland Geider
c441390e84
Remove commented code
2020-12-28 18:36:23 +01:00
Roland Geider
fdc3996aed
Fix base provider test
2020-12-28 18:27:59 +01:00
Roland Geider
8ad2cfacfe
Move workout day form to own file
2020-12-28 12:45:38 +01:00
Roland Geider
44b6a80db8
Rename test file to be more consistent with the others
2020-12-28 12:36:53 +01:00
Roland Geider
301750cb96
Use WgerBaseProvider with workout plans as well
2020-12-28 12:16:21 +01:00
Roland Geider
fafaa0e8bb
Refactor Exercise provider
2020-12-28 11:34:54 +01:00
Roland Geider
94e87d6faa
Remove unused properties
2020-12-28 11:34:17 +01:00
Roland Geider
e35040ea18
Rename URL path variables
2020-12-28 10:59:30 +01:00
Roland Geider
7d78a77500
Refactor the base provider
...
The http client is now passed as a constructor argument and de-clutters all the
functions, while still allowing for mocking.
2020-12-27 12:51:40 +01:00
Roland Geider
8257153569
Fix body weight test
2020-12-27 12:21:08 +01:00
Roland Geider
4c42f83a11
Chart the values for the nutritional diary
2020-12-27 12:00:29 +01:00
Roland Geider
5f4a25e9ec
Add nutritional values calculations to diary
2020-12-27 11:22:46 +01:00
Roland Geider
33a3c71af0
Some work on makeUrl helper
2020-12-26 19:15:55 +01:00
Roland Geider
4e23365f95
Show the plan's nutritional values
2020-12-26 13:11:54 +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
464a4c6bc8
Delete meal items on long press
2020-12-25 00:40:35 +01:00
Roland Geider
8b2a150e5d
Set isScrollControlled to true
...
This makes the bottom sheet take up all the available space. Still needs to be
tweaked because now all the form elements are at the top of the screen, which is
more difficult to reach.
2020-12-25 00:27:10 +01:00
Roland Geider
1cf1cff93a
Mute the text for the nutritional values
...
The user should not see a spreadsheet when he opens the plan
2020-12-24 23:51:21 +01:00
Roland Geider
610cdd7aa0
Rename provider
2020-12-24 23:32:26 +01:00
Roland Geider
d175512710
Fix body weight URL
2020-12-24 23:31:34 +01:00
Roland Geider
e4e4907782
Allow to add meal items to a meal
2020-12-24 16:36:54 +01:00
Roland Geider
b04c0a9a74
Change the info text when something is successfully deleted
...
It should be obvious from the context what happened and this also reduces the
number of strings that have to be translated later.
2020-12-23 13:20:26 +01:00
Roland Geider
63016f655e
Deleting meals works now
...
I am still now completely sure about whether this is the correct architecture
with the providers. Time will tell I guess.
2020-12-23 13:08:04 +01:00
Roland Geider
bf8714dae5
Calculate nutritional values for a meal item
2020-12-23 11:27:50 +01:00
Roland Geider
cd6dc9a1b3
Extract widget
2020-12-23 10:48:53 +01:00
Roland Geider
29746c5639
Decode as utf8
...
Otherwise, emojis (and umlauts) are not displayed correctly 😱
2020-12-22 21:28:14 +01:00
Roland Geider
99d1412a37
More work on nutritional plans widgets
2020-12-22 21:27:25 +01:00
Roland Geider
7bd0181d32
Use base provider for nutritional plans
2020-12-22 13:09:37 +01:00
Roland Geider
b29436d1e3
Fun with TimeOfDay
2020-12-22 12:54:47 +01:00
Roland Geider
571e933281
Fix tests
2020-12-22 11:11:39 +01:00