Roland Geider
98f2fb0096
Merge branch 'master' into powersync
...
# Conflicts:
# Gemfile.lock
# android/settings.gradle
# fastlane/report.xml
# integration_test/1_dashboard.dart
# integration_test/2_workout.dart
# integration_test/3_gym_mode.dart
# integration_test/5_nutritional_plan.dart
# integration_test/6_weight.dart
# lib/helpers/i18n.dart
# lib/helpers/ui.dart
# lib/main.dart
# lib/models/nutrition/meal.g.dart
# lib/models/nutrition/nutritional_plan.dart
# lib/providers/auth.dart
# lib/providers/nutrition.dart
# lib/screens/add_exercise_screen.dart
# lib/screens/auth_screen.dart
# lib/screens/dashboard.dart
# lib/screens/exercises_screen.dart
# lib/screens/home_tabs_screen.dart
# lib/screens/log_meal_screen.dart
# lib/screens/log_meals_screen.dart
# lib/screens/nutritional_plan_screen.dart
# lib/screens/routine_list_screen.dart
# lib/screens/workout_plan_screen.dart
# lib/widgets/add_exercise/steps/step1basics.dart
# lib/widgets/add_exercise/steps/step5images.dart
# lib/widgets/add_exercise/steps/step_2_variations.dart
# lib/widgets/add_exercise/steps/step_3_description.dart
# lib/widgets/add_exercise/steps/step_4_translations.dart
# lib/widgets/core/about.dart
# lib/widgets/core/settings.dart
# lib/widgets/dashboard/calendar.dart
# lib/widgets/dashboard/widgets.dart
# lib/widgets/exercises/exercises.dart
# lib/widgets/gallery/overview.dart
# lib/widgets/measurements/categories_card.dart
# lib/widgets/measurements/charts.dart
# lib/widgets/measurements/entries.dart
# lib/widgets/measurements/forms.dart
# lib/widgets/measurements/helpers.dart
# lib/widgets/nutrition/charts.dart
# lib/widgets/nutrition/forms.dart
# lib/widgets/nutrition/helpers.dart
# lib/widgets/nutrition/meal.dart
# lib/widgets/nutrition/nutritional_diary_table.dart
# lib/widgets/nutrition/nutritional_plan_detail.dart
# lib/widgets/nutrition/nutritional_plans_list.dart
# lib/widgets/nutrition/widgets.dart
# lib/widgets/routines/charts.dart
# lib/widgets/routines/workout_logs.dart
# lib/widgets/weight/forms.dart
# lib/widgets/weight/weight_overview.dart
# lib/widgets/workouts/app_bar.dart
# lib/widgets/workouts/day.dart
# lib/widgets/workouts/forms.dart
# lib/widgets/workouts/gym_mode.dart
# lib/widgets/workouts/workout_plan_detail.dart
# lib/widgets/workouts/workout_plans_list.dart
# linux/flutter/generated_plugin_registrant.cc
# linux/flutter/generated_plugins.cmake
# pubspec.lock
# pubspec.yaml
# test/auth/auth_screen_test.dart
# test/core/settings_test.dart
# test/core/settings_test.mocks.dart
# test/nutrition/nutritional_meal_form_test.mocks.dart
# test/nutrition/nutritional_meal_item_form_test.dart
# test/nutrition/nutritional_plan_form_test.mocks.dart
# test/nutrition/nutritional_plan_screen_test.dart
# test/nutrition/nutritional_plans_screen_test.dart
# test/routine/repetition_unit_form_widget_test.dart
# test/routine/routine_screen_test.dart
# test/routine/routines_screen_test.dart
# test/routine/weight_unit_form_widget_test.dart
# test/workout/gym_mode_screen_test.dart
# test/workout/workout_day_form_test.dart
# test/workout/workout_form_test.dart
# test/workout/workout_set_form_test.dart
2025-10-19 14:48:15 +02:00
Roland Geider
64dc10cdb2
Fix import for localization strings
2025-10-19 14:23:58 +02:00
Roland Geider
93a11a16e4
Recreate generated files and reformat the repo
...
Seems the default dart formatting rules changed recently, and this was causing
huge diffs in branches
2025-10-09 17:39:02 +02:00
Roland Geider
ccbaf0b42a
Allow multiple weight entries per day
2025-09-26 12:21:50 +02:00
Roland Geider
fa96378815
Import datetime extension
2025-08-28 22:35:36 +02:00
Roland Geider
bea40c9a3c
Correctly parse the localized weight values in the form
2025-08-13 19:54:32 +02:00
Roland Geider
8ae889a1ea
Improve decimal input handling
...
We now use TextInputType.numberWithOptions(decimal: true) which seems to have
a more consistent behaviour under android and iOS. Also, we now use NumberFormat
to parse the inputs according to the user's locale.
2025-06-27 13:24:53 +02: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
d071d143df
Update flutter to 3.29
...
The translations are not stored in a synthetic package anymore, but the
files are just copied to a specific folder so it can be more easily imported
Also, flutter_barcode_scanner was replaced by simple_barcode_scanner since
the first hasn't been updated in 3 years and was already causing problems
for some time
2025-03-18 17:28:19 +01:00
Roland Geider
a35336f57c
Allow editing the fit in week toggle as well as start and end dates
2024-11-12 13:31:56 +01:00
dan
ffeaad6f0c
Use current DateTime when copying WeightEntry instead of previous.
...
Increment weight by 0.1 and round to one decimal place to prevent floating point accuracy (rounding) issues.
2024-09-05 01:16:31 +01:00
Roland Geider
9c7b65bc49
Allow users to quickly increment the body weight
2024-02-17 18:48:48 +01:00
Miroslav Mazel
d445283cf7
Different fonts + tweaked icons
2023-11-11 12:33:19 +01:00
Miroslav Mazel
5f7bc96f8b
Don't use BuildContext across async gaps
2023-11-05 23:34:37 +01:00
Miroslav Mazel
420b06a661
Organize imports / remove unnecessary ones
2023-11-05 23:22:34 +01:00
Marvin M
9d479e89b0
const_constructors
...
info: Prefer const with constant constructors. prefer_const_constructors
2021-10-07 20:40:09 +02:00
Marvin M
923b44ba97
Marked as '@immutable'
...
This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: WorkoutForm._plan
2021-10-07 19:58:40 +02:00
Marvin M
45a2a5f857
Fixes pt 1
2021-10-01 17:18:17 +02:00
Roland Geider
8543652581
Merge branch 'master' into feature/measurements
...
# Conflicts:
# lib/screens/dashboard.dart
# test/base_provider_test.mocks.dart
# test/gallery_screen_test.mocks.dart
# test/nutritional_plan_form_test.mocks.dart
# test/workout_form_test.mocks.dart
# test/workout_set_form_test.mocks.dart
2021-09-07 17:03:15 +02:00
Roland Geider
4f885c88ab
Merge pull request #74 from patrickwitter/BugFixAteempt1
...
Fixes Issue #72
2021-08-30 22:19:24 +02:00
Patrick Witter
3dc32259de
Changed max-line to 100
2021-08-30 15:05:14 -05:00
Roland Geider
138c31c248
If the user cancels the datepicker, no date is selected
...
# Conflicts:
# lib/widgets/weight/forms.dart
2021-08-29 22:38:07 +02:00
Patrick Witter
245b432aae
refac Date TextField code,removed cursor, added calender icon at end,
2021-08-29 14:30:10 -05:00
Roland Geider
c21a895c22
If the user cancels the datepicker, no date is selected
2021-08-29 19:22:01 +02:00
Patrick Witter
0c2e57ef66
Attempt1
2021-08-29 10:15:29 -05:00
ton-An
19445c36a2
(Measurements) Added Equatable + Refactored
...
(MeasurementProvider)
- Passing in the WgerBaseProvider instead of extending with it
- Re-written tests
- Added the fixture reader to make test file less crowded
(Measurement Models)
- Added Equatable
- Re-written tests
2021-08-22 18:07:47 +02:00
Github-actions
c877e436b0
Automatic linting
2021-06-22 21:10:15 +00:00
Github-actions
7492b53c67
Automatic linting
2021-06-20 13:09:24 +00:00
Roland Geider
b915c764ef
Don't check AppLocalizations for null values
...
This is not needed in flutter 2.2 anymore
2021-05-19 11:50:43 +02:00
Roland Geider
ee2e6ac671
Give providers a consistent name
2021-05-11 12:10:53 +02:00
Roland Geider
ad7507c8b7
Update license header as well
2021-04-13 10:28:15 +02:00
Roland Geider
68268757b8
Don't allow selecting a date if there is already an entry
2021-04-07 21:26:14 +02:00
Roland Geider
dbcb1efb43
When editing a weight entry, don't pre select the current date
2021-04-07 21:02:48 +02:00
Roland Geider
ecd2773a87
Upgrade packages and move application to null safety
2021-03-25 22:20:16 +01:00
Roland Geider
cc729f305b
Replace more unstranslated strings
2021-03-12 13:07:52 +01:00
Roland Geider
d8fe89ba56
Move translations to new i18n approach
2021-03-10 23:32:23 +01:00
Roland Geider
d101ec6bd3
Allow to add weight entries from the dashboard
2021-02-18 23:08:31 +01:00
Roland Geider
4c37d5bf91
Refactor weight entry form to use showFormBottomSheet
2021-01-25 21:43:50 +01:00