Roland Geider
373cfb0dfd
Add exercise set placeholder form
2020-12-29 13:22:47 +01:00
Roland Geider
3c505db785
Add exercise type ahead to set form
2020-12-28 19:34:39 +01:00
Roland Geider
c441390e84
Remove commented code
2020-12-28 18:36:23 +01:00
Roland Geider
fdc3996aed
Fix base provider test
2020-12-28 18:27:59 +01:00
Roland Geider
8ad2cfacfe
Move workout day form to own file
2020-12-28 12:45:38 +01:00
Roland Geider
44b6a80db8
Rename test file to be more consistent with the others
2020-12-28 12:36:53 +01:00
Roland Geider
301750cb96
Use WgerBaseProvider with workout plans as well
2020-12-28 12:16:21 +01:00
Roland Geider
fafaa0e8bb
Refactor Exercise provider
2020-12-28 11:34:54 +01:00
Roland Geider
94e87d6faa
Remove unused properties
2020-12-28 11:34:17 +01:00
Roland Geider
e35040ea18
Rename URL path variables
2020-12-28 10:59:30 +01:00
Roland Geider
7d78a77500
Refactor the base provider
...
The http client is now passed as a constructor argument and de-clutters all the
functions, while still allowing for mocking.
2020-12-27 12:51:40 +01:00
Roland Geider
8257153569
Fix body weight test
2020-12-27 12:21:08 +01:00
Roland Geider
4c42f83a11
Chart the values for the nutritional diary
2020-12-27 12:00:29 +01:00
Roland Geider
5f4a25e9ec
Add nutritional values calculations to diary
2020-12-27 11:22:46 +01:00
Roland Geider
33a3c71af0
Some work on makeUrl helper
2020-12-26 19:15:55 +01:00
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
571e933281
Fix tests
2020-12-22 11:11:39 +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
aed4beb0ab
Delete empty dummy test
2020-12-06 17:15:15 +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
4c12607671
Add uncommited weight model test
2020-12-06 16:22:26 +01:00
Roland Geider
d510079055
Fix tests
2020-12-06 16:20:32 +01:00
Roland Geider
1d5e61552f
Improvements to weight edit form
2020-12-06 14:55:41 +01:00