Commit Graph

606 Commits

Author SHA1 Message Date
Milksheyke
7fe9b645fd Remove unnecessary comment 2024-01-06 00:59:54 -05:00
Milksheyke
d0bc72fdef Add "Contribute an exercise" to "No matching exercise" suggestion
Created noItemsFoundBuilder callback for typeAheadFormField in exercise search form.
2024-01-06 00:41:57 -05:00
Roland Geider
9802a52be7 Update year in about us dialog 2023-11-20 21:25:25 +01:00
Roland Geider
29a6839a61 Run dart fix on the code base 2023-11-19 18:49:35 +01:00
Roland Geider
afba3a8cc9 Add link to mastodon in the about us widgets 2023-11-19 13:46:02 +01:00
Roland Geider
bcbfa8ed5e Show exercise names instead of their UUIDs
closes #297
closes #300
2023-11-19 11:08:42 +01:00
Miroslav Mazel
8d3f03953d Smaller rep setting heading variant 2023-11-11 18:01:22 +01:00
Miroslav Mazel
89caf4616d Adding much-needed padding 2023-11-11 17:59:55 +01:00
Miroslav Mazel
d445283cf7 Different fonts + tweaked icons 2023-11-11 12:33:19 +01:00
Roland Geider
d78ec46e54 Import font awesome flutter package 2023-11-10 19:33:50 +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
dc940c314d Remove toList in spreads 2023-11-10 19:09:57 +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
6d84cf7348 Don't make the chart square... 2023-11-10 14:40:12 +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
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
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
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
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
Miroslav Mazel
5f7bc96f8b Don't use BuildContext across async gaps 2023-11-05 23:34:37 +01:00
Miroslav Mazel
9a34eac395 isEmpty instead of ==0 2023-11-05 23:27:37 +01:00
Miroslav Mazel
f31bcc770d Consts and finals where possible 2023-11-05 23:27:22 +01:00
Miroslav Mazel
d86ee692bb Children at the bottom + consistent variable names + BuildContext async gaps 2023-11-05 23:24:50 +01:00
Miroslav Mazel
420b06a661 Organize imports / remove unnecessary ones 2023-11-05 23:22:34 +01:00
Miroslav Mazel
c655c3e86e Stricter mixin rules: with -> implements 2023-11-05 23:16:53 +01:00
Miroslav Mazel
c81c467d7a Dependency bump + replacing deprecated lib 2023-11-05 23:11:46 +01:00
Abhishek Saini
3d948dfec4 measurement and nutrition chart issues fixes 2023-11-05 22:23:16 +05:30
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
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
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
f58f61e4bc Automatic linting 2023-06-26 14:53:02 +00:00
artchiee
72e9f4bef6 null check fixed whene poping back from scanner 2023-06-23 12:13:51 +01:00
Roland Geider
c0bc830bb9 Merge branch 'master' into google_play_dependency 2023-06-20 11:06:16 +02:00