Commit Graph

170 Commits

Author SHA1 Message Date
Roland Geider
cdc4dfacb7 Use localization 2021-01-24 21:48:54 +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
eef76d008c Add dropdown menu to nutrition detail page 2021-01-24 12:50:13 +01:00
Roland Geider
3217a7f357 Add dropdown menu to workout detail page 2021-01-24 11:42:01 +01:00
Roland Geider
23ed28e753 Update README.md 2021-01-23 23:36:18 +01:00
Roland Geider
3d7f3d82a6 Refactor workout form to use showFormBottomSheet 2021-01-23 12:48:28 +01:00
Roland Geider
af5027b7ab Remove unneeded whitespace 2021-01-23 10:54:52 +01:00
Roland Geider
81d1880907 Refactor forms to use existing showFormBottomSheet 2021-01-22 23:32:17 +01:00
Roland Geider
62926ae549 Refactor makeUrl
The object ID is an integer and there is now an objectMethod for special object
endpoints.
2021-01-22 23:11:52 +01:00
Roland Geider
12632955df Allow editing of nutritional plans 2021-01-22 22:45:16 +01:00
Roland Geider
988e74f5fa Use localized messages in nutritional plan 2021-01-22 13:21:11 +01:00
Roland Geider
91ddc29228 Show last nutrition diary entries first 2021-01-22 11:29:59 +01:00
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