Roland Geider
4a2047ec8b
Edit sessions with the new sessions provider
2025-11-08 17:15:17 +01:00
Roland Geider
aafd464fbe
Fix tests
2025-11-07 15:45:13 +01:00
Roland Geider
2132249682
Wrap the routines provider
...
This makes it easier to load the data from the powersync database
2025-11-07 15:10:04 +01:00
Roland Geider
5912cea664
Fix some tests
2025-11-04 15:23:55 +01:00
Roland Geider
a368fe2f79
Pass the exercises and workout units as parameters
...
If the routine provider is rewritten to be a riverpod provider as well,
we will be able to simply read the necessary providers ourselves as needed.
2025-11-04 14:25:25 +01:00
Roland Geider
c60cfbe347
Add tables for workout sessions
2025-10-26 18:18:22 +01:00
Roland Geider
8b8c4626eb
Powersync seems to be working now
2025-10-23 15:32:21 +02:00
Roland Geider
017cccab18
Start adding drift and using riverpod
2025-10-22 20:49:38 +02:00
Roland Geider
4d2083f05a
Update body weight provider to use riverpod
2025-10-21 12:04:59 +02:00
Roland Geider
93a11a16e4
Recreate generated files and reformat the repo
...
Seems the default dart formatting rules changed recently, and this was causing
huge diffs in branches
2025-10-09 17:39:02 +02:00
Roland Geider
fa7f670e9f
Some light cleanup
2025-10-06 12:31:12 +02:00
Roland Geider
798406eaa9
Make routineId nullable in session and related files
...
Sessions can be added ad-hoc, without needing to be part of any specific
routine.
2025-09-16 14:47:47 +02:00
Roland Geider
4330e51f86
Retrieve the current routine dynamically
...
This behaviour is now the same as the nutritional plans.
2025-09-05 22:47:27 +02:00
Roland Geider
a853e45107
Optimize fetching exercises from the server
...
This might be the reason behind wger-project/wger#2028 since depending on the routine
the server could get hammered with requests and one (or other unrelated ones) fail.
Even if this is not the case, being a bit more reserved here is still a good idea.
2025-08-27 18:52:54 +02:00
Roland Geider
8ae889a1ea
Improve decimal input handling
...
We now use TextInputType.numberWithOptions(decimal: true) which seems to have
a more consistent behaviour under android and iOS. Also, we now use NumberFormat
to parse the inputs according to the user's locale.
2025-06-27 13:24:53 +02:00
Roland Geider
d2dd9c144d
Fix some paths and recreate generated files
2025-05-16 18:01:30 +02:00
Roland Geider
1613b9b91a
Rename test folder
...
We're now using "routine" throughout the application
2025-05-16 17:47:36 +02:00