Roland Geider
0711e199da
Merge branch 'master' into feature/exercise-crowdsourcing
...
# Conflicts:
# lib/models/exercises/exercise.g.dart
# pubspec.lock
# pubspec.yaml
# test/gallery/gallery_screen_test.mocks.dart
# test/measurements/measurement_provider_test.mocks.dart
# test/nutrition/nutritional_plan_form_test.mocks.dart
# test/workout/workout_form_test.mocks.dart
# test/workout/workout_set_form_test.mocks.dart
2022-07-01 09:47:52 +02:00
Roland Geider
ca2fd8e9ef
Add a consumer to the body weight card
...
Closes #144
2022-05-20 19:08:13 +02:00
Roland Geider
9d554b391d
Some further fixes for migration to exercise bases
2022-05-10 17:07:06 +02:00
Roland Geider
f834950cec
Workout logs and settings now have a reference to an exercise base
...
This puts this code in sync with the backend and is logically better, since
the translations can be displayed when needed and are not hard coded
2022-05-10 16:53:44 +02:00
yaseenagwan
d7b216d57a
fix: Render Overflow issue in Dashboard screen
2022-01-09 13:30:03 +05:30
Roland Geider
a77a0cc5db
Show last logged items for quick access
2021-11-08 10:37:57 +01:00
Roland Geider
9d6d3fcc25
Add quick link to log to diary on dashboard
2021-11-03 20:04:19 +01:00
Marvin M
6fac7455c5
Merge branch 'master' into better-linting-rules-1
2021-10-09 00:05:45 +02:00
Sandi Milohanić
bed7da48c6
New language keys have been added for some short names of macronutrients (energy, fats, carbohydrates, proteins)
2021-10-08 13:14:02 +02:00
Marvin M
1e8080cc02
always_declare_return_types
2021-10-07 20:43:55 +02:00
Marvin M
9d479e89b0
const_constructors
...
info: Prefer const with constant constructors. prefer_const_constructors
2021-10-07 20:40:09 +02:00
Sandi Milohanić
0c1e80e660
Optimization code lines
2021-10-07 13:35:46 +02:00
Sandi Milohanić
7deef06b1d
Consistenly display nutritional values
...
Additional: Removed macronutrients sugars and saturated fats
2021-10-07 11:36:19 +02:00
Github-actions
1a84fec097
Automatic linting
2021-10-02 10:58:18 +00:00
Marvin M
eae34f0b36
Fixes pt 2
2021-10-01 17:32:31 +02:00
Marvin M
45a2a5f857
Fixes pt 1
2021-10-01 17:18:17 +02:00
Roland Geider
3874a49fe0
Add measurement entries in the dashboard calendar
2021-09-06 18:33:54 +02:00
Roland Geider
8ed9bdb6e0
Add shortcut to weight overview from dashboard
...
This makes the behaviour more consistent and is more useful
2021-08-30 19:55:09 +02:00
Roland Geider
93b159b3b9
Show chart with measurement entries values in detail view
2021-08-28 22:07:54 +02:00
Roland Geider
5b5feca8b8
Refactor weight chart to be used with the measurement entries
2021-08-25 17:19:47 +02:00
Prakash Shekhar
3193bfd3ca
Fixes #68
2021-08-15 11:28:02 -04:00
Roland Geider
51422b3053
Use correct label when there are no nutritional plans
2021-08-11 13:28:37 +02:00
Github-actions
c877e436b0
Automatic linting
2021-06-22 21:10:15 +00:00
Github-actions
7492b53c67
Automatic linting
2021-06-20 13:09:24 +00:00
Roland Geider
7e416383b5
Use string as a key for dates in the calendar
...
Fixes #33
2021-06-12 17:19:00 +02:00
Roland Geider
b915c764ef
Don't check AppLocalizations for null values
...
This is not needed in flutter 2.2 anymore
2021-05-19 11:50:43 +02:00
Roland Geider
0e7f50c2dd
Use font awesome icons for weight
2021-05-18 11:49:10 +02:00
Roland Geider
09ed4dc402
Refactor calendar on dashboard
...
The scrollable list view is now removed. There can't be that many different
types of events for a single day anyway.
2021-05-17 18:22:37 +02:00
Roland Geider
6c4a09bf97
Refactor dashboard.dart
...
This design should be cleaner and more compact
2021-05-17 18:07:29 +02:00
Roland Geider
ee2e6ac671
Give providers a consistent name
2021-05-11 12:10:53 +02:00
Roland Geider
6ab3e26db4
Rename workout description to name
2021-05-06 13:18:32 +02:00
Roland Geider
0edb4c1373
Always show exercises, show reps for details
2021-05-01 15:32:56 +02:00
Roland Geider
9ec1898cfc
Show repetitions in a column
...
If there are e.g. four different ones, the resulting line is really ugly
2021-04-30 10:58:08 +02:00
Roland Geider
e9a0615775
Use local date as key
...
This hopefully fixes an error where no logs would be shown in the calendar when
running the app on a real device
2021-04-25 16:59:36 +02:00
Roland Geider
7c7829f473
Handle ingredient name overflowing in the dashboard
2021-04-25 16:19:06 +02:00
Roland Geider
809d5ab51f
Mute the repetitions of exercises in the dashboard
2021-04-25 15:01:02 +02:00
Roland Geider
f67cb1797b
Calculates reps for a set locally
...
This saves us unneeded round trips to the server
See #14
2021-04-24 13:58:14 +02:00
Roland Geider
2424199e09
Add tests for PlanForm
2021-04-23 12:47:12 +02:00
Roland Geider
ff22d830b2
Rework the about page
...
This now has more structure and direct links to important places
2021-04-21 22:05:50 +02:00
Roland Geider
6370df7b97
Move the action buttons in the dashboard to the side
2021-04-21 12:55:20 +02:00
Roland Geider
deea1b1ed4
Don't show decimal places for meal items
2021-04-21 11:26:44 +02:00
Roland Geider
6215019e73
Set available gestures in dashboard calendar
...
We don't support different calndar types (4 weeks, 2 weeks, etc.) anyway
2021-04-19 16:31:57 +02:00
Roland Geider
1f20c87a2d
Update calendar widget to 3.0
2021-04-19 16:31:57 +02:00
Roland Geider
ad7507c8b7
Update license header as well
2021-04-13 10:28:15 +02:00
Roland Geider
e60236042b
Remove more hard coded strings
2021-04-10 13:22:15 +02:00
Roland Geider
ec8e8294e0
Allow the user to start the gym mode from the dashboard
2021-04-09 18:18:57 +02:00
Roland Geider
5557686ff7
Polish the gym mode and other widgets
2021-04-06 20:41:44 +02:00
Roland Geider
bf9abea7aa
Render forms in own scaffold
...
This eliminates many of the overflow problems from the bottom sheet
2021-04-02 17:35:31 +02:00
Roland Geider
63584fb8f2
Use individual endpoints to load plan data
...
While this results in way more requests needed, it has the great benefit of using
the same data structure for reading and writing. This saves us a lot of headaches
in the data modelling and we don't have to care that the info endpoints looked a
bit different.
2021-04-01 16:28:35 +02:00
Roland Geider
ecd2773a87
Upgrade packages and move application to null safety
2021-03-25 22:20:16 +01:00