Commit Graph

17 Commits

Author SHA1 Message Date
38a88bf868 Add licence identifiers in files 2024-12-07 13:29:34 +01:00
3faf5295b1 Trying to fix bottom bar 2024-10-08 01:04:33 +02:00
cb18e1d1f0 Introduce PageView with manual switching of dates
1. Show PerDate widgets inside of an PageView
2. Introduce GoRouter so we can intercept back button taps with
   BackButtonListener
3. Implement rudimentary navigation
4. Fix bug that still showed a spinner event when the barcode was not
   found.
2024-10-06 02:20:08 +02:00
f28626c49e Move select logic for FoodEntry into BLoC 2024-09-25 17:33:40 +02:00
ace03d98d2 Handle changing a food entry 2024-09-24 17:23:01 +02:00
a7a7f44050 Make scanned widgets appear in the list instead of putting the info into
the EnterFoodWidget.

1. Make scanned foods appear in the list of foods
2. Remove Controller for entering food

This commit removes the EnterFoodController that was used to put a
scanned food into the EnterFoodWidget.
This is now unnecessary because scanning a product will be distributed
via the FoodBLoC.
2024-09-24 14:41:42 +02:00
e75a0765b4 Reverse the days for the lookup database so the newer entries are being suggested 2024-09-13 22:50:08 +02:00
07a16c0642 Fix comma bug
This fixes a bug that was caused by a name containing a comma.
We store the food entries in a csv so logically a comma in the name,
causes the parser to crash.

We fix this, by wrapping the name in quotation marks and writing a new
parser for food entries.
2024-09-13 22:35:32 +02:00
1f06e7b936 Fixed project. Now it builds 2024-09-06 19:00:25 +02:00
45f44099a1 Refactor code 2024-09-06 13:48:56 +02:00
1db4e5e351 Make shit pretty 2024-09-05 16:36:35 +02:00
b83f547f6b Implement food entry lookup on entering a food name.
Now, an on-the-fly food lookup is created from existing entries on startup. Those entries are used to make suggestions when the user is typing to enter new food entries.
2024-09-04 22:47:37 +02:00
8e1cf835e4 Introduce themebloc and persist theme 2024-06-12 14:42:29 +02:00
000bd9a413 change name from kalodings to calodiary 2024-06-11 19:32:25 +02:00
be2ab69a3f Instead of a global FoodEntryBloc, every PerDateWidget has one 2024-06-11 19:05:42 +02:00
7a6062fd95 Introduce settings for daily kcal limit 2024-06-10 03:06:56 +02:00
d59f09eed4 Make persistence work 2024-06-09 19:06:10 +02:00