Roland Geider
6fa492c569
Set correct type for metadata variable
2021-04-30 11:28:18 +02:00
Roland Geider
4c7452e634
Fix bug preventing addind and editing meal items
2021-04-28 11:47:30 +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
c870d29c38
Improve initial loading time
...
We save some requests by using the info endpoints, but this can still be improved
See #14
2021-04-23 18:37:37 +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
7e2ba3468d
Show past logs in gym mode
...
See #13
2021-04-15 13:28:12 +02:00
Roland Geider
6973f2eb52
Read exercise data as UTF8
2021-04-13 11:10:40 +02:00
Roland Geider
ad7507c8b7
Update license header as well
2021-04-13 10:28:15 +02:00
Roland Geider
0b8c8ce3de
Correctly fetch the synthetic repetitions when creating a workout
2021-04-09 18:18:57 +02:00
Roland Geider
ddad869fc9
Don't use the returned workout plan when editing
...
This gets rid of all attached objects such as days
2021-04-08 13:04:11 +02:00
Roland Geider
1d1d62d950
Search ingredients and exercises in the current locale
2021-04-08 12:46:36 +02:00
Roland Geider
68268757b8
Don't allow selecting a date if there is already an entry
2021-04-07 21:26:14 +02:00
Roland Geider
eca0336706
Initialise the weight and reps unit objects for computed settings
2021-04-07 12:37:06 +02:00
Roland Geider
5557686ff7
Polish the gym mode and other widgets
2021-04-06 20:41:44 +02:00
Roland Geider
8326fe2aee
Rename some methods for more consistency
2021-04-05 19:00:31 +02:00
Roland Geider
110579aeb7
Some cleanup work on exercise images
2021-04-02 21:01:47 +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
ab974aab86
Move computed settings to set loop
...
Format of REST API changed in server
2021-03-19 23:41:04 +01:00
Roland Geider
1ad4e5aebb
Move default server to constants file
2021-03-18 11:16:22 +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
9397b90870
Parse the login URL so that HTTPS can be used as well
2021-03-16 22:43:05 +01:00
Roland Geider
8c710fb2b0
Allow using a custom wger instance for login
2021-03-14 22:56:24 +01:00
Roland Geider
e8608976ea
Make forms in gym mode work
2021-03-10 12:05:27 +01:00
Roland Geider
0ce2b6efca
Move URI generation to helper
2021-03-09 11:42:44 +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
0d3e2ef8ff
Add gym workout screen
2021-02-23 22:31:25 +01:00
Roland Geider
e9c9ae93d6
Allow users to register via the app
2021-02-15 22:27:06 +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
d3eaa11cf9
Properly log meal diary entries
2021-01-31 14:49:26 +01:00
Roland Geider
8d2696dbaf
Call set server and application version after login
2021-01-28 12:49:21 +01:00
Roland Geider
5cbdb64dea
Replace placeholder text in about dialog
2021-01-27 23:02:56 +01:00
Roland Geider
62c1be5b16
Pre-load necessary data
2021-01-27 13:36:01 +01:00
Roland Geider
4c37d5bf91
Refactor weight entry form to use showFormBottomSheet
2021-01-25 21:43:50 +01:00
Roland Geider
ad672ae269
Fix error when there was no search query for exercises
2021-01-25 13:47:44 +01:00
Roland Geider
90f5c13f9d
Correctly filter log data for current workout
2021-01-25 11:43:22 +01:00
Roland Geider
e3c729f917
Allow editing of meals
2021-01-24 20:48:31 +01:00
Roland Geider
ae003b0cdb
Fix URL to add meals
2021-01-24 20:07:03 +01:00
Roland Geider
3d7f3d82a6
Refactor workout form to use showFormBottomSheet
2021-01-23 12:48:28 +01:00
Roland Geider
62926ae549
Refactor makeUrl
...
The object ID is an integer and there is now an objectMethod for special object
endpoints.
2021-01-22 23:11:52 +01:00
Roland Geider
12632955df
Allow editing of nutritional plans
2021-01-22 22:45:16 +01:00
Roland Geider
2e96078af6
Save used ingredients to local cache
...
This saves us hundreds of requests to the REST api
2021-01-19 17:41:08 +01:00
Roland Geider
cc9418b41e
Sort nutritional and workout plans as well
2021-01-19 12:18:41 +01:00
Roland Geider
26dafb7ccc
Sort weight entries by date (newest first)
2021-01-19 11:48:26 +01:00
Roland Geider
696eb30c26
Use constants for HTTP headers
2021-01-19 11:32:58 +01:00
Roland Geider
9b5e29e7c7
Fetch all the log items
2021-01-16 13:51:15 +01:00
Roland Geider
b8c159c841
Add nutritional diary data to calendar
2021-01-16 13:44:19 +01:00