Roland Geider
4e23365f95
Show the plan's nutritional values
2020-12-26 13:11:54 +01:00
Roland Geider
b18e90b249
Allow to log meals all at once
2020-12-26 12:56:53 +01:00
Roland Geider
c564f80a83
Add chart to nutritional plan showing macronutrients
2020-12-25 13:12:22 +01:00
Roland Geider
464a4c6bc8
Delete meal items on long press
2020-12-25 00:40:35 +01:00
Roland Geider
8b2a150e5d
Set isScrollControlled to true
...
This makes the bottom sheet take up all the available space. Still needs to be
tweaked because now all the form elements are at the top of the screen, which is
more difficult to reach.
2020-12-25 00:27:10 +01:00
Roland Geider
1cf1cff93a
Mute the text for the nutritional values
...
The user should not see a spreadsheet when he opens the plan
2020-12-24 23:51:21 +01:00
Roland Geider
610cdd7aa0
Rename provider
2020-12-24 23:32:26 +01:00
Roland Geider
d175512710
Fix body weight URL
2020-12-24 23:31:34 +01:00
Roland Geider
e4e4907782
Allow to add meal items to a meal
2020-12-24 16:36:54 +01:00
Roland Geider
b04c0a9a74
Change the info text when something is successfully deleted
...
It should be obvious from the context what happened and this also reduces the
number of strings that have to be translated later.
2020-12-23 13:20:26 +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
bf8714dae5
Calculate nutritional values for a meal item
2020-12-23 11:27:50 +01:00
Roland Geider
cd6dc9a1b3
Extract widget
2020-12-23 10:48:53 +01:00
Roland Geider
29746c5639
Decode as utf8
...
Otherwise, emojis (and umlauts) are not displayed correctly 😱
2020-12-22 21:28:14 +01:00
Roland Geider
99d1412a37
More work on nutritional plans widgets
2020-12-22 21:27:25 +01:00
Roland Geider
7bd0181d32
Use base provider for nutritional plans
2020-12-22 13:09:37 +01:00
Roland Geider
b29436d1e3
Fun with TimeOfDay
2020-12-22 12:54:47 +01:00
Roland Geider
966d5d54d6
Output plan ingredients
2020-12-21 23:41:57 +01:00
Roland Geider
64bce37250
Show meal content
2020-12-21 21:07:50 +01:00
Roland Geider
58d131b31a
Some more work on the nutritional plans
2020-12-21 20:47:18 +01:00
Roland Geider
7e8b9090c6
Add detail screen for nutritional plans
2020-12-21 14:19:27 +01:00
Roland Geider
cbfaa67c1d
Move common code to base provider class
2020-12-21 13:16:40 +01:00
Roland Geider
c9190cbb22
Some work on HTTP exception
2020-12-06 23:18:34 +01:00
Roland Geider
3bbd22c3d5
Remove unused import
2020-12-06 22:48:41 +01:00
Roland Geider
f1533b4b8d
Move less used options to the bottom of the menu
2020-12-06 22:47:18 +01:00
Roland Geider
3160e2cc0f
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# lib/models/body_weight/weight_entry.dart
# test/utils.dart
# test/weight_provider_test.dart
2020-12-06 22:05:24 +01:00
Roland Geider
1c9d0ab7f6
Add copyright notice to all files
2020-12-06 17:14:50 +01:00
Roland Geider
cc30b3d9ce
Rename exception to avoid name collisions
2020-12-06 17:03:12 +01:00
Roland Geider
c237f4ad77
Remove print statements
2020-12-06 16:58:55 +01:00
Roland Geider
3dd2197b34
Add form to add a description to new nutritional plans
2020-12-06 16:56:42 +01:00
Roland Geider
1d5e61552f
Improvements to weight edit form
2020-12-06 14:55:41 +01:00
Roland Geider
f84ddcad78
Show error message when adding weight entries doesn't work
2020-12-05 12:52:00 +01:00
Roland Geider
a63a4e7544
Add chart to weight screen
2020-12-04 19:42:34 +01:00
Roland Geider
9b41f0e72f
Add auth screen widget test
2020-12-02 13:42:12 +01:00
Roland Geider
66a798dde5
Merge remote-tracking branch 'origin/master'
2020-12-02 13:38:24 +01:00
Roland Geider
a69f8045ed
Move some stuff to utils.dart
2020-12-01 22:12:53 +01:00
Roland Geider
c9b6e16067
Add tests for the body weight provider
2020-12-01 21:59:17 +01:00
Roland Geider
19195b625f
Merge remote-tracking branch 'origin/master'
2020-12-01 18:29:29 +01:00
Roland Geider
741ad8ebae
Fix port
2020-12-01 13:22:26 +01:00
Roland Geider
43f6c64081
Some improvements to exception handling
2020-12-01 13:20:58 +01:00
Roland Geider
1f65bb8295
Put password fields next to each other
2020-12-01 11:53:37 +01:00
Roland Geider
4f10bf6160
Correctly show error messages from the server
...
This still looks kinda awful...
2020-12-01 11:48:25 +01:00
Roland Geider
704333f5af
Add controllers to text fields
...
Otherwise, the filled in content would jump around when switching modes
2020-12-01 11:46:44 +01:00
Roland Geider
917deb2fd3
Small reworking of the auth page
2020-12-01 10:46:53 +01:00
Roland Geider
f87505fc79
Make workout day header dismissible, with placeholder actions
2020-11-28 12:15:29 +01:00
Roland Geider
ace3e8bfe6
Add about dialog placeholder
2020-11-27 22:16:19 +01:00
Roland Geider
4f1e0b8b15
Commit current state of set editing widget
2020-11-27 20:17:02 +01:00
Roland Geider
9589c0e9c4
Update button names
2020-11-27 20:16:31 +01:00
Roland Geider
4d956211dd
Update theme
2020-11-27 20:13:02 +01:00
Roland Geider
8c247f70d9
Add a bit of background color to workout day header
2020-11-27 15:55:02 +01:00