Commit Graph

300 Commits

Author SHA1 Message Date
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
Dieter Plaetinck
eeec221499 add note 2024-05-23 19:59:57 +02:00
Dieter Plaetinck
ad4543f2e6 small refactor 2024-05-23 19:59:57 +02: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
Dieter Plaetinck
12c1d0044c support fibers goal 2024-05-18 21:32:29 +02:00
Dieter Plaetinck
6f576b557c bugfix: 7day averages need to be divided by 7! 2024-05-15 10:52:54 +02:00
Roland Geider
ef78bc55e6 Remove BaseNutritionalValues, this wasn't used anymore 2024-05-12 14:09:05 +02:00
Dieter Plaetinck
9ad969527d fix 2024-05-08 22:48:26 +02:00
Dieter Plaetinck
578d56a0df fix tests, introduce golden tests
to make golden tests work, we no longer plot the "now time" for "other logs"
this was pretty silly anyway...
2024-05-08 22:48:26 +02:00
Dieter Plaetinck
2347657dcd fixes 2024-05-04 23:20:16 +02:00
Dieter Plaetinck
faa417d183 fix test 2024-05-04 18:13:16 +02:00
Dieter Plaetinck
bffaa9a9c9 Revert freezed attempt. it needs a constructor without args... :/
This reverts commit 55aac23033dda47895ffb63154fcbc6fe5524d40.
2024-05-04 15:56:11 +02:00
Dieter Plaetinck
84f43bb5c2 trying to fix tests by using freezed 2024-05-04 15:56:11 +02:00
Dieter Plaetinck
36697a660d proper nullable "nutritional goals" with inference
differentiate between a goal being set (but as 0) vs a goal not being
set. fixes various correctness issues
2024-05-04 14:20:00 +02:00
Dieter Plaetinck
cc39b692b2 cleanup/simplify existing code 2024-04-15 12:21:31 +02:00
Dieter Plaetinck
93cd21f33f fixes 2024-04-14 22:46:43 +02:00
Dieter Plaetinck
6dbfe88ac1 cleanups 2024-04-14 22:38:56 +02:00