Nils-Johan Gynther
e7251fd94c
feat: add location field to PantryItem model and update related functionality
...
Test Suite / test (24.15.0) (push) Has been cancelled
Co-authored-by: Copilot <copilot@github.com >
2026-05-06 11:54:56 +02:00
Nils-Johan Gynther
7a8f441390
feat: update API endpoint for product listing and simplify manual product creation UI
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-06 10:43:55 +02:00
Nils-Johan Gynther
7f15f8028b
feat: update inventory queries to filter by userId for accurate recipe analysis
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-06 10:32:35 +02:00
Nils-Johan Gynther
04b1fc3024
feat: add rematch functionality for recipe ingredients and enhance inventory management
...
Test Suite / test (24.15.0) (push) Has been cancelled
- Added a new API path for rematching recipe ingredients in `api_paths.dart`.
- Implemented a manual product creation dialog in `inventory_screen.dart` to allow users to create new products directly.
- Integrated the rematch functionality in `recipe_repository.dart` to handle rematching of recipe ingredients.
- Updated the recipe detail screen to include a button for triggering the rematch process.
- Introduced a new `RecipeMatchingService` in the backend to handle ingredient matching logic.
- Added database migration to include `aiEngineEnabled` column in the User table.
Co-authored-by: Copilot <copilot@github.com >
2026-05-06 09:20:31 +02:00
Nils-Johan Gynther
9fe85a719c
feat: implement recipe analysis service and data models
...
Test Suite / test (24.15.0) (push) Has been cancelled
- Added RecipeAnalysisService to handle recipe ingredient analysis, including methods for checking ingredient availability and calculating quantities.
- Introduced new TypeScript definitions for recipe analysis results, including ingredient status and summary.
- Created corresponding Dart models for recipe analysis, including RecipeIngredientAnalysis, RecipeAnalysisSummary, and RecipeShoppingCandidate.
- Updated Flutter UI to reflect changes in ingredient availability status.
- Fixed color opacity issue in recipe image card.
2026-05-06 07:54:03 +02:00
Nils-Johan Gynther
969dafdbc6
Refactor code structure for improved readability and maintainability
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-06 07:37:59 +02:00
Nils-Johan Gynther
e4f201ea36
feat: enhance recipe ingredient model; add raw fields and optional properties for better ingredient handling
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-06 07:25:42 +02:00
Nils-Johan Gynther
ce20b1dd07
feat: implement AI recipe suggestions; add endpoint and UI for generating suggestions based on inventory
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-05 14:15:28 +02:00
Nils-Johan Gynther
3ea5a4778f
feat: add functionality to manually add ingredients; implement CreateIngredientDto and update RecipesController and RecipesService
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-05 13:38:23 +02:00
Nils-Johan Gynther
505c89c731
Fix error handling in various admin and inventory screens
...
Test Suite / test (24.15.0) (push) Has been cancelled
- Updated error handling in AdminAliasesPanel, AdminDatabasePanel, AdminPendingProductsPanel, and AdminProductsPanel to ensure consistent snackbar display without extra parentheses.
- Refined error handling in ConsumeInventoryScreen, CreateInventoryScreen, InventoryDetailScreen, InventoryEditScreen, and SwipeableInventoryTile to maintain consistent snackbar formatting.
- Improved error handling in MealPlanScreen, PantryScreen, ProfileScreen, and RecipeDetailScreen to ensure proper user feedback on errors.
2026-05-04 22:25:56 +02:00
Nils-Johan Gynther
1b1d5d006d
feat: enhance error handling; implement copyable SnackBar for user messages across various screens
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 22:10:23 +02:00
Nils-Johan Gynther
2c8d6b69ae
feat: add support for alternative ingredients; implement JSON storage and parsing logic
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 22:06:57 +02:00
Nils-Johan Gynther
64f63b3392
feat: enhance ingredient management; add editable fields for quantity, unit, and notes in recipe creation
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 21:43:43 +02:00
Nils-Johan Gynther
5f176ce75f
feat: update Dockerfile stages for improved dependency management; add prisma to package.json and package-lock.json
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 21:02:15 +02:00
Nils-Johan Gynther
5411dfe2c0
feat: add utility functions for date and quantity formatting; refactor inventory and recipe screens to use new formatters
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 20:50:18 +02:00
Nils-Johan Gynther
ffe50e5151
feat: add TypeScript definitions for next-auth session with accessToken and user details
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 20:09:21 +02:00
Nils-Johan Gynther
afd2607000
feat: add AdminDatabasePanel and integrate it into AdminScreen; update profile screen to remove database tab
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 20:03:04 +02:00
Nils-Johan Gynther
64b06435cf
feat: implement user-scoped receipt aliases with global fallback; enhance alias management in admin panel
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-04 19:43:13 +02:00
Nils-Johan Gynther
6c3e391582
fix(receipt-import): remove unused file extension from file metadata
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-03 17:05:57 +02:00
Nils-Johan Gynther
fa7f225ee5
feat(receipt-import): enhance bread category detection and improve session management
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-03 16:34:15 +02:00
Nils-Johan Gynther
a1c4a2f24d
feat(receipt-import): add multipack count extraction from raw name and update package fields inference
2026-05-03 16:16:02 +02:00
Nils-Johan Gynther
5864a6f111
refactor(receipt-import): streamline category tree loading and enhance error handling
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-03 15:47:35 +02:00
Nils-Johan Gynther
046dad870f
refactor(receipt-import): update CategoryLookup initialization and improve imports
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-03 15:29:58 +02:00
Nils-Johan Gynther
c26d5a4e1d
feat: add EditDialog for receipt item editing and product creation
...
- Implemented EditDialog widget to facilitate editing of parsed receipt items.
- Added functionality for selecting existing products or creating new ones.
- Integrated category selection for products with a category picker.
- Included utility functions for receipt import, including quantity conversion and package size extraction.
- Enhanced product name normalization and category path lookup for improved user experience.
Co-authored-by: Copilot <copilot@github.com >
2026-05-03 15:25:56 +02:00
Nils-Johan Gynther
dc74a9448b
refactor(edit-dialog): improve category selection handling in AI suggestion
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-03 15:03:17 +02:00
Nils-Johan Gynther
3bfcf63a53
refactor(category-picker): streamline category selection flow in product picker
2026-05-03 14:01:28 +02:00
Nils-Johan Gynther
70645232ab
feat(profile): add admin tools for manual category updates in backend cache
2026-05-03 11:19:50 +02:00
Nils-Johan Gynther
b2eb870ec7
feat(receipt-import): add refresh categories endpoint and UI integration
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-03 10:48:06 +02:00
Nils-Johan Gynther
60056b94bf
fix(receipt-import): infer size from raw name when unit is missing
2026-05-02 22:52:21 +02:00
Nils-Johan Gynther
f12d04bd8b
fix(receipt-import): show create-product errors in modal dialog
2026-05-02 20:08:08 +02:00
Nils-Johan Gynther
dd4c2fe8b3
fix(receipt-import): show explicit validation errors on create-and-select
2026-05-02 20:00:41 +02:00
Nils-Johan Gynther
0103a22558
fix(receipt-import): surface create-product errors and harden response parsing
2026-05-02 19:53:11 +02:00
Nils-Johan Gynther
2563738fcf
Add Swedish localization for various app actions and inventory management strings
2026-05-02 15:42:00 +02:00
Nils-Johan Gynther
4e81f56225
fix(receipt-import): correct Swedish labels for packaging quantity and count
2026-05-02 10:26:50 +02:00
Nils-Johan Gynther
9161de5d52
feat(receipt-import): enhance package handling with new fields and UI adjustments
2026-05-02 10:11:31 +02:00
Nils-Johan Gynther
755258a4bc
feat(auth): refactor token retrieval to use maybeWhen for improved null handling
2026-05-02 09:24:45 +02:00
Nils-Johan Gynther
41ae7d4d06
feat(recipes): add recipe visibility and sharing features
...
- Implemented functionality to set recipe visibility (public/private) with appropriate checks for user permissions.
- Added ability to share recipes with other users, including validation for existing users and permissions.
- Introduced new DTOs for setting visibility and sharing recipes.
- Updated RecipesController and RecipesService to handle new endpoints for visibility and sharing.
- Enhanced inventory preview to consider user permissions and shared recipes.
- Updated front-end to support new sharing and visibility features, including UI changes for recipe detail and admin user management.
2026-05-02 09:19:59 +02:00
Nils-Johan Gynther
d6fef0145c
feat: implement hybrid alias model for receipt import and enhance alias learning in UI
2026-05-02 00:24:30 +02:00
Nils-Johan Gynther
d3dac61765
feat: separate AI and product suggestion chips, normalize product names, and validate AI categories
2026-05-01 23:59:16 +02:00
Nils-Johan Gynther
2c71970fb5
feat: enhance AI suggestion display in edit dialog with product name and category labels
2026-05-01 23:41:18 +02:00
Nils-Johan Gynther
51e654c592
feat: implement product name normalization to Title Case with smart rules
2026-05-01 23:33:33 +02:00
Nils-Johan Gynther
e4f1aae047
feat: add package quantity normalization and AI suggestion handling in receipt import
2026-05-01 23:18:32 +02:00
Nils-Johan Gynther
32e83caa35
feat: enhance category picker functionality with preselection support and new existing category picker
2026-05-01 23:05:01 +02:00
Nils-Johan Gynther
4cbd658fa0
feat: enhance receipt import functionality with category selection and PDF opening support
2026-05-01 22:46:58 +02:00
Nils-Johan Gynther
5c263a14df
feat: add receipt import session management with file handling and item editing support
2026-05-01 08:57:34 +02:00
Nils-Johan Gynther
f983458ff0
feat: implement two-step category and product picker with private product creation support
2026-05-01 02:44:30 +02:00
Nils-Johan Gynther
4f387fe6eb
feat: enhance category selection flow by adding preselection support and a select button
2026-05-01 02:41:02 +02:00
Nils-Johan Gynther
9ee061d5f3
feat: add isPrivate field to Product model and implement private product creation and retrieval
2026-05-01 02:29:38 +02:00
Nils-Johan Gynther
1fd910b561
feat: implement two-step category and product picker for enhanced selection
2026-05-01 02:19:13 +02:00
Nils-Johan Gynther
62667fd76d
feat: add categoryId mapping to product data in CreateInventoryScreen
2026-05-01 02:09:58 +02:00