Commit Graph

35 Commits

Author SHA1 Message Date
Github-actions
c877e436b0 Automatic linting 2021-06-22 21:10:15 +00:00
Github-actions
7492b53c67 Automatic linting 2021-06-20 13:09:24 +00:00
Roland Geider
b915c764ef Don't check AppLocalizations for null values
This is not needed in flutter 2.2 anymore
2021-05-19 11:50:43 +02:00
Roland Geider
a0d316eef4 Move general settings to option icon
The drawer was removed since it was not providing any real navigation and was
non-standard anyway. Also, some cleanup and slight refactoring.
2021-05-17 21:18:33 +02:00
Roland Geider
09ed4dc402 Refactor calendar on dashboard
The scrollable list view is now removed. There can't be that many different
types of events for a single day anyway.
2021-05-17 18:22:37 +02:00
Roland Geider
6c4a09bf97 Refactor dashboard.dart
This design should be cleaner and more compact
2021-05-17 18:07:29 +02:00
Roland Geider
642b0b8658 No need to fetch all nutritional diary logs on the dashboard
This happens when loading the full plan anyway
2021-05-13 14:10:14 +02:00
Roland Geider
2468e600c6 Fetch nutritional plan details when visiting the detail page
This helps reduce the data loaded when loading the app the first time

See #14
2021-05-13 13:35:16 +02:00
Roland Geider
b90d0a0008 Fetch plan details when visiting the detail page
See #14
2021-05-13 13:19:07 +02:00
Roland Geider
ee2e6ac671 Give providers a consistent name 2021-05-11 12:10:53 +02:00
Roland Geider
4728360149 Move gallery to own provider
Since this has its own icon in the main navigation
2021-05-11 11:48:28 +02:00
Roland Geider
21cfa33978 Fix getter for images in exerciseinfo endpoint
This was renamed recently
2021-05-10 13:55:36 +02:00
Roland Geider
431f749674 Start adding user gallery 2021-05-06 14:02:04 +02:00
Roland Geider
6f36d9d9b0 Improve speed by downloading independent data in parallel 2021-04-30 10:58:08 +02:00
Roland Geider
7e2ba3468d Show past logs in gym mode
See #13
2021-04-15 13:28:12 +02:00
Roland Geider
ad7507c8b7 Update license header as well 2021-04-13 10:28:15 +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
cc729f305b Replace more unstranslated strings 2021-03-12 13:07:52 +01:00
Roland Geider
d8fe89ba56 Move translations to new i18n approach 2021-03-10 23:32:23 +01:00
Roland Geider
3931093606 Set the latest workout as the current one 2021-02-22 19:53:42 +01:00
Roland Geider
0dd6135378 More work on set form 2021-02-05 22:00:44 +01:00
Roland Geider
5cbdb64dea Replace placeholder text in about dialog 2021-01-27 23:02:56 +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
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
b8c159c841 Add nutritional diary data to calendar 2021-01-16 13:44:19 +01:00
Roland Geider
ef5e19f68e Add calendar to dashboard 2021-01-13 13:11:41 +01:00
Roland Geider
5d6a5887bd Refactor the dashboard, showing some charts 2020-12-30 14:30:42 +01:00
Roland Geider
005e719c78 Move body weight chart to own widget 2020-12-29 21:28:42 +01:00
Roland Geider
1c9d0ab7f6 Add copyright notice to all files 2020-12-06 17:14:50 +01:00
Roland Geider
99078df6e6 Save exercises to cache 2020-11-15 21:20:07 +01:00
Roland Geider
69639bfbdc Use generators to read/write JSON 2020-11-15 17:25:51 +01:00