c357fd3c91
Prepare fdroid build
2024-12-07 16:12:44 +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
402de821a0
change package name to de.swgross.calodiary
2024-06-13 21:12:26 +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
9953635ad3
round numbers to next integer
2024-06-11 19:11:23 +02:00
be2ab69a3f
Instead of a global FoodEntryBloc, every PerDateWidget has one
2024-06-11 19:05:42 +02:00
d2ab82aaf5
fix paddings of buttons and other widgets
2024-06-10 17:35:21 +02:00
0080e39605
Change some paddings
2024-06-10 03:31:06 +02:00
7a6062fd95
Introduce settings for daily kcal limit
2024-06-10 03:06:56 +02:00
7b0947f93f
many many many changes
2024-06-09 23:25:18 +02:00
2a707e51e4
ensureInitialized()
2024-06-09 20:11:54 +02:00
d59f09eed4
Make persistence work
2024-06-09 19:06:10 +02:00
2298c12704
Many ui changes. Add some navigation
2024-06-09 14:45:58 +02:00
a5afda8de6
improve ui
2024-06-01 12:41:58 +02:00
7712373388
fist commit, that has the groundwork for the app
2024-05-30 00:58:26 +02:00