Roland Geider
60cb00945c
Small cleanups and optimizations
2025-12-01 23:00:23 +01:00
Roland Geider
fc881c4929
Properly handle timezones
...
This should (hopefully 🤞 ) take care of problems saving entries with timezone
information.
2025-11-18 16:30:52 +01: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
d9b4d66c0f
Add tests for interpolation logic
2025-09-12 15:03:33 +02:00
Roland Geider
ac043baa68
Merge branch 'master' into nutrition-plan-stats
...
# Conflicts:
# lib/models/nutrition/nutritional_plan.g.dart
# lib/widgets/measurements/charts.dart
# lib/widgets/measurements/entries.dart
# lib/widgets/weight/weight_overview.dart
2025-09-03 15:25:17 +02:00
Roland Geider
d2f38228fb
Improvements in handling localized values in the UI
2025-08-13 21:02:34 +02:00
Dieter Plaetinck
d4a272ce8c
use interpolation for higher accuracy
...
used on:
* overall delta's in the NP list
* the NP and last30day charts (and their overall delta's)
We display them on the respective charts to make it
more consistent, but in this case, we add a small tooltip indicator to
avoid user confusion
2025-06-28 21:52:23 +02:00
Dieter Plaetinck
29f6c87122
show charts for all nutritional plans + more elegant filtering
2025-06-28 18:36:30 +02:00
Dieter Plaetinck
a0e2659e60
dart format --line-length=100 .
2025-06-27 23:37:56 +02:00
Dieter Plaetinck
d1cfce7526
adjust older code for 'current plan' and showing weight during plan
2025-06-27 22:44:49 +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
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
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
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
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
f6bae10b9b
Merge branch 'master' into feature/flexible-routines
...
# Conflicts:
# android/app/build.gradle
# lib/l10n/app_ta.arb
# lib/widgets/measurements/charts.dart
# macos/Podfile.lock
# pubspec.lock
# pubspec.yaml
2025-01-05 01:47:54 +01:00
Roland Geider
764f0c2739
Render only up to one decimal place
...
Fixes #695
2024-12-13 12:49:14 +01:00
Roland Geider
0d43333aa4
Update widgets when the provider changes
2024-12-12 20:52:05 +01:00
Roland Geider
23119e68d5
Allow users to reorder the days and the slots within the days
2024-11-15 16:44:41 +01:00
Roland Geider
277628f329
Merge branch 'master' into feature/flexible-routines
...
# Conflicts:
# test/weight/weight_screen_test.mocks.dart
2024-11-14 20:30: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
Roland Geider
4489bfbc30
Merge branch 'master' into master
2024-11-07 11:49:01 +01:00
Xianglin Zeng
27e28e7f7b
chore: add Xianglin Zeng to AUTHORS.md and update relevent doc
2024-11-04 23:39:23 +08:00
Xianglin Zeng
f2bc07d2fd
fix hard-coded text in Chinese version, improve weight expressed in Chinese
2024-11-04 23:07:38 +08:00
ARYPROGRAMMER
bdb97cfae8
fix: RenderOverFlex in Dashboard UI
2024-10-23 23:36:50 +05:30
Dieter Plaetinck
5f148e7c92
no point showing charts that are empty - this also fixes some crashes
2024-10-16 15:33:59 +02:00
Dieter Plaetinck
c5b1695d20
fix crash for empty measurements
2024-10-16 15:33:59 +02:00
Dieter Plaetinck
bd7088d445
use a 'sensible range' for headline weight/measurements charts
...
this allows user to focus on their recent progress on the initial chart.
if they want to see the full history, that's only a tap away
2024-10-16 15:33:59 +02:00
Dieter Plaetinck
1a25f0f3c6
tooltip: better background color for contrast + show date
2024-10-16 15:33:59 +02:00
Roland Geider
773b8df4e6
Localize chart titles
2024-10-07 11:56:39 +02:00
Dieter Plaetinck
bf9e614f8b
make it work for measurements + couple fixes
2024-09-18 13:33:57 +03:00
Dieter Plaetinck
3dc1c4e79e
fix tests
2024-09-11 23:00:04 +03:00
Dieter Plaetinck
161444b32f
weight visualisation improvements
...
* show weight entries during this nutrition plan and last 30 days
* show moving average of last 7 days
* show aggregate changes below chart
* fix unit displays in a few cases
* improv color scheme and other layout tweaks
* various small code cleanups
2024-09-11 16:03:43 +03:00
Dieter Plaetinck
87755f16b6
dcm fix --only-rules=unnecessary-trailing-comma lib
2024-06-20 15:55:28 +03:00
Dieter Plaetinck
6e1d3f9568
dart format --line-length=100 .
...
(except auto generated files)
2024-06-20 15:44:35 +03:00
Dieter Plaetinck
420f9ae16d
dcm fix --only-rules=avoid-inferrable-type-arguments lib
2024-06-07 14:59:00 +03:00
Dieter Plaetinck
cf351c3690
dcm fix --only-rules=prefer-declaring-const-constructor lib
2024-06-07 14:59:00 +03:00
Dieter Plaetinck
8db1a7c960
dcm fix --only-rules=unnecessary-trailing-comma lib
2024-06-07 14:59:00 +03:00
Dieter Plaetinck
7f74bff32c
dcm fix --only-rules=prefer-trailing-comma lib
2024-06-07 14:59:00 +03:00
Roland Geider
4af4462498
Remove unused import
2024-01-23 21:14:06 +01:00
Miroslav Mazel
95ea711e97
Weight entries - buggy test
2023-11-25 00:57:27 +01:00
Roland Geider
29a6839a61
Run dart fix on the code base
2023-11-19 18:49:35 +01:00
Roland Geider
95f863a0b6
Merge branch 'master' into feature/material-3
...
# Conflicts:
# lib/widgets/nutrition/meal.dart
# lib/widgets/workouts/day.dart
2023-11-10 19:27:27 +01:00
Roland Geider
5845e70a6b
Simplify some of the widgets since these values are set in the theme now
2023-11-10 19:08:42 +01:00
Roland Geider
abca70a6f0
Set the color of the categories card
...
While this still doesn't completely blend in with the surrounding widgets in
the dashboard, it's at least an improvement
2023-11-10 15:18:53 +01:00
Roland Geider
7659d06ea6
Merge branch 'master' into 12people_maintenance
...
# Conflicts:
# lib/theme/theme.dart
# lib/widgets/core/charts.dart
# lib/widgets/dashboard/widgets.dart
# lib/widgets/nutrition/charts.dart
# lib/widgets/workouts/charts.dart
# pubspec.lock
# pubspec.yaml
# test_driver/screenshot_driver.dart
2023-11-09 20:24:01 +01:00