Roland Geider
deaee53319
Fix test
...
The localization of dates was removed since that is not used anymore
2025-01-07 22:37:58 +01:00
Roland Geider
b0e1da49b9
Some renaming for consistency
2025-01-06 22:34:30 +01:00
Roland Geider
462cc95979
Fix test
2025-01-06 22:01:33 +01:00
Roland Geider
ede90b75a9
Remove unused code
2025-01-06 21:38:17 +01:00
Roland Geider
4a60018d9a
Fix tests
2025-01-06 21:36:37 +01:00
Roland Geider
5f89ab4b6f
Add missing max fields to the slot entry form
2025-01-06 20:28:14 +01:00
Roland Geider
ca6c682483
Remove more unused code
2025-01-05 20:17:26 +01:00
Roland Geider
b66aa7444d
Some polishing, adding missing fields and other QoL
2025-01-05 19:45:02 +01:00
Roland Geider
ad5d1be306
Pass the necessary IDs to the gym mode and load the rest of the data
2025-01-05 16:35:16 +01:00
Roland Geider
f7461ab0e9
Polish the crud workflow
2024-11-16 19:50:28 +01:00
Roland Geider
e6e0ed3f08
Properly set or remove newly created objects
2024-11-16 18:10:29 +01:00
Roland Geider
c5f4eec12f
Extract exercise autocompleter to its own widget
2024-11-16 15:16:32 +01:00
Roland Geider
ffa87f6db7
Refactor update logic
...
There are a lot of common steps that are always the same. This will specially
important once we edit all the other configs and their max siblings
2024-11-16 12:55:14 +01:00
Roland Geider
23119e68d5
Allow users to reorder the days and the slots within the days
2024-11-15 16:44:41 +01:00
Roland Geider
aa8c3444b8
Allow reordering of slots
2024-11-12 22:57:24 +01:00
Roland Geider
bf73afd9fe
Allow deleting days from a routine
2024-11-12 20:55:37 +01:00
Roland Geider
9e9fa6be93
Allow setting the day order per drag and drop
2024-11-12 16:27:53 +01:00
Roland Geider
1d93b2f8c0
Refactor forms into individual files
2024-11-12 14:15:49 +01:00
Roland Geider
a35336f57c
Allow editing the fit in week toggle as well as start and end dates
2024-11-12 13:31:56 +01:00
Roland Geider
47e36eff48
More refactoring of routine screens and widgets
2024-11-10 15:13:30 +01:00
Roland Geider
12f22d214a
Rename widget folder
2024-11-10 14:51:11 +01:00
Roland Geider
5c947375ee
Rename provider
2024-11-10 14:48:03 +01:00
Roland Geider
abf9413f4b
Start rendering the new routines
2024-11-02 17:28:24 +01:00
Roland Geider
9ff2bba13a
Load the new DayData entries and the regular data objects from structure endpoint
2024-10-30 23:19:10 +01:00
Roland Geider
a79b6d6b4e
Start implementing new flexible routines
2024-10-30 19:17:51 +01:00
Roland Geider
7db93f0b6e
Start implementing new flexible routines
2024-10-30 12:14:26 +01:00
Roland Geider
dbdec5c9dd
Add tests for db cache
2024-09-27 11:11:35 +02:00
Dieter Plaetinck
85c245d67d
dcm fix --only-rules=unnecessary-trailing-comma lib test test_data
2024-09-18 16:01:10 +03:00
Dieter Plaetinck
66ced6ccc4
dcm fix --only-rules=prefer-trailing-comma lib test test_data integration_test
2024-09-18 16:00:43 +03:00
Dieter Plaetinck
a589d87fad
dcm fix --only-rules=avoid-redundant-async
2024-09-18 15:52:55 +03:00
Dieter Plaetinck
e1e27fb1dd
for consistency and safety, always use prefs constants
2024-07-11 20:22:25 +03:00
Dieter Plaetinck
11ee38c03d
dart fix --apply
2024-06-20 15:47:55 +03:00
Roland Geider
5d237e1ddf
Consistently use "fiber"
2024-05-23 17:54:50 +02:00
Roland Geider
faf1018f2a
Fixes for flutter typeahead 5.1.0
...
Also, add some models for the API response from the search
2024-01-29 12:07:26 +01:00
Roland Geider
2dc08a133e
Merge pull request #459 from 12people/ux_fixes
...
Removing Dismissible for better discoverability
2024-01-23 14:31:16 +01:00
Roland Geider
41555c4bce
Recreate generated files
2024-01-22 17:01:23 +01:00
Roland Geider
190f47f76b
Merge branch 'master' into ux_fixes
2024-01-12 14:54:25 +01: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
24e031d595
Finally fix the tests
...
We now dependency inject the database for the whole exercise provider,
this makes our lives a bit easier
2024-01-09 15:00:36 +01:00
Roland Geider
acbee49100
Simplify generating translation objects
2023-12-30 17:55:52 +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
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
Miroslav Mazel
814acd14c7
Meals + workouts: Removing Dismissible
2023-11-24 13:01:30 +01:00
Miroslav Mazel
1983d3890a
GymMode: Use Table of Contents icon, not Menu
2023-11-23 13:53:06 +01:00
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
Github-actions
ca27faf9e2
Automatic linting
2023-11-09 19:26:45 +00:00