Roland Geider
31edbb3b48
Loop through all result pages when loading logs
2021-05-19 22:34:36 +02:00
Roland Geider
e45115d26e
Make RiR form element a slider
...
This allows the user to select the correct value faster
2021-05-19 21:35:07 +02:00
Roland Geider
8474d2d598
Allow the user to jump to the different exercises in the gym mode
2021-05-19 14:13:04 +02:00
Roland Geider
d5521082a6
Override the equals operator for workout plan logs
...
Two logs are considered equal if their content is equal. This is used e.g.
in the gym mode where we want to have unique values
2021-05-18 22:14:58 +02:00
Roland Geider
e2ec4669ed
Replace dropdown for impression with icons
...
This makes it more obvious and is easier and faster to use
2021-05-18 16:12:20 +02:00
Roland Geider
7bd1dcaa26
Replace exit icon on gym mode to something more standard
2021-05-18 15:38:24 +02:00
Roland Geider
b59e30b220
Send app information in the user agent when making requests
2021-05-17 20:06:46 +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
699ea87c5f
Add some tests for the picture gallery
2021-05-11 13:44:04 +02:00
Roland Geider
123f64d0eb
Add some tests for the picture gallery
2021-05-11 13:18:20 +02:00
Roland Geider
ee2e6ac671
Give providers a consistent name
2021-05-11 12:10:53 +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
964af57f5b
Commit generated files
2021-05-08 21:10:54 +02:00
Roland Geider
431f749674
Start adding user gallery
2021-05-06 14:02:04 +02:00
Roland Geider
6ab3e26db4
Rename workout description to name
2021-05-06 13:18:32 +02:00
Roland Geider
7efd46c1eb
Commit generated mocks
2021-05-01 15:33:40 +02:00
Roland Geider
86d2b70057
Simple test for log forms in gym mode
2021-05-01 12:40:08 +02:00
Roland Geider
4935ad4c77
Comment test
...
We need a navigator stack to test that we arrive back at the detail page or at
least a navigator observer to check that we pop() the page
2021-04-28 12:52:06 +02:00
Roland Geider
32ecd9e6a1
Commit set model test stub
2021-04-28 10:46:57 +02:00
Roland Geider
90c1f3c3b6
Add simple test for exercise detail widget
2021-04-28 10:45:31 +02:00
Roland Geider
f67cb1797b
Calculates reps for a set locally
...
This saves us unneeded round trips to the server
See #14
2021-04-24 13:58:14 +02:00
Roland Geider
adb1dec9e6
Revert "Add tests with golden files"
...
This reverts commit a7b67631df .
2021-04-24 13:47:28 +02:00
Roland Geider
a7b67631df
Add tests with golden files
...
Let's see if this doesn't make too much work later on, when changing some detail
in a widget causes the test to fail
2021-04-24 12:31:08 +02:00
Roland Geider
3c21650003
Translate week day names in workout screens
2021-04-24 12:31:08 +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
1b7b78c640
Add tests for DayFormWidget
2021-04-23 11:32:00 +02:00
Roland Geider
b175763c94
Test that the current workout description is pre filled
2021-04-23 10:44:05 +02:00
Roland Geider
3c4ac3861d
Test the WorkoutForm form
2021-04-22 18:35:05 +02:00
Roland Geider
5bc1ca699d
Return a new instance when adding nutritional values
...
Changing the current one doesn't make sense
2021-04-22 10:28:53 +02:00
Roland Geider
8c31f2ef09
Add more tests
2021-04-21 22:05:50 +02:00
Roland Geider
4f06e9b083
Bump dependencies versions
2021-04-21 11:02:19 +02:00
Roland Geider
98981b0c68
Improve workout log page
...
This view now shows the logs performed on the selected day, as well as charts
for the individual exercises
Closes #17
2021-04-19 16:31:58 +02:00
Roland Geider
5051c28c40
Test that old logs are shown in the gym mode
2021-04-19 16:31:57 +02:00
Roland Geider
7e2ba3468d
Show past logs in gym mode
...
See #13
2021-04-15 13:28:12 +02:00
Roland Geider
9988807c25
Move data to test data folder
2021-04-15 11:05:35 +02:00
Roland Geider
d2a7733703
Add simple widget test for gym mode screen
2021-04-14 20:28:49 +02:00
Roland Geider
e76ba740c8
Use setter to save ID and object references
2021-04-14 12:21:40 +02:00
Roland Geider
9b791eba8c
Add simple widget test for workout plan screen
2021-04-13 17:50:42 +02:00
Roland Geider
47e9c12d26
Add simple widget test for nutritional plan screen
2021-04-13 17:12:30 +02:00
Roland Geider
ad7507c8b7
Update license header as well
2021-04-13 10:28:15 +02:00
Roland Geider
9c851f202f
Add test for setting model
2021-04-13 10:28:15 +02:00
Roland Geider
6d67fefb1b
Don't generate mocks for weight_provider_test.dart
...
This is already done for the base test
2021-04-07 14:12:51 +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
97829e0408
Add more tests for nutrition and workout plan overview
2021-03-30 13:25:36 +02:00
Roland Geider
5263c074f2
Make tests work with (no sound) null safety
2021-03-30 12:51:18 +02:00
Roland Geider
ecd2773a87
Upgrade packages and move application to null safety
2021-03-25 22:20:16 +01:00
Roland Geider
c6228ec048
Add more tests for the body weight screen
2021-03-19 10:23:57 +01:00