Commit Graph

1943 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
1b09cfd73a Add prefix to application id during debug
This allows to install the application side by side on a real device where the
production app is installed as well
2023-11-09 19:37:59 +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
1684288f09 Finally update flutter version 🥳 2023-11-09 19:07:09 +01:00
Roland Geider
e49b571bf2 Merge pull request #449 from wger-project/fix/replace-chart-lib
Replace chart lib
2023-11-09 18:44:12 +01:00
Roland Geider
ccc10b0426 Don't run the test twice on PRs 2023-11-09 18:41:13 +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
Roland Geider
fead739d8e Merge pull request #446 from wger-project/dependabot/pub/rive-0.12.2
Bump rive from 0.11.4 to 0.12.2
2023-11-08 12:00:19 +01:00
Abhishek Saini
f2f9582031 fix: tooltip and legend in workout chart 2023-11-08 16:27:25 +05:30
dependabot[bot]
533a22e574 Bump rive from 0.11.4 to 0.12.2
Bumps [rive](https://github.com/rive-app/rive-flutter) from 0.11.4 to 0.12.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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 00:17:53 +00:00
Abhishek Saini
8e443a5d13 Merge branch 'fix/replace-chart-lib' of https://github.com/wger-project/flutter into fix/replace-chart-lib 2023-11-05 22:23:37 +05:30
Abhishek Saini
3d948dfec4 measurement and nutrition chart issues fixes 2023-11-05 22:23:16 +05:30
Roland Geider
4fcccf2f61 Change tester to findsWidgets
For some reason this tests behaves differently on github actions vs locally
2023-11-05 15:20:01 +01:00
Roland Geider
2ff02c0935 Fix test 2023-11-05 15:14:19 +01:00
Roland Geider
6a9ebadb73 Correctly set the colors for the training logs 2023-11-05 15:12:32 +01:00
Roland Geider
67f727867c Some improvements to interval handling 2023-11-05 14:52:35 +01:00
Roland Geider
005f4d3db7 Better intervals
While this still doesn't look as nice and centered as I would like to,
it is at least an improvement
2023-11-05 11:56:38 +01:00
Roland Geider
511cde1669 Remove fl_chart_line.dart, not used 2023-11-05 11:07:35 +01:00
Roland Geider
3a075e2915 Merge branch 'master' into fix/replace-chart-lib 2023-11-05 10:49:09 +01:00
Milo Ivir
4761c6c142 Translated using Weblate (Croatian)
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/hr/
2023-10-22 21:04:42 +00:00
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
Roland Geider
6303f607c2 Merge pull request #441 from Abhisheksainii/patch-2
Update AUTHORS.md
2023-10-21 19:40:40 +02:00
Roland Geider
0820cf8d37 Merge pull request #440 from Abhisheksainii/patch-1
Update pull_request_template.md
2023-10-21 19:39:07 +02:00
Abhishek Saini
e47ee4e3ab Update pull_request_template.md
Changes :
1. Tests message updated
2. Improved bullet points structure in checklist
2023-10-21 23:07:26 +05:30
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
Abhishek Saini
4750150404 Update AUTHORS.md
Added myself to the developers
2023-10-21 00:13:33 +05:30
Abhishek Saini
e75aff668e Update pull_request_template.md
Changes proposed : 
1. Updated structure of the file.
2. Added more clear requirements such as changes proposed and checklist
2023-10-21 00:05:17 +05:30
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
fba46b9655 Translated using Weblate (Croatian)
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/hr/
2023-10-20 06:11:36 +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
ffd944f08a Merge pull request #434 from wger-project/dependabot/pub/package_info_plus-4.2.0
Bump package_info_plus from 4.1.0 to 4.2.0
2023-10-16 09:51:14 +02:00
Roland Geider
46d9384abd Merge pull request #435 from wger-project/dependabot/pub/shared_preferences-2.2.2
Bump shared_preferences from 2.2.1 to 2.2.2
2023-10-16 09:51:01 +02:00
dependabot[bot]
15fce78867 Bump shared_preferences from 2.2.1 to 2.2.2
Bumps [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.2.2/packages/shared_preferences)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 01:11:08 +00:00
dependabot[bot]
73a311fad8 Bump package_info_plus from 4.1.0 to 4.2.0
Bumps [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v4.2.0/packages/package_info_plus)

---
updated-dependencies:
- dependency-name: package_info_plus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 01:10:48 +00:00
Roland Geider
0bf324f188 Mention the test server for easier onboarding 2023-10-15 11:53:11 +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