Commit Graph

55 Commits

Author SHA1 Message Date
Roland Geider
6646640b9c Show set notes on the workout and the gym mode
https://github.com/wger-project/wger/issues/702
2021-07-17 13:25:04 +02:00
Roland Geider
8999b9bc27 Add drag handles to reorderable sets
This makes it more obvious that the order can be changed
2021-07-08 08:17:55 +02:00
Github-actions
bc21e44a30 Automatic linting 2021-07-01 15:10:27 +00:00
Arun Muralidharan
7eb26da243 Reorder Sets
Now updates order upon deletion as well. Order will be set to length of sets upon adding a new one.
2021-06-28 21:56:25 +02:00
Arun Muralidharan
22993a0151 Reorder List
Change in order now reflects in DB as well.
2021-06-28 14:59:43 +02:00
Arun Muralidharan
db04964f20 Reorder Sets
Progress PR for Issue #41. Currently you can edit the order (long press to reorder) in the workout plan screen. The order change is only local; it persists only for the current session. However, I have not figured out how to reflect the changed order in the DB using the API. Does Day even store the order of its Sets in the DB? Or is it dynamically populated into the model in the app?
2021-06-27 23:36:53 +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
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
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
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
0b13e8260e Give the add set form a cleanup 2021-05-18 15:00:40 +02:00
Roland Geider
ee2e6ac671 Give providers a consistent name 2021-05-11 12:10:53 +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
414f2eb234 Show exercise details from workout page 2021-04-28 10:26:47 +02:00
Roland Geider
fc4e9c45df Add drag indicator to dismissibles 2021-04-25 15:28:06 +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
3c21650003 Translate week day names in workout screens 2021-04-24 12:31:08 +02:00
Roland Geider
ad7507c8b7 Update license header as well 2021-04-13 10:28:15 +02:00
Roland Geider
5557686ff7 Polish the gym mode and other widgets 2021-04-06 20:41:44 +02:00
Roland Geider
110579aeb7 Some cleanup work on exercise images 2021-04-02 21:01:47 +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
ecd2773a87 Upgrade packages and move application to null safety 2021-03-25 22:20:16 +01:00
Roland Geider
5b06a86576 Add overflow behaviour for workout day descriptions 2021-03-20 00:05:16 +01:00
Roland Geider
892e9657c2 Alow the user to delete workout days 2021-03-18 11:03:44 +01:00
Roland Geider
07e51ac3a6 Allow deleting whole sets, not settings 2021-03-18 10:45:15 +01:00
Roland Geider
97d025c529 Make behaviour of workout and nutritional plans more consistent 2021-03-17 23:42:32 +01:00
Roland Geider
0cc240bebc More work with workout and nutritional plans detail page 2021-03-17 00:13:26 +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
fd10731d81 Make showFormBottomSheet a bit more configurable
Most dialogs are small enough that they don't need to take all that space, also
the controls should be as near to the user's fingers as possible
2021-03-12 13:31:16 +01:00
Roland Geider
676e53bd9b Workout day dismissible only starts the gym mode
The regular log entry forms will come later
2021-03-12 13:12:50 +01:00
Roland Geider
592378f775 Add 'gym mode' to translation files
(testing weblate integration)
2021-03-11 12:07:46 +01:00
Roland Geider
d8fe89ba56 Move translations to new i18n approach 2021-03-10 23:32:23 +01:00
Roland Geider
65a6987a3c Render correct number of pages in gym mode 2021-03-08 23:00:02 +01:00
Roland Geider
0c857df953 Further work on gym mode 2021-03-03 00:47:26 +01:00
Roland Geider
aab622bb83 Add drag icon to bottom sheet
This should make more obvious that the whole sheet can be dragged down
2021-02-18 21:38:35 +01:00
Roland Geider
c0759c913e Correctly save sets to the server 2021-02-06 01:18:53 +01:00
Roland Geider
0dd6135378 More work on set form 2021-02-05 22:00:44 +01:00
Roland Geider
45d8adca3c Add chart for workout logs 2021-01-11 22:27:11 +01:00
Roland Geider
3c505db785 Add exercise type ahead to set form 2020-12-28 19:34:39 +01:00
Roland Geider
99d1412a37 More work on nutritional plans widgets 2020-12-22 21:27:25 +01:00
Roland Geider
1c9d0ab7f6 Add copyright notice to all files 2020-12-06 17:14:50 +01:00
Roland Geider
f87505fc79 Make workout day header dismissible, with placeholder actions 2020-11-28 12:15:29 +01:00
Roland Geider
4f1e0b8b15 Commit current state of set editing widget 2020-11-27 20:17:02 +01:00
Roland Geider
8c247f70d9 Add a bit of background color to workout day header 2020-11-27 15:55:02 +01:00
Roland Geider
2a9d0ce0e4 Add placeholder dialogs 2020-11-27 12:27:28 +01:00
Roland Geider
24a55e0436 Use new data structure for exercise images 2020-11-11 14:25:57 +01:00
Roland Geider
9dd20cd000 Show exercise images
The data structure from the server needs to be streamlined
2020-11-09 20:17:33 +01:00