Commit Graph

176 Commits

Author SHA1 Message Date
Roland Geider
a8488e4625 Add space after comma in exercise names 2021-02-18 22:00:37 +01:00
Roland Geider
aab622bb83 Add drag icon to bottom sheet
This should make more obvious that the whole sheet can be dragged down
2021-02-18 21:38:35 +01:00
Roland Geider
e9c9ae93d6 Allow users to register via the app 2021-02-15 22:27:06 +01:00
Roland Geider
c0759c913e Correctly save sets to the server 2021-02-06 01:18:53 +01:00
Roland Geider
0dd6135378 More work on set form 2021-02-05 22:00:44 +01:00
Roland Geider
61c4a02a66 Start work on set form 2021-02-02 13:33:59 +01:00
Roland Geider
aba9680ce9 Allow adding meals to a workout 2021-02-02 12:53:19 +01:00
Roland Geider
70f55dfa48 Provide feedback after logging a meal 2021-02-01 22:17:13 +01:00
Roland Geider
5a80807e8e Use a FlexibleSpaceBar in workout plan details 2021-02-01 21:53:44 +01:00
Roland Geider
3ea243c43b Allow toggling nutritional values for meals 2021-02-01 10:58:46 +01:00
Roland Geider
264a8dc252 Set border color for outlined buttons 2021-02-01 10:21:47 +01:00
Roland Geider
7c3d05151b Use a FlexibleSpaceBar in nutritional plan details 2021-02-01 10:05:17 +01:00
Roland Geider
6887db4159 Don't load entries with a future
All the data is now loaded on first login and should be always kept in sync
when entries are added or edited. This makes the application more responsive.
2021-01-31 17:32:36 +01:00
Roland Geider
d3eaa11cf9 Properly log meal diary entries 2021-01-31 14:49:26 +01:00
Roland Geider
f94abba1cc Allow weight entries to be deleted 2021-01-28 22:26:00 +01:00
Roland Geider
88c08111bd Test using tab navigation on the bottom
While this is more comfortable, there are problems with nested scaffolds.
Not using scaffolds need other hacky behaviours. Luckily we don't need to
keep the widget state when changing pages so this might be OK
2021-01-28 22:03:31 +01:00
Roland Geider
8d2696dbaf Call set server and application version after login 2021-01-28 12:49:21 +01:00
Roland Geider
5cbdb64dea Replace placeholder text in about dialog 2021-01-27 23:02:56 +01:00
Roland Geider
e2f8da0724 Remove unused asset image 2021-01-27 16:49:50 +01:00
Roland Geider
e14974e69f Add autofill hints for login data 2021-01-27 16:48:48 +01:00
Roland Geider
62c1be5b16 Pre-load necessary data 2021-01-27 13:36:01 +01:00
Roland Geider
fb8083912f Remove RefreshIndicator and some work on providers
(still not the optimal solution)
2021-01-26 20:38:47 +01:00
Roland Geider
e31e1bd6c0 Don't start the y axis always with zero 2021-01-26 00:22:21 +01:00
Roland Geider
4c37d5bf91 Refactor weight entry form to use showFormBottomSheet 2021-01-25 21:43:50 +01:00
Roland Geider
b7afe1261c Use correct meal object 2021-01-25 13:59:47 +01:00
Roland Geider
b8c479b30f Show nutritional plan description in header 2021-01-25 13:56:29 +01:00
Roland Geider
ad672ae269 Fix error when there was no search query for exercises 2021-01-25 13:47:44 +01:00
Roland Geider
1314c899d0 Show exercise category in autocompleter 2021-01-25 12:33:20 +01:00
Roland Geider
90f5c13f9d Correctly filter log data for current workout 2021-01-25 11:43:22 +01:00
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
3d7f3d82a6 Refactor workout form to use showFormBottomSheet 2021-01-23 12:48:28 +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