Commit Graph

317 Commits

Author SHA1 Message Date
Roland Geider
757eb4b27d Almost everything is nullable in the Log 2025-01-18 16:57:28 +01:00
Roland Geider
9ab55a6c83 Save iteration and slot entry id to the logs 2025-01-18 16:46:08 +01:00
Roland Geider
f5ab51fd5b Repetitions are not integers anymore 2025-01-18 13:55:42 +01:00
Roland Geider
5d542c51d9 Use updated name of repetition in API response
Also use the same name locally for more consistency
2025-01-14 20:41:40 +01:00
Roland Geider
5a39c6c229 Rename some functions, a bit of cleanup 2025-01-10 15:52:26 +01:00
Roland Geider
b42112075c Also read max sets and mar rir from the API 2025-01-08 19:22:54 +01:00
Roland Geider
6d970052ef Update the routine test data 2025-01-07 22:35:36 +01:00
Roland Geider
6e7284e104 Update the routine test data 2025-01-07 21:42:26 +01:00
Roland Geider
d7094c37d8 Add target fields to workout log 2025-01-06 22:34:12 +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
1ad59486c2 Start implementing the expanded mode on the slot entry form 2025-01-05 22:49:00 +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
ae4d2230b9 WIP: Make gym mode display the exercises 2025-01-05 14:49:34 +01:00
Roland Geider
f7461ab0e9 Polish the crud workflow 2024-11-16 19:50:28 +01:00
Roland Geider
a4f334e73d Allow deleting slots 2024-11-16 18:10:43 +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
04c6d6c643 Save values to server 2024-11-15 18:03:06 +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
056ed2b894 Allow day objects to load slots 2024-11-12 22:08:45 +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
05b13d880e Further work on rendering the new routines 2024-11-07 11:13:58 +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
c664ccedfa Update generated files 2024-10-29 19:05:20 +01:00
Dieter Plaetinck
f90609f147 various dcm cleanups 2024-09-18 21:52:21 +03:00
Dieter Plaetinck
25ad580a38 disable prefer-match-file-name for now.. 2024-09-18 21:23:18 +03:00
Dieter Plaetinck
1ae3f33edd use ingredient.license_object_url to link to human readable page 2024-07-12 14:26:09 +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
54fb7c1c6c cleanup 2024-07-12 10:09:36 +03:00
Roland Geider
c918e48f7e Commit generated files 2024-07-10 16:42:40 +02:00
Dieter Plaetinck
11ee38c03d dart fix --apply 2024-06-20 15:47:55 +03:00
Dieter Plaetinck
6e1d3f9568 dart format --line-length=100 .
(except auto generated files)
2024-06-20 15:44:35 +03:00
Dieter Plaetinck
cf351c3690 dcm fix --only-rules=prefer-declaring-const-constructor lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck
8db1a7c960 dcm fix --only-rules=unnecessary-trailing-comma lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck
7f74bff32c dcm fix --only-rules=prefer-trailing-comma lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck
d5fa2b9c18 fiber rename fixes 2024-05-29 13:04:50 +02:00
Roland Geider
cebb53c31a Merge branch 'log-fractional-meals' 2024-05-29 11:22:58 +02:00
Roland Geider
7f4dafd5ae Merge pull request #593 from wger-project/log-fractional-meals
log meal: separate confirmation page with portion choice
2024-05-29 11:20:47 +02:00
Dieter Plaetinck
a4bdf70582 consistent, improved deduplication behavior across mealitems and logs
deduplicate by ingredient AND amount: so if you use the same
ingredient, but in a different amount, the different amount
will show up
this increases the list of suggestions for editing meals,
and decreases the list logging an ingredient (significantly,
if you often log the same ingredient in the same amount)
2024-05-28 11:58:38 +02:00
Dieter Plaetinck
68799b0112 log meal: separate confirmation page with portion choice 2024-05-27 23:53:22 +02:00
Dieter Plaetinck
caa2866bdf Merge branch 'master' into goal-fiber 2024-05-25 09:53:47 +02:00