Commit Graph

369 Commits

Author SHA1 Message Date
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
fde14c369f Merge branch 'master' into feature/flexible-routines 2025-01-05 22:54:47 +01:00
Roland Geider
50f3c34a06 Update goldens 2025-01-05 21:13:15 +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
04e112d810 Fix some widgets, polishing, renaming 2024-11-20 14:39:17 +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
277628f329 Merge branch 'master' into feature/flexible-routines
# Conflicts:
#	test/weight/weight_screen_test.mocks.dart
2024-11-14 20:30:19 +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
4673bb5a64 Update screenshots 2024-11-09 13:08:29 +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
906fa7257a Rename function 2024-09-29 11:45:31 +02:00
Roland Geider
8f42514544 Remove "multiple databases open" error 2024-09-29 11:33:50 +02:00
Roland Geider
72a68b4f59 Allow resetting the ingredient cache from the settings page 2024-09-29 11:25:14 +02:00
Roland Geider
5f33a2d5d7 Update goldens 2024-09-27 16:11:51 +02:00
Roland Geider
dbdec5c9dd Add tests for db cache 2024-09-27 11:11:35 +02:00
Roland Geider
b1a49218ad Fix tests 2024-09-27 10:25:55 +02:00
Roland Geider
188dcddf23 Rename field to "lastFetched" and add migration class 2024-09-26 23:37:50 +02:00
Dieter Plaetinck
f90609f147 various dcm cleanups 2024-09-18 21:52:21 +03: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
349efa6d21 fix tests 2024-09-18 14:22:53 +03:00
Dieter Plaetinck
3dc1c4e79e fix tests 2024-09-11 23:00:04 +03:00
Dieter Plaetinck
a64a50f425 fix tests 2024-09-07 19:51:29 +03:00
Dieter Plaetinck
dc1f220292 refactor
ingredient details dialog:
 - give it close/continue buttons to load into selection
 - always use image property from loaded ingredient
   this is a bit slower, but:
   * more consistent (no need to support absolute vs relative URL's
     separately)
   * cleaner (no need to pass it thru explicitly)
   * more future proof: we will get rid of the dedicated
     /ingredient/search endpoint which gives us images before we load
     the full ingredient. in the future we will simply load the
     ingredients, completely, all at once.
   * allows for easier code reuse with barcode scan result dialog

barcode scan result dialog:
 - show image and detailed nutrition table
 - support a loading spinner
 - simplify error handling
 - deduplicate code between found & not found
 - share code with ingredient details dialog
2024-07-16 11:34:11 +03:00
Dieter Plaetinck
5fa08894ce update nutritional plan info detail response fixture with new plan 2024-07-12 14:11:07 +03:00
Dieter Plaetinck
2ef68ce24d cleanup 2024-07-12 14:11:07 +03:00
Dieter Plaetinck
d06ecabadf use ingredientinfo api, for image + new source and remote id fields
also update fixtures accordingly
2024-07-12 13:50:04 +03:00
Dieter Plaetinck
e1e27fb1dd for consistency and safety, always use prefs constants 2024-07-11 20:22:25 +03:00
Dieter Plaetinck
4656612f54 update goldens 2024-07-11 19:19:34 +03:00