Commit Graph

2329 Commits

Author SHA1 Message Date
Roland Geider
9ff0eae355 Add missing user provider to make screenshot generation work again 2024-05-12 14:53:38 +02:00
Roland Geider
880d4a37f3 Add missing title.txt 2024-05-12 14:37:49 +02:00
Roland Geider
765a6a37ca Merge pull request #571 from wger-project/feature/weblate
Translations update from Hosted Weblate
2024-05-12 14:20:18 +02:00
Roland Geider
478464f34a Merge pull request #566 from Dieterbe/nutrition-cleanup
Nutrition cleanup & further enhancements
2024-05-12 14:19:36 +02:00
Roland Geider
ef78bc55e6 Remove BaseNutritionalValues, this wasn't used anymore 2024-05-12 14:09:05 +02:00
Dieter Plaetinck
d875d81a5e style the table better 2024-05-10 17:53:59 +02:00
Marcin Schoenknecht
50753e55fe Translated using Weblate (Polish)
Currently translated at 100.0% (257 of 257 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2024-05-10 16:23:49 +02:00
Dieter Plaetinck
25aa08f3f3 allow picking date when logging ingredient 2024-05-08 22:48:26 +02:00
Dieter Plaetinck
9ad969527d fix 2024-05-08 22:48:26 +02:00
Dieter Plaetinck
cfd47bc20b fix a random bug 2024-05-08 22:48:26 +02:00
Dieter Plaetinck
7fffa94925 cleanup 2024-05-08 22:48:26 +02:00
Dieter Plaetinck
578d56a0df fix tests, introduce golden tests
to make golden tests work, we no longer plot the "now time" for "other logs"
this was pretty silly anyway...
2024-05-08 22:48:26 +02:00
Dieter Plaetinck
e9d7a39ab9 nutrition plan details: use 3 levels of detail
* no need to see the ingredients of every meal in such detail by default
* also, handle it nicer when a meal has no ingredients defined yet
2024-05-07 11:50:31 +02:00
Xav Basco
f238320c6c Translated using Weblate (French)
Currently translated at 91.0% (234 of 257 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2024-05-05 12:07:19 +02:00
Dieter Plaetinck
9a67a073d3 fix: use goal derived from goals or meals 2024-05-05 10:39:23 +02:00
Dieter Plaetinck
2a9ac23a10 move MacronutrientsTable into its own file 2024-05-05 10:31:36 +02:00
Dieter Plaetinck
2347657dcd fixes 2024-05-04 23:20:16 +02:00
Dieter Plaetinck
1ae3eafd72 more tests 2024-05-04 18:13:24 +02:00
Dieter Plaetinck
faa417d183 fix test 2024-05-04 18:13:16 +02:00
Dieter Plaetinck
bffaa9a9c9 Revert freezed attempt. it needs a constructor without args... :/
This reverts commit 55aac23033dda47895ffb63154fcbc6fe5524d40.
2024-05-04 15:56:11 +02:00
Dieter Plaetinck
84f43bb5c2 trying to fix tests by using freezed 2024-05-04 15:56:11 +02:00
Dieter Plaetinck
36697a660d proper nullable "nutritional goals" with inference
differentiate between a goal being set (but as 0) vs a goal not being
set. fixes various correctness issues
2024-05-04 14:20:00 +02:00
Dieter Plaetinck
00b5cc2f57 tweak design 2024-05-03 13:06:24 +02:00
Dieter Plaetinck
820dee2c0d move nutritional diary table into separate file, clean up a bit 2024-05-03 10:57:39 +02:00
Roland Geider
49823a8836 Merge pull request #569 from wger-project/dependabot/pub/url_launcher-6.2.6
Bump url_launcher from 6.2.5 to 6.2.6
2024-05-01 15:21:42 +02:00
Roland Geider
47a41a4160 Merge pull request #568 from wger-project/dependabot/pub/path_provider-2.1.3
Bump path_provider from 2.1.2 to 2.1.3
2024-05-01 15:21:32 +02:00
Roland Geider
5a87eb6e2f Merge pull request #567 from wger-project/dependabot/pub/rive-0.13.2
Bump rive from 0.13.1 to 0.13.2
2024-05-01 15:21:22 +02:00
Dieter Plaetinck
b756e5e11f test fix 2024-04-30 21:20:58 +02:00
Dieter Plaetinck
8c5eded894 new "progress towards goals" widget for nutrional plans
both for dashboard widget and nutritional details page
2024-04-30 18:57:40 +02:00
Dieter Plaetinck
d2c8e4a4c3 remove FlNutritionalDiaryChartWidget, it is no longer used 2024-04-30 18:54:20 +02:00
Dieter Plaetinck
54e2aa4be8 suggestion: replace chart and horizontal table with vertical table 2024-04-30 18:54:20 +02:00
dependabot[bot]
26f5dfac98 Bump url_launcher from 6.2.5 to 6.2.6
Bumps [url_launcher](https://github.com/flutter/packages/tree/main/packages/url_launcher) from 6.2.5 to 6.2.6.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/url_launcher-v6.2.6/packages/url_launcher)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 00:39:46 +00:00
dependabot[bot]
fa61cd2c78 Bump path_provider from 2.1.2 to 2.1.3
Bumps [path_provider](https://github.com/flutter/packages/tree/main/packages/path_provider) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/path_provider-v2.1.3/packages/path_provider)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 00:39:29 +00:00
dependabot[bot]
80b334d1ef Bump rive from 0.13.1 to 0.13.2
Bumps [rive](https://github.com/rive-app/rive-flutter) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/rive-app/rive-flutter/releases)
- [Changelog](https://github.com/rive-app/rive-flutter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rive-app/rive-flutter/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 00:39:12 +00:00
Dieter Plaetinck
b7df869695 display caloric balance on nutrition dashboard widget 2024-04-27 17:45:25 +02:00
Dieter Plaetinck
3b70cb37e5 nutrition dashboard widget: use 3 layers of detail
... because showing all meals by default is a bit too much info
2024-04-27 16:29:45 +02:00
Dieter Plaetinck
db83b138e9 remove aspectratio and padding from chart widget.
it doesn't seem to change how it looks on nutrition detail
and makes it look proper on nutrition dashboard widget

if we really do need such layout controls, maybe they should be done
at the call site, rather than the widget implementation?
2024-04-27 16:11:08 +02:00
Dieter Plaetinck
580b053591 use improved barchart widget on nutrition dashboard widget 2024-04-27 16:11:08 +02:00
Dieter Plaetinck
088f31b1f9 cleanup 2024-04-27 16:11:08 +02:00
Roland Geider
91b98f50e0 Merge pull request #560 from wger-project/dependabot/pub/image_picker-1.1.0
Bump image_picker from 1.0.8 to 1.1.0
2024-04-25 15:19:21 +02:00
Roland Geider
638a63e06f Merge pull request #561 from wger-project/dependabot/pub/freezed-2.5.2
Bump freezed from 2.5.1 to 2.5.2
2024-04-25 15:19:04 +02:00
Roland Geider
689970b9a4 Merge pull request #564 from wger-project/feature/weblate
Translations update from Hosted Weblate
2024-04-25 15:15:35 +02:00
dependabot[bot]
7ac69a671d Bump freezed from 2.5.1 to 2.5.2
Bumps [freezed](https://github.com/rrousselGit/freezed) from 2.5.1 to 2.5.2.
- [Commits](https://github.com/rrousselGit/freezed/compare/freezed-v2.5.1...freezed-v2.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 13:15:31 +00:00
Milo Ivir
05507f64e9 Translated using Weblate (Croatian)
Currently translated at 100.0% (257 of 257 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2024-04-25 15:06:34 +02:00
Fjuro
61975fe597 Translated using Weblate (Czech)
Currently translated at 100.0% (257 of 257 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/cs/
2024-04-25 15:06:34 +02:00
Oğuz Ersen
28e7de19bd Translated using Weblate (Turkish)
Currently translated at 100.0% (257 of 257 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/tr/
2024-04-25 15:06:34 +02:00
Roland Geider
318e6a555f Merge pull request #557 from wger-project/imgbot
[ImgBot] Optimize images
2024-04-25 15:06:29 +02:00
Roland Geider
20320e752c Merge pull request #562 from wger-project/dependabot/pub/drift_dev-2.17.0
Bump drift_dev from 2.16.0 to 2.17.0
2024-04-25 15:05:46 +02:00
Roland Geider
124a8b3f17 Merge pull request #563 from wger-project/dependabot/pub/cupertino_icons-1.0.8
Bump cupertino_icons from 1.0.6 to 1.0.8
2024-04-25 15:05:26 +02:00
dependabot[bot]
b65aef2178 Bump cupertino_icons from 1.0.6 to 1.0.8
Bumps [cupertino_icons](https://github.com/flutter/packages/tree/main/third_party/packages) from 1.0.6 to 1.0.8.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/cupertino_icons-v1.0.8/third_party/packages)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 01:13:11 +00:00