Commit Graph

438 Commits

Author SHA1 Message Date
Roland Geider
1316a34046 Add screenshots 2021-04-28 13:57:29 +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
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
b4bdec0d5a Add autofill group to fields in auth screen 2021-04-28 11:12:55 +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
414f2eb234 Show exercise details from workout page 2021-04-28 10:26:47 +02:00
Roland Geider
5c7b580070 Plot the planned calories on the nutritional diary chart 2021-04-25 17:38:26 +02:00
Roland Geider
7485bc3b57 Add workout log button
This is more obvious than the option in the menu, but doesn't look completely
fine yet
2021-04-25 17:11:21 +02:00
Roland Geider
e9a0615775 Use local date as key
This hopefully fixes an error where no logs would be shown in the calendar when
running the app on a real device
2021-04-25 16:59:36 +02:00
Roland Geider
7c7829f473 Handle ingredient name overflowing in the dashboard 2021-04-25 16:19:06 +02:00
Roland Geider
37e4cf3551 Save local date
This hopefully fixes an error where no logs would be shown in the calendar when
running the app on a real device
2021-04-25 16:17:16 +02:00
Roland Geider
fc4e9c45df Add drag indicator to dismissibles 2021-04-25 15:28:06 +02:00
Roland Geider
809d5ab51f Mute the repetitions of exercises in the dashboard 2021-04-25 15:01:02 +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
Stefano Rossi
c5fa7c0955 Translated using Weblate (Italian)
Currently translated at 100.0% (111 of 111 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-04-24 09:39:42 +02:00
Roland Geider
c870d29c38 Improve initial loading time
We save some requests by using the info endpoints, but this can still be improved

See #14
2021-04-23 18:37:37 +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
8fbf681cfe Translated using Weblate (German)
Currently translated at 100.0% (111 of 111 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-04-23 10:32:11 +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
martingetzel
8787dc0582 Translated using Weblate (Spanish)
Currently translated at 100.0% (111 of 111 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2021-04-22 10:23:35 +02:00
Roland Geider
8c31f2ef09 Add more tests 2021-04-21 22:05:50 +02:00
Roland Geider
ff22d830b2 Rework the about page
This now has more structure and direct links to important places
2021-04-21 22:05:50 +02:00
Roland Geider
9331a64691 Sort dependencies alphabetically, this is easier to read 2021-04-21 22:05:49 +02:00
Allan Nordhøy
30b5fc1c79 Translated using Weblate (Norwegian Bokmål)
Currently translated at 80.3% (82 of 102 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nb_NO/
2021-04-21 13:05:58 +02:00
Allan Nordhøy
5965360262 Translated using Weblate (English)
Currently translated at 100.0% (102 of 102 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/en/
2021-04-21 13:05:58 +02:00
Roland Geider
3ae15688c5 Correctly order workout logs by date 2021-04-21 13:05:10 +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
deea1b1ed4 Don't show decimal places for meal items 2021-04-21 11:26:44 +02:00
Roland Geider
4f06e9b083 Bump dependencies versions 2021-04-21 11:02:19 +02:00
Roland Geider
212a9eca25 Merge remote-tracking branch 'weblate/master'
# Conflicts:
#	.github/workflows/android-release.yml
2021-04-21 10:18:19 +02:00
Roland Geider
bd529caa60 Mention how the versions are set during build 2021-04-21 10:17:05 +02:00
Roland Geider
bcc444d084 Remove Gemfile.lock 2021-04-21 10:10:36 +02:00
Roland Geider
13e8961507 Start implementing automatic builds 2021-04-21 10:04:07 +02:00
Roland Geider
6cd498bc4f Start implementing automatic builds 2021-04-21 09:43:25 +02:00
Roland Geider
9bc7b9856c Start implementing automatic builds 2021-04-20 20:42:07 +02:00
Roland Geider
7e844b8452 Start implementing automatic builds 2021-04-20 20:14:50 +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
6215019e73 Set available gestures in dashboard calendar
We don't support different calndar types (4 weeks, 2 weeks, etc.) anyway
2021-04-19 16:31:57 +02:00
Roland Geider
1f20c87a2d Update calendar widget to 3.0 2021-04-19 16:31:57 +02:00
Roland Geider
5c20384426 Remove gym option rom workout screen mode enum
This was never used, the gym mode is its own screen
2021-04-19 16:31:57 +02:00