Commit Graph
19 Commits
Author SHA1 Message Date
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 b90d0a0008 Fetch plan details when visiting the detail page
See #14
2021-05-13 13:19:07 +02:00
Roland Geider 8286abd3e2 Rename workout description to name 2021-05-11 14:06:55 +02:00
Roland Geider 2424199e09 Add tests for PlanForm 2021-04-23 12:47:12 +02:00
Roland Geider 1b7b78c640 Add tests for DayFormWidget 2021-04-23 11:32:00 +02:00
Roland Geider 3ae15688c5 Correctly order workout logs by date 2021-04-21 13:05:10 +02:00
Roland Geider 98981b0c68 Improve workout log page
This view now shows the logs performed on the selected day, as well as charts
for the individual exercises

Closes #17
2021-04-19 16:31:58 +02:00
Roland Geider e76ba740c8 Use setter to save ID and object references 2021-04-14 12:21:40 +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 ef645e10f4 Make app more inviting when the user has no workout plans, etc. 2021-03-16 22:42:10 +01:00
Roland Geider 5cbdb64dea Replace placeholder text in about dialog 2021-01-27 23:02:56 +01:00
Roland Geider 3217a7f357 Add dropdown menu to workout detail page 2021-01-24 11:42:01 +01:00
Roland Geider 914d93d17d More work on workout logs 2021-01-10 12:23:01 +01:00
Roland Geider 2a3dcb6ff6 Add logic to add days to workout plan 2020-11-27 11:48:39 +01:00
Roland Geider a00ac1afdf Allow editing the workout name when creating one 2020-11-21 21:01:30 +01:00
Roland Geider 8c7c4bde13 Fix some required flags 2020-11-18 18:45:29 +01:00
Roland Geider e92caa8eae More work on workout serialization
Also, it is now possible to delete workouts from the DB
2020-11-18 14:13:22 +01:00
Roland Geider cf877764bf Move workout_plan.dart to models folder 2020-11-12 23:08:14 +01:00