Roland Geider
71f3c24005
Add helpter to output nutritional values
...
This also makes the regular nutritional plan detail view less noisy
2021-08-17 12:06:05 +02:00
Roland Geider
d6db7a1a75
Move chart and table to card
2021-08-17 11:54:51 +02:00
Roland Geider
f2cda9faae
Remove (wrong) header, content is clear
2021-08-16 19:02:11 +02:00
Roland Geider
d0a4381d50
Somewhat improve alignment of clickable buttons for detail page
2021-08-16 19:01:55 +02:00
Roland Geider
d35e46514e
Allow deleting nutritional diary entries
2021-08-16 18:50:30 +02:00
Roland Geider
b7e1fed3b2
Remove placeholder text
2021-08-16 18:30:04 +02:00
Roland Geider
1222a70e61
Add content to the diary detail page
2021-08-16 18:29:38 +02:00
Roland Geider
7a06789901
Merge branch 'master' into feature/diary-page
...
# Conflicts:
# lib/widgets/nutrition/nutritional_plan_detail.dart
2021-08-16 16:45:08 +02:00
Roland Geider
a1660747f8
Simplify widgets
2021-08-16 16:43:39 +02:00
Roland Geider
d01986238f
Show percent of energy and g per body-kg for macros
2021-08-16 16:24:12 +02:00
Roland Geider
94f2ee1a65
Merge branch 'master' into feature/diary-page
2021-08-11 19:48:29 +02:00
Roland Geider
78c53987e8
Fix casting error in nutrition chart
2021-07-08 18:12:45 +02:00
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
e57220938b
Start working on nutritional diary detail page
2021-06-16 18:42:06 +02:00
Roland Geider
ab10b987b1
Only show action icons when there is data to work with
2021-05-24 14:27:24 +02:00
Roland Geider
d5d6c7a1ba
Make actions more discoverable for plans
...
Plans now show regular icons when expanding the panel. While it is not obvious
at all that the header of a workout day or nutritional plan is swipeable, it
provides a quick way to perform commonly used actions, so it will stay for the
users that have found it
2021-05-24 14:13:36 +02: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
0b13e8260e
Give the add set form a cleanup
2021-05-18 15:00:40 +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
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
cceefdf397
Use material translations for common words
2021-04-30 18:51:38 +02:00
Roland Geider
2c0e1ef05b
Change icons used for expanding panels in workout and nutritional plans
2021-04-30 12:19:11 +02:00
Roland Geider
f82cd65acf
Improve detail view of meals
...
The header and values are now better centered, making this a bit more visually
pleasing
2021-04-28 12:24:02 +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
5c7b580070
Plot the planned calories on the nutritional diary chart
2021-04-25 17:38:26 +02:00
Roland Geider
fc4e9c45df
Add drag indicator to dismissibles
2021-04-25 15:28:06 +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
6370df7b97
Move the action buttons in the dashboard to the side
2021-04-21 12:55:20 +02:00
Roland Geider
254cc4bdfe
Simplify nutrition diary by using a listview
2021-04-13 17:12:30 +02:00
Roland Geider
c663a65b1e
add missing import
2021-04-13 10: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
e60236042b
Remove more hard coded strings
2021-04-10 13:22:15 +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
19d8862fb6
Localize the nutrition diary dates
2021-04-08 12:21:17 +02:00
Roland Geider
0a2222de21
Add a new line after the macroutrient name
...
This makes the pie chart more readable, before the grams were often cropped
2021-04-08 12:19:37 +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
596385fbc2
Replace deprecated snackbar method
2021-04-07 20:56:14 +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
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
1af8ab9ef4
Localize dates
2021-03-19 10:02:07 +01:00
Roland Geider
892e9657c2
Alow the user to delete workout days
2021-03-18 11:03:44 +01:00