Commit Graph
17 Commits
Author SHA1 Message Date
Roland Geider 929acc7938 Refresh the whole routine after modifying a day
This makes sure that all the structures are present and have the correct
content (dayData, etc.)
2025-03-11 14:06:09 +01:00
Roland Geider 3e6ee0b082 Update models due to changes in exercise api response changes 2025-01-30 21:48:44 +01:00
Roland Geider 58e7a52e3d Use log levels when logging to console 2025-01-25 12:45:33 +01:00
Roland Geider 86f8b7ae35 Add a third option to the theme mode
This allows the user to use the system settings as well, and not always force
light or dark mode in the app. Also move the logic to the UserProvider and
do some light refactoring.
2025-01-23 23:22:50 +01:00
Roland Geider c664ccedfa Update generated files 2024-10-29 19:05:20 +01:00
Roland Geider 6853946308 Recreate generated files 2024-09-29 20:14:36 +02:00
Roland Geider 26491bb8b9 Remove cache version handling from provider
This now happens as a database migration
2024-09-27 10:25:36 +02:00
Roland Geider 188dcddf23 Rename field to "lastFetched" and add migration class 2024-09-26 23:37:50 +02:00
Dieter Plaetinck 6956fd6a89 dart run build_runner build (to fix syntax errors with new flutter) 2024-07-11 18:59:40 +03:00
Dieter Plaetinck cf351c3690 dcm fix --only-rules=prefer-declaring-const-constructor lib 2024-06-07 14:59:00 +03:00
Roland Geider 5d237e1ddf Consistently use "fiber" 2024-05-23 17:54:50 +02:00
Roland Geider 239e1a1caa Consistently use "fibers" instead of "fibres" 2024-05-20 22:06:47 +02:00
Roland Geider e67d992385 Add (for now) simple settings page to reset the exercise cache
This should be expanded later to allow to re-fetch all available exercises, etc.
2024-01-11 22:13:11 +01:00
Roland Geider 2c9a001f1c Save the database to the application cache folder
The documents folder is suggested for files that can't be generated by the
application itself
2024-01-11 21:14:41 +01:00
Roland Geider c4577ca5d7 Further tweaking exercise cache handling
handleUpdateExerciseFromApi should now be faster and save up on some requests.
Ideally we would pre-populate the database with all exercises on first run, or
even just ship it pre-filled
2023-12-28 17:48:15 +01:00
Roland Geider b64458603f Rename further occurrences of "exercise base" to just "exercise" 2023-12-26 21:38:07 +01:00
Roland Geider c5cbb4f851 Rework exercise database
This is now separated into individual tables and methods so that they can be
tested separately
2023-12-26 17:03:20 +01:00