Commit Graph

111 Commits

Author SHA1 Message Date
Roland Geider
6f36d9d9b0 Improve speed by downloading independent data in parallel 2021-04-30 10:58:08 +02:00
Roland Geider
b4bdec0d5a Add autofill group to fields in auth screen 2021-04-28 11:12:55 +02:00
Roland Geider
2424199e09 Add tests for PlanForm 2021-04-23 12:47:12 +02:00
Roland Geider
5c20384426 Remove gym option rom workout screen mode enum
This was never used, the gym mode is its own screen
2021-04-19 16:31:57 +02:00
Roland Geider
7e2ba3468d Show past logs in gym mode
See #13
2021-04-15 13:28:12 +02:00
Roland Geider
a0d3df6d8d Delete commented code 2021-04-13 17:12:30 +02:00
Roland Geider
6911160f10 Reduce vertical padding
This is not needed anymore with the SafeArea widget
2021-04-13 11:57:03 +02:00
Roland Geider
ad7507c8b7 Update license header as well 2021-04-13 10:28:15 +02:00
Roland Geider
e60236042b Remove more hard coded strings 2021-04-10 13:22:15 +02:00
Roland Geider
78c70c7918 Move gym mode content into a SafeArea widget 2021-04-10 13:22:15 +02:00
Roland Geider
b3dc1d23cb Don't prefill the user and password with development values 2021-04-10 13:22:15 +02:00
Roland Geider
e9446e8cae Redirect to the correct screen after editing a nutritional plan 2021-04-08 12:39:06 +02:00
Roland Geider
5d8396cf4d Remove comment from the null safety migration tool 2021-04-07 21:09:31 +02:00
Roland Geider
392c353b85 Show reps and weight for each exercise in gym mode 2021-04-07 13:17:18 +02:00
Roland Geider
5557686ff7 Polish the gym mode and other widgets 2021-04-06 20:41:44 +02:00
Roland Geider
9e8d2e055a Polish the add set form 2021-04-05 17:20:46 +02:00
Roland Geider
bf9abea7aa Render forms in own scaffold
This eliminates many of the overflow problems from the bottom sheet
2021-04-02 17:35:31 +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
ecd2773a87 Upgrade packages and move application to null safety 2021-03-25 22:20:16 +01:00
Roland Geider
d4ca43291d Skip auth card tests and add body weight ones 2021-03-18 22:10:43 +01:00
Roland Geider
1ad4e5aebb Move default server to constants file 2021-03-18 11:16:22 +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
8c710fb2b0 Allow using a custom wger instance for login 2021-03-14 22:56:24 +01:00
Roland Geider
cc729f305b Replace more unstranslated strings 2021-03-12 13:07:52 +01:00
Roland Geider
592378f775 Add 'gym mode' to translation files
(testing weblate integration)
2021-03-11 12:07:46 +01:00
Roland Geider
3618746667 Add background images for hero images to assets 2021-03-11 11:17:06 +01:00
Roland Geider
d8fe89ba56 Move translations to new i18n approach 2021-03-10 23:32:23 +01:00
Roland Geider
0c857df953 Further work on gym mode 2021-03-03 00:47:26 +01:00
Roland Geider
0d3e2ef8ff Add gym workout screen 2021-02-23 22:31:25 +01:00
Roland Geider
3931093606 Set the latest workout as the current one 2021-02-22 19:53:42 +01:00
Roland Geider
e9c9ae93d6 Allow users to register via the app 2021-02-15 22:27:06 +01:00
Roland Geider
0dd6135378 More work on set form 2021-02-05 22:00:44 +01:00
Roland Geider
5a80807e8e Use a FlexibleSpaceBar in workout plan details 2021-02-01 21:53:44 +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
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
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
4c37d5bf91 Refactor weight entry form to use showFormBottomSheet 2021-01-25 21:43:50 +01:00
Roland Geider
b8c479b30f Show nutritional plan description in header 2021-01-25 13:56:29 +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
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