Roland Geider
6faba1f188
Fetch powersync keys
2024-09-08 20:57:05 +02:00
Dieter Plaetinck
fee0e632af
Merge pull request #624 from Denpeer/feature/remove-info-button
...
remove info button and viewmode logic
2024-07-18 17:41:35 +02:00
DVPeer
323f4bfc6b
remove info button and viewmode logic
2024-07-18 01:36:17 +07: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
47a5f4a07f
ingredient popup: scroll and shrink image when appropriate
2024-07-12 18:48:42 +03:00
Dieter Plaetinck
4a87c0b5f1
put popup button also in preview section
2024-07-12 18:48:42 +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
d99ca4160f
ingredient popup: fix image rendering
2024-07-12 14:26:09 +03:00
Dieter Plaetinck
fea019f51c
show source name and link to source, when possible in popup
2024-07-12 14:11:07 +03:00
Dieter Plaetinck
7e7fa387d5
todo's
2024-07-12 14:11:07 +03:00
Dieter Plaetinck
2d27281a1d
don't show g-per-bodyweight-kg on ingredient details popups
2024-07-12 10:09:36 +03:00
Dieter Plaetinck
395d40ce9a
dart fix
2024-07-12 10:09:36 +03:00
Dieter Plaetinck
54fb7c1c6c
cleanup
2024-07-12 10:09:36 +03:00
Dieter Plaetinck
de1b7e2229
cleanup
2024-07-12 10:09:36 +03:00
Dieter Plaetinck
b8f8bc4e4a
remove test sleep
2024-07-12 10:09:36 +03:00
Dieter Plaetinck
1909f7caab
popup ingredient details in typeahead suggestions and recently used
2024-07-12 10:09:36 +03:00
Dieter Plaetinck
02961c49dc
dart fix
2024-07-11 19:03:12 +03:00
Dieter Plaetinck
87755f16b6
dcm fix --only-rules=unnecessary-trailing-comma lib
2024-06-20 15:55:28 +03:00
Dieter Plaetinck
9a8a7e112a
dcm fix --only-rules=prefer-trailing-comma lib
2024-06-20 15:55:02 +03: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
Roland Geider
d5b172fd57
Merge branch 'master' into HEAD
...
# Conflicts:
# lib/screens/log_meal_screen.dart
# lib/widgets/core/core.dart
# lib/widgets/nutrition/meal.dart
# lib/widgets/nutrition/nutritional_diary_detail.dart
# lib/widgets/nutrition/widgets.dart
2024-06-18 17:46:52 +02:00
Dieter Plaetinck
7f96672b8b
Merge branch 'master' into simplify-tables
2024-06-16 12:27:06 +03:00
Dieter Plaetinck
f220a2e42f
l10n
2024-06-16 12:18:30 +03:00
Dieter Plaetinck
81e664759d
layout tweak
2024-06-16 12:12:32 +03:00
Dieter Plaetinck
70dfac6e74
kcal vs g fix
2024-06-10 23:47:41 +03:00
Dieter Plaetinck
3e459fa694
alignment tweaks
2024-06-10 23:23:01 +03:00
Dieter Plaetinck
cf82faafc5
macros table cleanup step 2
2024-06-10 23:18:58 +03:00
Dieter Plaetinck
34c2123c05
macros table cleanup step 1
2024-06-10 23:18:58 +03:00
Dieter Plaetinck
3d2ef58487
diary table: fix alignments
2024-06-10 23:18:53 +03:00
Dieter Plaetinck
339f24abf1
simplify diary table
2024-06-10 23:18:45 +03:00
Dieter Plaetinck
20ffc83b2a
cleanup
2024-06-10 18:39:15 +03:00
Dieter Plaetinck
17c6e9bca2
consistent & composable :-]
2024-06-10 16:14:50 +03:00
Dieter Plaetinck
82ab3f949d
remove unused LogDiaryItemWidget
2024-06-10 16:13:59 +03:00
Dieter Plaetinck
54a404ca2a
fix diary entries
2024-06-10 15:58:18 +03:00
Dieter Plaetinck
2edf5a5a58
cleanup
2024-06-10 15:58:02 +03:00
Dieter Plaetinck
4b59eeaf86
put trailing at the end, not overlay, so it works on nutrition diary
2024-06-10 15:32:57 +03:00
Dieter Plaetinck
fb7be3c8a3
overhaul macros viewing
...
* fix macros alignments across different UI elements, by relying on
a new standardized NutritionTile
* honor true needed widths based on string lengths of the column names
* show total macros for meal
2024-06-10 15:32:57 +03:00
Dieter Plaetinck
d2ac12bee4
use kcalValue
2024-06-10 10:40:37 +03:00
Dieter Plaetinck
a7012070d8
improve design
2024-06-08 10:15:43 +03:00
Dieter Plaetinck
90ebeec146
also show kcal consumed for "other" logs
2024-06-08 10:09:51 +03:00
Dieter Plaetinck
b7a2830106
show kcal consumed vs planned, on meal tiles
2024-06-07 21:35:08 +03:00
Dieter Plaetinck
266cec8c0c
manual fixes: no-empty-block
2024-06-07 14:59:07 +03:00
Dieter Plaetinck
653c11891d
manual fixes: prefex-explicit-function-type
2024-06-07 14:59:07 +03:00
Dieter Plaetinck
97a4af3b4e
manual fixes: memory leaks due to not disposing
2024-06-07 14:59:00 +03:00
Dieter Plaetinck
420f9ae16d
dcm fix --only-rules=avoid-inferrable-type-arguments lib
2024-06-07 14:59:00 +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
fa2c0ca449
mealtiles read only for logging
2024-06-06 18:24:30 +03:00