d4abba2df2
Fix handling of kcal amount extraction from json
2024-12-23 19:38:45 +01:00
766a3ca6b0
Bump version to 1.0.4
2024-12-22 18:31:59 +01:00
63e9b471b4
Merge pull request 'Fix json misalignment and error representation' ( #8 ) from fix-json-misalignment-and-error-representation into master
...
Reviewed-on: #8
2024-12-22 17:29:20 +00:00
7b440e82aa
Remove unused function
2024-12-22 18:23:25 +01:00
69bee8de7f
fix everything
2024-12-22 18:13:29 +01:00
b5e0d19536
Fix locales
...
Reordering locales will make English default now.
Additionally, one translation bug was fixed.
2024-12-16 16:07:20 +01:00
e8c70f57cd
Add icon in metadata
2024-12-16 12:48:24 +01:00
13ef7e66ed
bump version
2024-12-11 18:22:50 +01:00
97cb0c4524
Remove DependencyInfoBlock from apk
2024-12-11 18:17:45 +01:00
80816f805d
Sign release version of app
2024-12-11 16:08:53 +01:00
269bc27905
fix fastlane
2024-12-10 23:47:32 +01:00
23b9fea228
change version
2024-12-10 23:36:30 +01:00
b6034b90e6
Change amount text and add screenshots to metadata
2024-12-10 23:24:47 +01:00
8fed59f6dd
Localize app for German and English
2024-12-10 22:38:47 +01:00
be5cbb5988
Prepare for froid build
2024-12-07 17:39:19 +01:00
1303b54380
Add COPYING file
2024-12-07 13:46:06 +01:00
2cd0d3447e
Add copyright notice
2024-12-07 13:39:11 +01:00
38a88bf868
Add licence identifiers in files
2024-12-07 13:29:34 +01:00
59684032c3
Merge pull request 'Bottom app bar is now fixed' ( #7 ) from fixed-bottom-bar into master
...
Reviewed-on: #7
2024-12-07 12:06:24 +00:00
cdabd1ee94
Fix back button when going back after swiping
2024-10-18 02:44:43 +02:00
3faf5295b1
Trying to fix bottom bar
2024-10-08 01:04:33 +02:00
ce373404ad
Bloc is now global and responsible for all dates
2024-10-08 00:58:56 +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
970cea8ba7
Oops, forgot to store the entries that were scanned. They just disappeared after restarting the app
2024-10-02 16:22:33 +02:00
37cceb3a9b
Fix bug that caused infinite loop for selecting FoodEntries
...
And also, the Cancel button is removed when the FoodEntry is selected.
2024-09-25 18:20:50 +02:00
a70a7fd1e3
Remove debug statement
2024-09-25 17:43:42 +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
9179cff38e
Merge pull request 'Fix comma bug' ( #6 ) from fix-comma-bug into master
...
Reviewed-on: #6
2024-09-13 20:39:00 +00: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
0edb178963
Merge pull request 'Fix bug that left PerDate widget empty when popped to.' ( #5 ) from fix-empty-page-bug into master
...
Reviewed-on: #5
2024-09-13 14:54:13 +00:00
109d3e23de
Fix bug that left PerDate widget empty when popped to.
...
Previously, when you would navigate to a PerDate widget that already
exists on the Navigation stack, a food that is entered will not be
visible when popping to the PerDate widget with the same date.
This is because the state is not updated (the BLoC exists per PerDate
widget, and a change in one widget does not cause firing an event in the previous widget's BLoC).
With this fix, we call setState() and update the entries for the widget
from storage.
2024-09-13 16:52:47 +02:00
1853a7f261
Merge pull request 'Add launcher icons' ( #4 ) from icon into master
...
Reviewed-on: #4
2024-09-08 15:27:54 +00:00
60cee6d6d3
Add launcher icons
2024-09-08 17:26:24 +02:00
a057115b83
Merge pull request 'Handle errors when scanning a barcode and show a snackbar in case' ( #2 ) from error-handling into master
...
Reviewed-on: #2
2024-09-08 13:11:28 +00:00
54157f6dec
style Snackbar. still need to find a solution for async gaps in onPressed() for ScanButton
2024-09-08 15:07:39 +02:00
df6e5dd8cb
Add error handling for food scanning and make sum widget have different colors depending on difference to limit setting.
2024-09-08 01:57:40 +02:00
1a4614f331
Remove go_router because I could not figure out why initState() was called on my widget, thus clearing state when I did not expect it
2024-09-07 01:38:03 +02:00
4afb3ca319
Make it work with relying the data for 'EnterFoodWidget' onto the InheritedWidget
2024-09-07 00:02:07 +02:00
3493790598
wip introduce scanner
2024-09-06 19:03:41 +02:00
1f06e7b936
Fixed project. Now it builds
2024-09-06 19:00:25 +02:00
cfdf3a7f6b
Restart project with new 'flutter create'
2024-09-06 18:48:24 +02:00
45f44099a1
Refactor code
2024-09-06 13:48:56 +02:00
6552756702
Remove the card-like design for food entries and make the 'delete' button dynamically appear
2024-09-06 02:23:47 +02:00
1db4e5e351
Make shit pretty
2024-09-05 16:36:35 +02:00
131f39c1c8
Merge pull request 'Implement food entry lookup on entering a food name.' ( #1 ) from food-suggestion into master
...
Reviewed-on: marco/calodiary#1
2024-09-05 11:08:50 +00: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
fb0dbef158
Make the theme switcher icon change depending on the theme.
2024-06-13 21:49:04 +02:00