Commit Graph

32 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
ee2e6ac671 Give providers a consistent name 2021-05-11 12:10:53 +02:00
Roland Geider
f0fa8a5173 Nutritional plan time is nullable 2021-05-01 15:33:28 +02:00
Roland Geider
4c7452e634 Fix bug preventing addind and editing meal items 2021-04-28 11:47:30 +02:00
Roland Geider
0673cbf3ce Correctly handle navigation when adding or editing plans 2021-04-28 11:24:23 +02:00
Roland Geider
6cf54b231e Add tests for MealForm 2021-04-23 13:48:02 +02:00
Roland Geider
2424199e09 Add tests for PlanForm 2021-04-23 12:47:12 +02:00
Roland Geider
ad7507c8b7 Update license header as well 2021-04-13 10:28:15 +02:00
Roland Geider
e3dc898a6e Return created workout and nutrition plan 2021-04-10 13:22:16 +02:00
Roland Geider
1d1d62d950 Search ingredients and exercises in the current locale 2021-04-08 12:46:36 +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
81a22a4052 Fix error when that prevented adding ingredients to a meal 2021-04-08 12:16:57 +02:00
Roland Geider
8326fe2aee Rename some methods for more consistency 2021-04-05 19:00:31 +02:00
Roland Geider
6a63a390ef Use a nutritional plan object again for editing / adding 2021-04-05 18:59:17 +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
e8608976ea Make forms in gym mode work 2021-03-10 12:05:27 +01:00
Roland Geider
b7afe1261c Use correct meal object 2021-01-25 13:59:47 +01:00
Roland Geider
e3c729f917 Allow editing of meals 2021-01-24 20:48:31 +01:00
Roland Geider
81d1880907 Refactor forms to use existing showFormBottomSheet 2021-01-22 23:32:17 +01:00
Roland Geider
b8c159c841 Add nutritional diary data to calendar 2021-01-16 13:44:19 +01:00
Roland Geider
c441390e84 Remove commented code 2020-12-28 18:36:23 +01:00
Roland Geider
610cdd7aa0 Rename provider 2020-12-24 23:32:26 +01:00
Roland Geider
e4e4907782 Allow to add meal items to a meal 2020-12-24 16:36:54 +01:00
Roland Geider
63016f655e Deleting meals works now
I am still now completely sure about whether this is the correct architecture
with the providers. Time will tell I guess.
2020-12-23 13:08:04 +01:00
Roland Geider
cd6dc9a1b3 Extract widget 2020-12-23 10:48:53 +01:00
Roland Geider
99d1412a37 More work on nutritional plans widgets 2020-12-22 21:27:25 +01:00
Roland Geider
b29436d1e3 Fun with TimeOfDay 2020-12-22 12:54:47 +01:00