Roland Geider
dc5fc5d92f
Slight improvements to the nutritional values table
2021-01-21 16:02:22 +01:00
Roland Geider
38f2c260ca
Move nutrition diary to own widget, prettify the log table
2021-01-20 13:18:50 +01:00
Roland Geider
5fc6c22917
Remove the FutureBuilder from nutritional_plans_screen.dart
...
The plans have been loaded already anyway (and can be refreshed if desired)
2021-01-19 18:22:38 +01:00
Roland Geider
9712d37242
Some refactoring of the dashboard
...
All the workouts and plans are now loaded up front, since they are needed anyway
2021-01-19 18:14:38 +01:00
Roland Geider
2e96078af6
Save used ingredients to local cache
...
This saves us hundreds of requests to the REST api
2021-01-19 17:41:08 +01:00
Roland Geider
deb7d86eac
Some visual polishing of the dashboard widget
2021-01-19 13:34:13 +01:00
Roland Geider
cc9418b41e
Sort nutritional and workout plans as well
2021-01-19 12:18:41 +01:00
Roland Geider
26dafb7ccc
Sort weight entries by date (newest first)
2021-01-19 11:48:26 +01:00
Roland Geider
696eb30c26
Use constants for HTTP headers
2021-01-19 11:32:58 +01:00
Roland Geider
ac99aa0ec0
Center the progress indicator for workouts on dashboard
2021-01-16 22:14:58 +01:00
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