Commit Graph

29 Commits

Author SHA1 Message Date
Roland Geider
b64458603f Rename further occurrences of "exercise base" to just "exercise" 2023-12-26 21:38:07 +01:00
Roland Geider
65ba2275ae Run "dart format --line-length=100 ." to make the diff smaller 2023-12-23 16:40:05 +01:00
Abhishek Saini
c69c639fac fix(drift): built a model for exercise and fixes in fromSql type converter 2023-12-23 14:28:38 +05:30
Roland Geider
c514842b59 Lint the code with a line length of 100
This makes it easier to understand the diffs
2023-11-16 21:36:21 +01:00
Abhishek Saini
582bc611a4 feat(drift-database): Shifted from shared prefs to drift for Exercises 2023-11-16 22:34:40 +05:30
Roland Geider
dd814063f3 Remlace deprecated ignore parameter 2023-02-05 21:28:41 +01: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
Roland Geider
19a504dcfb Actually create exercise bases and translations 2022-02-20 14:40:42 +01:00
Roland Geider
a4e381e4c8 Make order of sets a required attribute
Closes #109
2021-10-28 11:43:32 +02:00
Marvin M
45a2a5f857 Fixes pt 1 2021-10-01 17:18:17 +02:00
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
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
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
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
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
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
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
4f1e0b8b15 Commit current state of set editing widget 2020-11-27 20:17:02 +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
eefec0d5e6 Render the individual workout days 2020-11-09 18:04:31 +01:00
Roland Geider
e1f4ccfa18 Show sets within a day
Still problems with scrolling
2020-11-08 15:02:39 +01:00
Roland Geider
e6a2daebd1 Add models for workouts 2020-11-06 15:42:40 +01:00