Commit Graph

1159 Commits

Author SHA1 Message Date
Roland Geider
969c643e5c Update theme
This is now created with flex_color_scheme, which makes tweaking this
much much easier
2023-11-10 19:07:14 +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
6d84cf7348 Don't make the chart square... 2023-11-10 14:40:12 +01:00
Roland Geider
6a1f231e48 Make chips a bit smaller and give them a bit of color 2023-11-09 20:19:19 +01:00
Roland Geider
9e85745c2f Make the calendar theme dynamic based on the current theme (light/dark mode) 2023-11-09 19:50:05 +01:00
Roland Geider
9dd9c568c2 Remove unused color 2023-11-09 19:49:38 +01:00
Roland Geider
81ed85c2f2 Merge branch 'master' into feature/material-3
# Conflicts:
#	lib/theme/theme.dart
#	lib/widgets/dashboard/widgets.dart
#	lib/widgets/nutrition/nutritional_plan_detail.dart
2023-11-09 19:16:17 +01:00
Roland Geider
09f60fe432 Fix tests and recreate generated files 2023-11-09 19:07:38 +01:00
Roland Geider
7c1dc05d81 Only render the FlNutritionalDiaryChartWidget chart if there is data for it 2023-11-09 18:37:34 +01:00
Roland Geider
77249de6bd Fix bug in tooltips
It is not possible to get the reps just from the weight (and the date for that
matter), since it's very possible that there are collisions here. Luckily we can
access the number of the series so we can get the reps by going through the
original data

Why so much manual work 😭
2023-11-08 21:22:31 +01:00
Roland Geider
b2e7f65d29 Remove debug code and unused files 2023-11-08 20:05:25 +01:00
Roland Geider
b4686978f2 Remove getRandomColor, wasn't being used 2023-11-08 19:59:12 +01:00
Roland Geider
08cc1a30ea Add some padding to the chart 2023-11-08 19:55:39 +01:00
Roland Geider
221a1505e7 Dynamically generate a legend for the training logs
Why don't can't you provide this fl_chart, why!!!!!
2023-11-08 19:50:54 +01:00
Abhishek Saini
f2f9582031 fix: tooltip and legend in workout chart 2023-11-08 16:27:25 +05:30
Abhishek Saini
3d948dfec4 measurement and nutrition chart issues fixes 2023-11-05 22:23:16 +05:30
Roland Geider
a046cb1736 Merge branch 'master' into feature/material-3 2023-10-21 21:41:56 +02:00
Roland Geider
3b44d29692 Remove debug code 2023-10-21 21:41:37 +02:00
m4skedbyte
4f05597688 Translated using Weblate (German)
Currently translated at 97.4% (226 of 232 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2023-10-21 12:02:22 +00:00
Felipe Antônio Rodrigues Cardoso
3a4848fdf0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 62.9% (146 of 232 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2023-10-20 06:11:38 +02:00
Milo Ivir
80c8e67cc5 Translated using Weblate (Croatian)
Currently translated at 100.0% (232 of 232 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2023-10-20 06:11:35 +02:00
Roland Geider
bedd65e5b1 Mucking around with interval duration 2023-10-10 14:05:53 +02:00
Roland Geider
70b63b1b26 Add first version of the repetition chart and finally remove old chart library 2023-10-09 20:22:12 +02:00
Roland Geider
268d1d945f Render units in the measurements charts
Note that the reserved size is probably too small if the unit or the values
are longer
2023-10-09 19:22:19 +02:00
Roland Geider
af9b733060 Cleanup 2023-10-09 19:16:03 +02:00
Roland Geider
d1af7acb32 Correctly format the date according to the current locale 2023-10-09 19:08:56 +02:00
Roland Geider
6bd448f17a Correctly format the date according to the current locale 2023-10-08 21:56:46 +02:00
Roland Geider
03f6b555af Fix order of log entries 2023-10-08 21:52:07 +02:00
Roland Geider
53a00cca63 Move another charts to fl charts
These *really* need to get some kind of native time series support....
2023-10-08 21:27:55 +02:00
Roland Geider
23b8b5e2e0 Translate the macronutrient's names 2023-10-07 13:01:55 +02:00
Antonis-geo
6f6c41f171 Translated using Weblate (Greek)
Currently translated at 20.6% (48 of 232 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/el/
2023-10-05 01:11:53 +02:00
Luigi Henrick Feitoza Silva
9120b1b624 Translated using Weblate (Portuguese (Brazil))
Currently translated at 12.5% (29 of 232 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2023-10-05 01:11:53 +02:00
Roland Geider
779926bc98 Move nutritional plan diary chart to fl charts 2023-10-01 20:38:24 +02:00
Roland Geider
ef5a7081a0 Make MeasurementChartWidgetFl work
This still doesn't look completely nice, but it's a good start
2023-10-01 14:27:02 +02:00
Roland Geider
84ccc67c37 Merge branch 'master' into fix/replace-chart-lib
# Conflicts:
#	pubspec.lock
#	pubspec.yaml
2023-10-01 12:14:17 +02:00
Antonis-geo
b4d282e78e Translated using Weblate (Greek)
Currently translated at 17.6% (41 of 232 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/el/
2023-10-01 09:02:34 +02:00
Antonis-geo
7d357a939e Added translation using Weblate (Greek) 2023-09-30 08:48:41 +02:00
loued
421e807902 Translated using Weblate (French)
Currently translated at 99.5% (231 of 232 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2023-09-17 14:00:11 +00:00
Milo Ivir
792149920c Translated using Weblate (Croatian)
Currently translated at 100.0% (232 of 232 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2023-08-25 00:50:07 +02:00
CaptainDolphy
fa80ae7b64 Translated using Weblate (Czech)
Currently translated at 76.1% (176 of 231 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/cs/
2023-08-23 18:24:23 +02:00
Roland Geider
33b1c47676 Add missing translation key 2023-08-23 18:23:59 +02:00
artchiee
cf35cea913 Unfinished work on Charts replacement 2023-08-22 12:12:41 +01:00
Roland Geider
43d61ecfbf Merge branch 'master' into feature/material-3
# Conflicts:
#	pubspec.yaml
2023-08-10 07:17:27 +02:00
Github-actions
8c809ad8cb Automatic linting 2023-08-08 09:14:27 +00:00
Roland Geider
aecbcfe663 Update models to work with new keys
creation_date was renamed to created and
update_date to last_updated
2023-08-08 11:12:55 +02:00
João Hortêncio Moraes
f74a343be4 Translated using Weblate (Portuguese (Brazil))
Currently translated at 5.6% (13 of 231 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2023-08-04 23:03:02 +02:00
Sfizio Purea
bae6f4fb9b Translated using Weblate (Italian)
Currently translated at 81.8% (189 of 231 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2023-07-26 00:05:57 +02:00
Ahmed zein
21d3a0b1db Translated using Weblate (Arabic)
Currently translated at 1.7% (4 of 231 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ar/
2023-07-19 17:09:21 +02:00
Milo Ivir
21d25f7e6d Translated using Weblate (Croatian)
Currently translated at 100.0% (231 of 231 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2023-07-07 13:48:41 +02:00
Bruno de Moura
8e1ec033fe Translated using Weblate (Portuguese)
Currently translated at 100.0% (231 of 231 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2023-07-04 21:49:22 +02:00