Commit Graph

68 Commits

Author SHA1 Message Date
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
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
Roland Geider
1af8ab9ef4 Localize dates 2021-03-19 10:02:07 +01:00
Roland Geider
5aa55b2f4d Round nutritional values in the dashboard 2021-03-17 12:49:43 +01:00
Roland Geider
ef645e10f4 Make app more inviting when the user has no workout plans, etc. 2021-03-16 22:42:10 +01:00
Roland Geider
f8a7560da0 Show nutritional plan details on dashboard 2021-03-16 12:49:41 +01:00
Roland Geider
cc729f305b Replace more unstranslated strings 2021-03-12 13:07:52 +01:00
Roland Geider
8e297d5330 Make current workout more aesthetic
(this probably needs to be moved to its own widget)
2021-03-11 13:16:58 +01:00
Roland Geider
d8fe89ba56 Move translations to new i18n approach 2021-03-10 23:32:23 +01:00
Roland Geider
6ab9cef5d8 Right align calendar button as well 2021-02-18 23:16:32 +01:00
Roland Geider
d101ec6bd3 Allow to add weight entries from the dashboard 2021-02-18 23:08:31 +01:00
Roland Geider
bac2ef44f8 Correctly load calendar events 2021-02-18 22:57:58 +01:00