Commit Graph

16 Commits

Author SHA1 Message Date
Roland Geider
49873d20bd Cleanup some of the models 2025-11-08 23:07:40 +01:00
Roland Geider
4a2047ec8b Edit sessions with the new sessions provider 2025-11-08 17:15:17 +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
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
39b503e03a Format files as in master 2025-10-09 17:54:24 +02:00
Roland Geider
6146201531 Allow setting the slot entry type as well 2025-10-09 17:28:23 +02:00
Roland Geider
39be6a3edf Allow setting the day type in the edit form 2025-10-06 11:36:27 +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