Commit Graph

2604 Commits

Author SHA1 Message Date
Dieter Plaetinck
85c245d67d dcm fix --only-rules=unnecessary-trailing-comma lib test test_data 2024-09-18 16:01:10 +03:00
Dieter Plaetinck
66ced6ccc4 dcm fix --only-rules=prefer-trailing-comma lib test test_data integration_test 2024-09-18 16:00:43 +03:00
Dieter Plaetinck
a589d87fad dcm fix --only-rules=avoid-redundant-async 2024-09-18 15:52:55 +03:00
Dieter Plaetinck
dfd18d1158 Merge pull request #634 from wger-project/chart-weight-since-plan
better weight and measurements visualisation
2024-09-18 14:29:05 +03:00
Dieter Plaetinck
349efa6d21 fix tests 2024-09-18 14:22:53 +03:00
Roland Geider
beb926d29d Merge pull request #631 from wger-project/feature/weblate
Translations update from Hosted Weblate
2024-09-18 12:56:38 +02:00
szalas
2ca22321ff Added translation using Weblate (Hungarian) 2024-09-18 10:56:26 +00:00
Piotr Strebski
fc7498858a Translated using Weblate (Polish)
Currently translated at 100.0% (4 of 4 strings)

Translation: wger Workout Manager/Play Store
Translate-URL: https://hosted.weblate.org/projects/wger/play-store/pl/
2024-09-18 10:56:25 +00:00
Piotr Strebski
809a48cca3 Translated using Weblate (Polish)
Currently translated at 100.0% (262 of 262 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2024-09-18 10:56:24 +00:00
Gab Gat
ab022bc48f Translated using Weblate (Italian)
Currently translated at 75.0% (3 of 4 strings)

Translation: wger Workout Manager/Play Store
Translate-URL: https://hosted.weblate.org/projects/wger/play-store/it/
2024-09-18 10:56:24 +00:00
Roland Geider
377d8cc41b Merge pull request #638 from wger-project/dependabot/pub/flutter_calendar_carousel-2.4.4
Bump flutter_calendar_carousel from 2.4.3 to 2.4.4
2024-09-18 12:56:19 +02:00
Roland Geider
8586bfb6a2 Merge pull request #639 from wger-project/dependabot/pub/freezed_annotation-2.4.4
Bump freezed_annotation from 2.4.3 to 2.4.4
2024-09-18 12:56:05 +02:00
Dieter Plaetinck
bf9e614f8b make it work for measurements + couple fixes 2024-09-18 13:33:57 +03:00
dependabot[bot]
5cb907dcb7 Bump freezed_annotation from 2.4.3 to 2.4.4
Bumps [freezed_annotation](https://github.com/rrousselGit/freezed) from 2.4.3 to 2.4.4.
- [Commits](https://github.com/rrousselGit/freezed/compare/freezed_annotation-v2.4.3...freezed_annotation-v2.4.4)

---
updated-dependencies:
- dependency-name: freezed_annotation
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 00:35:39 +00:00
dependabot[bot]
3802365c69 Bump flutter_calendar_carousel from 2.4.3 to 2.4.4
Bumps [flutter_calendar_carousel](https://github.com/dooboolab/flutter_calendar_carousel) from 2.4.3 to 2.4.4.
- [Changelog](https://github.com/dooboolab-community/flutter_calendar_carousel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dooboolab/flutter_calendar_carousel/commits)

---
updated-dependencies:
- dependency-name: flutter_calendar_carousel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 00:35:33 +00: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
96faf89de6 Merge pull request #633 from wger-project/pr/sizzlesloth/632
improve pr 632
2024-09-07 19:54:50 +03:00
Dieter Plaetinck
a64a50f425 fix tests 2024-09-07 19:51:29 +03:00
Dieter Plaetinck
14bd370503 solve the date fix in a cleaner way 2024-09-07 19:44:50 +03:00
dan
eaef5513b9 Add to authors list.
Removed whitespace.
2024-09-05 20:55:06 +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
80e33f36e9 Merge pull request #626 from wger-project/feature/weblate
Translations update from Hosted Weblate
2024-08-29 10:59:40 +02:00
aryakdaniswara
52ef6224a9 Translated using Weblate (Indonesian)
Currently translated at 64.8% (170 of 262 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/id/
2024-08-27 07:09:11 +00:00
Dawid Panyło
95b4f244bb Translated using Weblate (Polish)
Currently translated at 96.9% (254 of 262 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2024-08-15 15:09:11 +00:00
Zixu Sun
2c39b91ad7 Translated using Weblate (Catalan)
Currently translated at 100.0% (262 of 262 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ca/
2024-08-05 00:09:21 +02:00
纪颖志
615988622c Translated using Weblate (Chinese (Simplified))
Currently translated at 72.9% (191 of 262 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2024-08-02 11:09:18 +00:00
Roland Geider
044cf6a0aa Merge pull request #625 from wger-project/release-1.7.7
Bump version to 1.7.7+48
2024-08-01 09:47:58 +02:00
Github-Actions
a80889c1f2 Bump version to 1.7.7+48 2024-08-01 07:37:53 +00:00
Dieter Plaetinck
fee0e632af Merge pull request #624 from Denpeer/feature/remove-info-button
remove info button and viewmode logic
1.7.7
2024-07-18 17:41:35 +02:00
Dieter Plaetinck
11a7c30c6b Merge pull request #613 from wger-project/ingredient-details
popup ingredient details in typeahead suggestions and recently used
2024-07-18 17:30:27 +02:00
DVPeer
d51359fac8 authors.md update 2024-07-18 01:47:45 +07:00
DVPeer
323f4bfc6b remove info button and viewmode logic 2024-07-18 01:36:17 +07:00
Dieter Plaetinck
dc1f220292 refactor
ingredient details dialog:
 - give it close/continue buttons to load into selection
 - always use image property from loaded ingredient
   this is a bit slower, but:
   * more consistent (no need to support absolute vs relative URL's
     separately)
   * cleaner (no need to pass it thru explicitly)
   * more future proof: we will get rid of the dedicated
     /ingredient/search endpoint which gives us images before we load
     the full ingredient. in the future we will simply load the
     ingredients, completely, all at once.
   * allows for easier code reuse with barcode scan result dialog

barcode scan result dialog:
 - show image and detailed nutrition table
 - support a loading spinner
 - simplify error handling
 - deduplicate code between found & not found
 - share code with ingredient details dialog
2024-07-16 11:34:11 +03:00
Dieter Plaetinck
47a5f4a07f ingredient popup: scroll and shrink image when appropriate 2024-07-12 18:48:42 +03:00
Dieter Plaetinck
4a87c0b5f1 put popup button also in preview section 2024-07-12 18:48:42 +03:00
Dieter Plaetinck
1ae3f33edd use ingredient.license_object_url to link to human readable page 2024-07-12 14:26:09 +03:00
Dieter Plaetinck
d99ca4160f ingredient popup: fix image rendering 2024-07-12 14:26:09 +03:00
Dieter Plaetinck
5fa08894ce update nutritional plan info detail response fixture with new plan 2024-07-12 14:11:07 +03:00
Dieter Plaetinck
fea019f51c show source name and link to source, when possible in popup 2024-07-12 14:11:07 +03:00
Dieter Plaetinck
2ef68ce24d cleanup 2024-07-12 14:11:07 +03:00
Dieter Plaetinck
7e7fa387d5 todo's 2024-07-12 14:11:07 +03:00
Dieter Plaetinck
d06ecabadf use ingredientinfo api, for image + new source and remote id fields
also update fixtures accordingly
2024-07-12 13:50:04 +03:00
Dieter Plaetinck
2d27281a1d don't show g-per-bodyweight-kg on ingredient details popups 2024-07-12 10:09:36 +03:00
Dieter Plaetinck
395d40ce9a dart fix 2024-07-12 10:09:36 +03:00
Dieter Plaetinck
54fb7c1c6c cleanup 2024-07-12 10:09:36 +03:00
Dieter Plaetinck
de1b7e2229 cleanup 2024-07-12 10:09:36 +03:00
Dieter Plaetinck
b8f8bc4e4a remove test sleep 2024-07-12 10:09:36 +03:00
Dieter Plaetinck
1909f7caab popup ingredient details in typeahead suggestions and recently used 2024-07-12 10:09:36 +03:00
Roland Geider
5bf903c64b Merge pull request #623 from wger-project/prefs-consts
for consistency and safety, always use prefs constants
2024-07-11 20:25:13 +02:00