Commit Graph

165 Commits

Author SHA1 Message Date
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
Nils-Johan Gynther 44e5c6d48c feat: update ParsedReceiptItem instantiation to use rawName for markdown responses
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 12:29:25 +02:00
Nils-Johan Gynther 67fa5af1ba feat: enhance import functionality to handle markdown responses in addition to parsed items
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 12:25:13 +02:00
Nils-Johan Gynther 5231ca42a7 feat: implement global error handling with reusable dialog and widget for improved user feedback
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 12:01:47 +02:00
Nils-Johan Gynther 4188cea7d9 feat: enhance import functionality with detailed logging and error handling for receipt and URL imports
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 11:32:28 +02:00
Nils-Johan Gynther 6abe69e12d feat: enhance admin product management with AI categorization, product status updates, and email editing for users 2026-04-25 08:46:54 +02:00
Nils-Johan Gynther a02950c97a feat: implement admin product management panel with bulk categorization and premium user toggle 2026-04-25 08:36:40 +02:00
Nils-Johan Gynther e2b7b884aa feat: simplify AdminScreen and refactor ImportScreen to use TabBarView directly 2026-04-25 08:31:42 +02:00
Nils-Johan Gynther 8ea2b97c27 feat: enhance profile screen with tab navigation and admin panels
- Added tab navigation for profile, database, users, suggestions, and AI sections.
- Implemented database management with inventory, pantry, and products tabs.
- Created Admin AI panel to display AI model information.
- Introduced Admin Pending Products panel for managing product approvals.
- Developed Admin Users panel for user management, including role changes and password resets.
- Added data models for AI models and pending products.
2026-04-25 08:22:14 +02:00
Nils-Johan Gynther 53afcc98a9 feat: enhance product picker and improve error handling in inventory screen 2026-04-25 07:47:35 +02:00
Nils-Johan Gynther 5a85bd4526 feat: enhance product picker with searchable bottom sheet and improve recipe list item layout 2026-04-25 07:31:28 +02:00
Nils-Johan Gynther 46de546f9f feat: update RecipesViewNotifier and RecipesScreen to use maybeWhen for safer state handling 2026-04-25 07:12:36 +02:00
Nils-Johan Gynther ba4e931f5c feat: refactor RecipesScreen and RecipesViewNotifier to support dynamic view modes and column selection 2026-04-25 07:09:15 +02:00
Nils-Johan Gynther fe3d8581a8 feat: implement grid layout for recipes with column selection and improve pantry product picker
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 23:34:34 +02:00
Nils-Johan Gynther 4919384039 feat: improve dialog layout and error handling in pantry screen
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 23:07:07 +02:00
Nils-Johan Gynther 4bd0792299 feat: enhance pantry and recipes screens with logging and error handling improvements
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 22:55:26 +02:00
Nils-Johan Gynther 3f848a3991 feat: refactor RecipesScreen to use grid layout and save column preference
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 22:45:53 +02:00
Nils-Johan Gynther cb05962b51 feat: add go_router import to pantry screen for improved navigation 2026-04-24 14:34:01 +02:00
Nils-Johan Gynther 13a0ab3584 feat: enhance navigation by adding recipe links in inventory and pantry screens 2026-04-24 14:13:26 +02:00
Nils-Johan Gynther a39640d4ea feat: update recipe detail screen to display image as background only 2026-04-24 13:00:26 +02:00
Nils-Johan Gynther 0cc56d65b7 feat: refactor recipe detail screen to use CustomScrollView and SliverAppBar for improved layout 2026-04-24 10:45:19 +02:00
Nils-Johan Gynther 931336f048 feat: update technical documentation and remove unnecessary logout icon from profile screen 2026-04-24 08:17:48 +02:00
Nils-Johan Gynther b589f7415d feat: enhance admin and profile repositories with token handling; update dropdown initial values in various screens 2026-04-23 21:34:08 +02:00
Nils-Johan Gynther db1128ceaf Refactor code structure for improved readability and maintainability
Co-authored-by: Copilot <copilot@github.com>
2026-04-23 21:14:46 +02:00
Nils-Johan Gynther cd4274575e feat: Add receipt import functionality with file upload and parsing
- Implemented receipt file upload in ImportRepository with multipart request handling.
- Created ParsedReceiptItem model for parsed receipt data.
- Added ReceiptImportTab for user interface to upload and review receipts.
- Updated ImportScreen to include the new ReceiptImportTab alongside RecipeImportTab.
- Introduced flutter_bootstrap.js and index.html for web app initialization.
- Added wimp.wasm and flutter.js for enhanced web performance and capabilities.
2026-04-23 19:24:53 +02:00
Nils-Johan Gynther 2256ddb29b refactor(profile): update ProfileRepository to include Ref for improved state management and enhance error handling in tests 2026-04-23 17:55:17 +02:00
Nils-Johan Gynther b92ada1f30 refactor(inventory): update build methods to include WidgetRef for improved state management
Co-authored-by: Copilot <copilot@github.com>
2026-04-23 17:11:55 +02:00
Nils-Johan Gynther ad2a6a2fab refactor(inventory): simplify delete item logic and remove unnecessary parameters
Co-authored-by: Copilot <copilot@github.com>
2026-04-23 17:05:12 +02:00
Nils-Johan Gynther a5c13a4b3c Remove outdated Flutter migration documents and add new technical descriptions and profile repository implementation
- Deleted `next_steps_flutter.md` and `teknisk_beskrivning_flutter.md` files as they were outdated.
- Added new `next_steps_flutter.md` and `teknisk_beskrivning_flutter.md` files with updated migration plans and technical descriptions for the Flutter frontend.
- Implemented `profile_repository.dart` to handle profile data retrieval and updates using the API.

Co-authored-by: Copilot <copilot@github.com>
2026-04-23 16:40:02 +02:00
Nils-Johan Gynther c8510b431f fix(router): adjust type check for extra parameter in navigation
fix(import): ensure correct typing for passing markdown and imageUrl
fix(recipes): delete local image file on recipe deletion to avoid orphan files
2026-04-22 21:51:16 +02:00
Nils-Johan Gynther 29beb3a85f feat(import): enhance recipe creation by passing both markdown and image URL from import 2026-04-22 21:38:05 +02:00
Nils-Johan Gynther 856efcfa79 fix(import): enhance error handling with localized messages for unauthorized and forbidden responses 2026-04-22 21:33:03 +02:00
Nils-Johan Gynther 81117fbcb7 feat(import): implement recipe import functionality with file and URL support
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 21:31:25 +02:00
Nils-Johan Gynther 8ebf119d39 fix(inventory): update adjustment value to use integer for swipe actions
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 21:21:40 +02:00
Nils-Johan Gynther 14d782aeec feat(inventory): implement swipeable inventory tile and product picker field 2026-04-22 21:19:36 +02:00
Nils-Johan Gynther b04a82aaf8 fix(meal_plan): update quantity types to use double for consistency 2026-04-22 20:10:26 +02:00
Nils-Johan Gynther e495a4b38e feat: add meal planning feature with API integration
- Introduced MealPlanApiPaths for handling meal plan related API endpoints.
- Added MealPlanScreen for displaying and managing meal plans.
- Implemented MealPlanRepository for fetching and updating meal plan data.
- Created data models: MealPlanEntry, MealPlanRecipe, InventoryCompareItem, ShoppingItem, and MealPlanDashboard.
- Integrated meal plan functionality into the app router and UI.
- Updated localization files for meal plan related strings in English and Swedish.
- Added state management for meal plan using Riverpod.
2026-04-22 19:51:33 +02:00
Nils-Johan Gynther b8627d0b7f feat(inventory): add inventory preview functionality and related models 2026-04-22 19:41:45 +02:00
Nils-Johan Gynther 2e117718a7 feat(localization): Implement Swedish localization and error messages
- Added localization support for Swedish and English languages.
- Integrated localized strings for user messages in the API error mapper.
- Updated UI components to use localized strings for labels and messages.
- Ensured all error messages are context-aware and utilize the localization framework.
- Created regression test to prevent common ASCII fallbacks in Swedish UI text.
2026-04-22 19:16:23 +02:00
Nils-Johan Gynther 07ed164112 feat: enhance inventory and pantry features with filtering, sorting, and error handling improvements 2026-04-22 18:14:19 +02:00
Nils-Johan Gynther dd05fed279 feat: add pantry management features including repository, providers, and UI integration 2026-04-22 10:45:37 +02:00
Nils-Johan Gynther 33eb5fbdb2 fix: improve imageUrl handling in Recipe model to avoid null or empty values 2026-04-22 10:31:57 +02:00
Nils-Johan Gynther c163821bad feat: refactor API paths for authentication, inventory, and recipes; add contract tests for repositories 2026-04-22 10:21:07 +02:00