Commit Graph

1257 Commits

Author SHA1 Message Date
Milo Ivir
2c892dddb8 Translated using Weblate (Croatian)
Currently translated at 100.0% (244 of 244 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2024-01-25 21:01:50 +01:00
Roland Geider
4af4462498 Remove unused import 2024-01-23 21:14:06 +01:00
Roland Geider
eba08b1d66 Make behaviour of cards more consistent
Now the workout card has the "go to detail page" on the left as well
2024-01-23 17:00:57 +01:00
Roland Geider
d31b09d8e2 Make behaviour of cards more consistent
Now the nutrition card has the "go to detail page" on the left and
the action icon on the right as well
2024-01-23 16:56:10 +01:00
Roland Geider
003038e67d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	test/weight/weight_screen_test.dart
2024-01-23 16:42:25 +01:00
Roland Geider
b0cae79650 Merge branch 'ux_fixes_problem' 2024-01-23 16:40:36 +01:00
Roland Geider
d4e4f3384a Use the user's preferred unit for body weight 2024-01-23 16:33:32 +01:00
Roland Geider
5003c00b32 Small tweaks 2024-01-23 15:23:06 +01:00
Roland Geider
3f46277c75 Fix test
Since we're mocking the provider no entries are actually being deleted anywhere
2024-01-23 14:58:53 +01:00
Costas Korai
135ddb4a78 Update to use clock.now where needed
- The initial time set in the MealForm is defined in
the meal model object provided to the MealForm so both
the test and the meal object had to use clock.now in
order for the fixed value to apply to both.
2024-01-24 00:47:43 +11:00
Roland Geider
28826bd874 Merge branch 'master' into ux_fixes_problem
# Conflicts:
#	flatpak/scripts/flatpak_shared.dart
#	flatpak/scripts/manifest_generator.dart
2024-01-23 14:38:46 +01:00
Victor Jouhoff
f45c49f5b2 Translated using Weblate (German)
Currently translated at 99.5% (240 of 241 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2024-01-23 14:31:21 +01:00
Roland Geider
2dc08a133e Merge pull request #459 from 12people/ux_fixes
Removing Dismissible for better discoverability
2024-01-23 14:31:16 +01:00
Roland Geider
3008dcc6ce Merge branch 'master' into ux_fixes 2024-01-23 14:24:13 +01:00
Oğuz Ersen
941b138a3c Translated using Weblate (Turkish)
Currently translated at 100.0% (241 of 241 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/tr/
2024-01-22 17:01:32 +01:00
Roland Geider
51a0e8798d Correctly show any errors from the server on the registration page
Also, add some tests
2024-01-22 16:55:59 +01:00
Milo Ivir
4f682ba17f Translated using Weblate (Croatian)
Currently translated at 100.0% (241 of 241 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2024-01-13 15:31:45 +01:00
Roland Geider
0400d1b9c4 Small tweaks 2024-01-12 14:56:33 +01:00
Roland Geider
190f47f76b Merge branch 'master' into ux_fixes 2024-01-12 14:54:25 +01:00
Milo Ivir
4299a7e4ef Translated using Weblate (Croatian)
Currently translated at 99.5% (236 of 237 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2024-01-12 14:51:09 +01:00
Roland Geider
8224d52fa5 Remove copy pasted code 2024-01-11 22:17:34 +01:00
Roland Geider
ecbed70810 Use a better icon 2024-01-11 22:16:54 +01:00
Roland Geider
e67d992385 Add (for now) simple settings page to reset the exercise cache
This should be expanded later to allow to re-fetch all available exercises, etc.
2024-01-11 22:13:11 +01:00
Roland Geider
95eed706fb Remove unused locator 2024-01-11 21:22:51 +01:00
Roland Geider
2c9a001f1c Save the database to the application cache folder
The documents folder is suggested for files that can't be generated by the
application itself
2024-01-11 21:14:41 +01:00
Roland Geider
802da6aa1c Don't use ExerciseBase anymore... 2024-01-11 11:28:25 +01:00
Roland Geider
396c98dbd9 Merge branch 'master' into feat/data-persistence
# Conflicts:
#	lib/widgets/add_exercise/steps/step2variations.dart
#	pubspec.lock
2024-01-11 11:20:31 +01:00
Roland Geider
b9b51dbad3 Rename constant to make it more clear what they are 2024-01-11 11:17:36 +01:00
Roland Geider
a87c0e7063 Add link to buymeacoffee for donations 2024-01-11 11:16:49 +01:00
Roland Geider
f4185efa37 Add AboutEntry widget 2024-01-11 11:02:33 +01:00
null
4d90b8fc13 Fix bugs (#476)
* #454 issue, prefill only on debug mode

* #454 issue, prefill only on debug mode

* added myself <3

* -

* -

* fix #478 LateInitializationError

* add consts, make the funcs private

* latest update, change the name of prod, adding test server in debug mode

* -

---------

Co-authored-by: allohibihanaa <digitalhanaa@gmail.com>
Co-authored-by: Roland Geider <roland@geider.net>
2024-01-11 10:42:24 +01:00
Github-actions
0bc5e8e9e6 Automatic linting 2024-01-10 14:45:21 +00:00
Roland Geider
cd1caa0126 Fix merge problems 2024-01-09 15:56:57 +01:00
Roland Geider
d51b6d7d87 Merge branch 'master' into feat/data-persistence
# Conflicts:
#	lib/main.dart
#	lib/providers/exercises.dart
#	lib/widgets/workouts/day.dart
#	pubspec.lock
#	pubspec.yaml
2024-01-09 15:37:48 +01:00
Roland Geider
24e031d595 Finally fix the tests
We now dependency inject the database for the whole exercise provider,
this makes our lives a bit easier
2024-01-09 15:00:36 +01:00
David Olewski
6cbd575b13 Translated using Weblate (French)
Currently translated at 99.1% (233 of 235 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2024-01-08 11:06:23 +00:00
oarion
b9c61d9913 Translated using Weblate (Italian)
Currently translated at 100.0% (235 of 235 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2024-01-08 11:06:22 +00:00
Roland Geider
729e3cee48 Translated using Weblate (German)
Currently translated at 96.1% (226 of 235 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2024-01-08 11:06:10 +00:00
Roland Geider
dd29126acb Uncomment setLogEnabled
This was making problems when running the application as a flatpak under linux

See #424
2024-01-07 17:28:25 +01:00
Milksheyke
7fe9b645fd Remove unnecessary comment 2024-01-06 00:59:54 -05:00
Milksheyke
d0bc72fdef Add "Contribute an exercise" to "No matching exercise" suggestion
Created noItemsFoundBuilder callback for typeAheadFormField in exercise search form.
2024-01-06 00:41:57 -05:00
Milksheyke
0164cef968 Add noMatchingExersieFound message entry
This message is to be displayed when no exercise items are found.

Fixed typo
2024-01-06 00:20:48 -05:00
Roland Geider
89229a20cc Remove variation list
This wasn't really needed, we can just filter exercises by their variationID
2023-12-30 18:15:00 +01:00
Roland Geider
acbee49100 Simplify generating translation objects 2023-12-30 17:55:52 +01:00
Roland Geider
f951b6117a Try to generate ExerciseApiData objects only within the exercises model 2023-12-28 22:32:28 +01:00
Roland Geider
c4577ca5d7 Further tweaking exercise cache handling
handleUpdateExerciseFromApi should now be faster and save up on some requests.
Ideally we would pre-populate the database with all exercises on first run, or
even just ship it pre-filled
2023-12-28 17:48:15 +01:00
Hanaa
9faacfca9c Translated using Weblate (Arabic)
Currently translated at 100.0% (234 of 234 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ar/
2023-12-28 08:24:13 +01:00
sasukeiscool
071466ca68 Translated using Weblate (Japanese)
Currently translated at 67.0% (157 of 234 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ja/
2023-12-28 08:24:12 +01:00
Roland Geider
35a9dc046f Add test for force initializing the cache dates 2023-12-27 13:41:50 +01:00
Roland Geider
b64458603f Rename further occurrences of "exercise base" to just "exercise" 2023-12-26 21:38:07 +01:00