Roland Geider
e5427dc103
Merge branch 'master' into fork/Shininess8816/calendarFix
...
# Conflicts:
# lib/helpers/consts.dart
2025-05-22 14:35:32 +02:00
Roland Geider
f18af2ed65
Move milliseconds factor to a constant
...
This makes it less likely to run into weird bugs if we need to tweak
the value in the future.
2025-05-22 14:34:36 +02:00
burny0202
611f552963
Interval of 1000 hard crashes, and 1000000 does not. Changing to last date also stops it hitting the 0 difference. #788
2025-05-18 10:39:24 +01:00
burny0202
2ade2013dc
Interval of 1000 hard crashes, and 1000000 does not. Changing to last date also stops it hitting the 0 difference. Removed unused currentDate #788
2025-05-18 10:36:24 +01:00
Roland Geider
a84d906b68
Reduce a bit the font size
2025-05-16 22:22:16 +02:00
Roland Geider
9360d75843
Use a Wrap so that elements wrap if the text label is too long
2025-05-16 22:22:12 +02:00
Roland Geider
0fd2154a20
Merge pull request #815 from Shininess8816/mealDateTime
...
Allow the logging on meals with date times #789
2025-05-16 18:35:02 +02:00
Roland Geider
a2a3384774
Remove unused parameter dateTimeOfMeal and some light cleanup of log_meal_screen.dart
2025-05-16 18:31:28 +02:00
Roland Geider
d56100a0c7
Replace deprecated name
2025-05-16 17:47:36 +02:00
Roland Geider
317dd15717
Merge pull request #823 from wger-project/fix/translation-handling
...
Better handling of dynamic translations
2025-05-16 15:20:56 +02:00
Roland Geider
c2608af569
Don't throw an exception for untranslated strings
...
These are "dynamic" translations that come from the server. If they are not known
locally, we should just show them to the user as-is.
2025-05-16 15:16:22 +02:00
Roland Geider
169befd71a
Merge pull request #822 from wger-project/fix/default-rounding-values
...
Remove default rounding values
2025-05-16 15:15:26 +02:00
Roland Geider
2c6ecc0b92
Add resistance band to list of equipment
2025-05-14 17:15:31 +02:00
Roland Geider
b16120cddb
Remove debug output
2025-05-14 14:45:18 +02:00
Roland Geider
8e567e332d
Split up some files for easier editing
2025-05-14 14:45:04 +02:00
Roland Geider
a4c103c6b4
Remove default rounding values
...
These only make sense when using automatic progression rules (and then, only with
increase steps with percentages). If no rounding values are set, the value will
be simply used as-is.
2025-05-14 11:35:58 +02:00
Roland Geider
0d49030c60
Merge branch 'master' into fork/eyJhb/api-token
...
# Conflicts:
# lib/screens/auth_screen.dart
# test/nutrition/nutritional_plan_screen_test.mocks.dart
# test/nutrition/nutritional_plans_screen_test.mocks.dart
# test/workout/day_form_test.mocks.dart
# test/workout/gym_mode_session_screen_test.mocks.dart
# test/workout/repetition_unit_form_widget_test.mocks.dart
# test/workout/routine_edit_screen_test.mocks.dart
# test/workout/routine_edit_test.mocks.dart
# test/workout/routine_form_test.mocks.dart
# test/workout/routine_logs_screen_test.mocks.dart
# test/workout/slot_entry_form_test.mocks.dart
# test/workout/weight_unit_form_widget_test.mocks.dart
2025-05-11 18:04:09 +02:00
Roland Geider
a194145563
Bump fl_chart to 1.0
2025-05-11 17:51:41 +02:00
Roland Geider
f2b86b2013
Merge remote-tracking branch 'weblate/master'
...
# Conflicts:
# lib/l10n/app_uk.arb
2025-05-11 17:11:36 +02:00
Roland Geider
116888d824
Also add link to exercise submission screen
2025-05-11 17:00:17 +02:00
Roland Geider
f091694b47
Extract common urls to consts.dart
2025-05-09 22:37:06 +02:00
Roland Geider
624b043367
Merge branch 'master' into feature/rework-about-us
2025-05-09 22:23:58 +02:00
Максим Горпиніч
d732194f31
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (301 of 301 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2025-05-09 20:23:31 +00:00
BlinderUhu
3efee063d1
Translated using Weblate (German)
...
Currently translated at 90.1% (266 of 295 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2025-05-09 20:23:30 +00:00
Roland Geider
e9435cd4aa
Fix test
2025-05-09 21:46:09 +02:00
Roland Geider
7141e26480
Update SessionForm test
2025-05-09 21:23:09 +02:00
Roland Geider
01c5c9186d
Merge branch 'master' into feature/better-error-handling
...
# Conflicts:
# lib/widgets/routines/gym_mode/session_page.dart
2025-05-09 21:16:55 +02:00
Roland Geider
d663bcd88a
Move common logic to SessionForm
...
Refactor and polish a bit the form in the log overview.
2025-05-09 21:12:49 +02:00
Roland Geider
e8ff3458e0
Merge branch 'master' into fork/Rohitdhall987/edit-session-feature
2025-05-09 14:57:53 +02:00
Roland Geider
aafb2c90c8
Delete unused file
2025-05-09 14:16:45 +02:00
Roland Geider
0863b44fe6
Merge branch 'master' into feature/better-error-handling
...
# Conflicts:
# lib/screens/home_tabs_screen.dart
# test/workout/day_form_test.mocks.dart
# test/workout/gym_mode_session_screen_test.mocks.dart
# test/workout/repetition_unit_form_widget_test.mocks.dart
# test/workout/routine_edit_screen_test.mocks.dart
# test/workout/routine_edit_test.mocks.dart
# test/workout/routine_form_test.mocks.dart
# test/workout/routine_logs_screen_test.mocks.dart
# test/workout/slot_entry_form_test.mocks.dart
# test/workout/weight_unit_form_widget_test.mocks.dart
2025-05-09 14:11:17 +02:00
Roland Geider
f8000a5454
Catch and handle WgerHttpException specially
...
This shows the server errors directly in the form, instead of a modal dialog
(which is the default for all the other forms and places that throw the exception)
2025-05-09 13:54:58 +02:00
burny0202
0942739200
Allow the logging on meals with date times #789
2025-05-08 21:43:07 +01:00
Roland Geider
013721ba71
Refactor WgerHttpException
...
We can now use a widget to show any errors returned by WgerHttpException. This has
to be added on a form-by-form basis, otherwise, the general error handling shows
the results in a modal dialog
2025-05-08 22:06:48 +02:00
Roland Geider
7e0910b56b
Handle network connectivity a bit different
...
When the server is not reachable, we show a slightly different error message
and remove the option to automatically create an issue.
2025-05-08 15:07:12 +02:00
Roland Geider
5e22d69bb1
Improve error handling and logging
...
Now we process and catch all errors that might happen in the application, instead
of silently ignoring them. These errors are shown in a better error dialog, that
shows the details to the user and allows to create an issue on GitHub with the
error and traceback data already filled in.
2025-05-07 18:19:15 +02:00
Roland Geider
41edc35650
Rework about us page and remove unused translation keys
2025-05-07 16:28:29 +02:00
Roland Geider
9ebaf58fea
Refactor routine handling for the dashboard widgets
...
This makes sure that edits to the routine (such as changing the order
of the days, etc.) are properly reflected in the dashboard.
2025-05-03 15:39:46 +02:00
Roland Geider
ecf30fe5fd
Rename controller
2025-05-01 13:35:30 +02:00
Roland Geider
f812910bdf
Save the token to the right variable
2025-05-01 13:12:46 +02:00
Roland Geider
ece38a39d2
Refactor login screen
...
The api token toggle is now only visible when showing a custom server, since at
the moment this is the only time when such an auth method makes sense (plus it
keeps the rest of the UI cleaner). The different fields in the screen have been
moved to individual files, to make the structure clearer.
2025-04-30 22:50:55 +02:00
Roland Geider
38cdc9f37c
Merge branch 'master' into fork/eyJhb/api-token
...
# Conflicts:
# lib/providers/auth.dart
2025-04-29 19:23:55 +02:00
Matteo Morari
c27395635e
Translated using Weblate (Italian)
...
Currently translated at 94.2% (278 of 295 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2025-04-27 16:13:19 +02:00
Roland Geider
7f42b47f97
Actually set the RiR value in the logs
2025-04-27 16:10:41 +02:00
Rohitdhall987
f45ed540b3
feat: allow editing old sessions via popup dialog
2025-04-25 22:55:56 +05:30
Roland Geider
1ecbfa88d1
Correctly set the start and end time to null, if this is what comes from the API
2025-04-18 00:40:05 +02:00
Roland Geider
bc0672d81b
Correctly initialize the data in form from existing session
...
Also, add some simple tests for this
2025-04-17 17:30:01 +02:00
Roland Geider
8acde9adaa
Add startTime to GymState and update GymMode to use it
...
This keeps the start time, even if the user leaves the gym mode and returns
later, which is what we want anyway.
2025-04-17 16:34:42 +02:00
Roland Geider
c673fa0ea6
Add test for the workout log deletion dialog
2025-04-17 15:18:49 +02:00
Roland Geider
88d66b336c
Properly update the UI when deleting workout logs
...
The problem was that we were passing the exercises and session from the
calendar events, which wasn't being reloaded when the logs were deleted. Now
we only pass the selected date and fetch the logs from the routine.
2025-04-17 10:26:44 +02:00