Commit Graph

112 Commits

Author SHA1 Message Date
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
Nils-Johan Gynther 84dfbc4a52 feat: enhance ProductPickerField and ParsedReceiptItem to support category filtering in receipt import 2026-05-01 02:05:53 +02:00
Nils-Johan Gynther 47801935e9 feat: enhance ProductPickerField to use rawName for initial query in receipt import 2026-05-01 02:00:13 +02:00
Nils-Johan Gynther f4fea7b92c feat: add initial query support to ProductPickerField and enhance ParsedReceiptItem with categorySuggestionPath 2026-05-01 01:50:18 +02:00
Nils-Johan Gynther 997d62ade8 refactor: remove ReceiptImportTab and its state management for cleaner code structure 2026-05-01 01:37:35 +02:00
Nils-Johan Gynther d4b35f4a5b feat: implement receipt import functionality with editing capabilities and product selection 2026-05-01 01:32:30 +02:00
Nils-Johan Gynther bfe9cb46fa refactor: remove unused parser files and update ParsedReceiptItem model with additional fields 2026-05-01 01:16:10 +02:00
Nils-Johan Gynther fc9c4f6bb4 fix: enhance response parsing in ImportRepository to handle JSON array and improve logging 2026-05-01 00:46:43 +02:00
Nils-Johan Gynther d7881c6cf7 feat: enhance error handling and parsing logic in importFile method for improved response management
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 12:42:42 +02:00