Roland Geider
959fdf26d0
Initialise session with defaul value (neutral)
...
Fixes #36
2021-06-12 17:28:16 +02: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
ab10b987b1
Only show action icons when there is data to work with
2021-05-24 14:27:24 +02:00
Roland Geider
d5d6c7a1ba
Make actions more discoverable for plans
...
Plans now show regular icons when expanding the panel. While it is not obvious
at all that the header of a workout day or nutritional plan is swipeable, it
provides a quick way to perform commonly used actions, so it will stay for the
users that have found it
2021-05-24 14:13:36 +02:00
Roland Geider
b739d71074
Make exercise detail content scrollable
2021-05-24 13:40:18 +02:00
Roland Geider
d0ec542801
Add methods to allow editing a workout day
2021-05-24 11:58:54 +02:00
Roland Geider
45a404586e
Move workout detail switcher to toggle buttons
...
This makes it more obvious that the page is part of the current workout
2021-05-21 12:39:29 +02:00
Roland Geider
0b29ac1405
Simplify workout widgets by moving the SliverList to the screen
2021-05-21 11:54:41 +02:00
Roland Geider
31edbb3b48
Loop through all result pages when loading logs
2021-05-19 22:34:36 +02:00
Roland Geider
e45115d26e
Make RiR form element a slider
...
This allows the user to select the correct value faster
2021-05-19 21:35:07 +02:00
Roland Geider
bd1d75caec
Make the quick jump exercise list scrollable
...
Otherwise, this could overflow when there are too many exercises for a
single day
2021-05-19 21:22:04 +02:00
Roland Geider
980b5e0526
Cleanup unneeded widgets in gym mode
2021-05-19 14:58:26 +02:00
Roland Geider
8474d2d598
Allow the user to jump to the different exercises in the gym mode
2021-05-19 14:13:04 +02:00
Roland Geider
83202cedb0
If the user cancels the time picker, null is returned
2021-05-19 14:00:05 +02:00
Roland Geider
9ce8632dcc
Move the close button to the top left corner in gym mode
...
This is a more standard behaviour (and the system's back button also leaves the
gym mode anyway)
2021-05-19 12:29:36 +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
d5521082a6
Override the equals operator for workout plan logs
...
Two logs are considered equal if their content is equal. This is used e.g.
in the gym mode where we want to have unique values
2021-05-18 22:14:58 +02:00
Roland Geider
128020e4f6
Change the order of + and - signs in reps and weight
...
This feels more natural
2021-05-18 22:14:58 +02:00
Roland Geider
e2ec4669ed
Replace dropdown for impression with icons
...
This makes it more obvious and is easier and faster to use
2021-05-18 16:12:20 +02:00
Roland Geider
7bd1dcaa26
Replace exit icon on gym mode to something more standard
2021-05-18 15:38:24 +02:00
Roland Geider
0b13e8260e
Give the add set form a cleanup
2021-05-18 15:00:40 +02:00
Roland Geider
00f00e3e4d
Show correct unit dropdowns
2021-05-18 12:11:48 +02:00
Roland Geider
0e7f50c2dd
Use font awesome icons for weight
2021-05-18 11:49:10 +02:00
Roland Geider
eaaad4a578
Don't use hard coded strings
2021-05-18 11:48:24 +02:00
Roland Geider
a0d316eef4
Move general settings to option icon
...
The drawer was removed since it was not providing any real navigation and was
non-standard anyway. Also, some cleanup and slight refactoring.
2021-05-17 21:18:33 +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
437dd45dea
Remove onTap
...
The entry wasn't interactive anyway and the inkwell effect could confuse
the users
2021-05-17 16:04:39 +02:00
Roland Geider
b8e0136540
Clear data when logging out
2021-05-12 14:13:20 +02:00
Roland Geider
699ea87c5f
Add some tests for the picture gallery
2021-05-11 13:44:04 +02:00
Roland Geider
123f64d0eb
Add some tests for the picture gallery
2021-05-11 13:18:20 +02:00
Roland Geider
ee2e6ac671
Give providers a consistent name
2021-05-11 12:10:53 +02:00
Roland Geider
4728360149
Move gallery to own provider
...
Since this has its own icon in the main navigation
2021-05-11 11:48:28 +02:00
Roland Geider
4cb473ebf3
Allow editing existing image entries
2021-05-10 13:24:51 +02:00
Roland Geider
3c96476bdb
Show bigger version of image when clicking on it
2021-05-10 00:01:32 +02:00
Roland Geider
8839ffa93f
Some refactoring of the gallery form
2021-05-08 20:52:03 +02:00
Roland Geider
edbb49e688
Allow submitting images to the gallery
2021-05-08 12:13:34 +02:00
Roland Geider
431f749674
Start adding user gallery
2021-05-06 14:02:04 +02:00
Roland Geider
6ab3e26db4
Rename workout description to name
2021-05-06 13:18:32 +02:00
Roland Geider
f0fa8a5173
Nutritional plan time is nullable
2021-05-01 15:33:28 +02:00
Roland Geider
0edb4c1373
Always show exercises, show reps for details
2021-05-01 15:32:56 +02:00
Roland Geider
b8efdb87a6
Some improvements to the gym log page
...
By default only the weight and repetitions are shown, but the units and the
RiR can be toggled
2021-05-01 12:20:05 +02:00
Roland Geider
cceefdf397
Use material translations for common words
2021-04-30 18:51:38 +02:00
Roland Geider
2c0e1ef05b
Change icons used for expanding panels in workout and nutritional plans
2021-04-30 12:19:11 +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
Jannik Norden
7b4936b396
Added plate calculator to gym mode
2021-04-29 18:10:59 +02:00
Roland Geider
f82cd65acf
Improve detail view of meals
...
The header and values are now better centered, making this a bit more visually
pleasing
2021-04-28 12:24:02 +02:00
Roland Geider
4c7452e634
Fix bug preventing addind and editing meal items
2021-04-28 11:47:30 +02:00
Roland Geider
0673cbf3ce
Correctly handle navigation when adding or editing plans
2021-04-28 11:24:23 +02:00
Roland Geider
90c1f3c3b6
Add simple test for exercise detail widget
2021-04-28 10:45:31 +02:00