Commit Graph

24 Commits

Author SHA1 Message Date
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 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 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 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 14d782aeec feat(inventory): implement swipeable inventory tile and product picker field 2026-04-22 21:19:36 +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 ac3a8e96c0 feat(localization): add localization generation step and update l10n configuration 2026-04-22 19:23:08 +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 dd05fed279 feat: add pantry management features including repository, providers, and UI integration 2026-04-22 10:45:37 +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
Nils-Johan Gynther 655adf66ae feat: implement dropdowns for unit and location selection in inventory forms; add product sorting functionality 2026-04-22 10:04:57 +02:00
Nils-Johan Gynther 75d993f83a refactor: Clean up ApiClient code structure and improve readability 2026-04-22 08:14:32 +02:00
Nils-Johan Gynther 967121113e feat: Add inventory management feature with CRUD operations
- Implemented inventory screen to display items with details.
- Added create, edit, and consume inventory screens for managing items.
- Introduced consumption history screen to track item usage.
- Created inventory repository and providers for API interactions.
- Enhanced routing to include inventory-related paths.
- Added necessary models for inventory items and consumption history.
- Integrated error handling and loading states for better user experience.
2026-04-22 08:12:37 +02:00
Nils-Johan Gynther e50781dccf feat: implement patch method in ApiClient and update recipe update logic in RecipeRepository 2026-04-22 07:58:42 +02:00
Nils-Johan Gynther ed4e18dc31 feat: add recipe creation, editing, and detail screens; enhance recipe model with instructions and ingredients 2026-04-22 07:53:25 +02:00
Nils-Johan Gynther 2ea18503ef feat: enhance routing logic and improve login screen validation; add guarded API call for error handling 2026-04-22 07:35:34 +02:00
Nils-Johan Gynther e8de1d3625 feat: implement API client with JSON handling and error mapping; enhance routing and state management in app shell 2026-04-22 07:29:21 +02:00
Nils-Johan Gynther 056d5a8a1b feat: add profile screen and update routing; enhance login validation and logout functionality 2026-04-21 22:30:35 +02:00
Nils-Johan Gynther b87c877b38 fix: update initial route to '/login' and use context.go for navigation in LoginScreen 2026-04-21 22:13:59 +02:00
Nils-Johan Gynther 39384a0e74 feat: update API base URL handling and improve Caddy configuration for Flutter app 2026-04-21 21:59:47 +02:00
Nils-Johan Gynther cdfca35b9e refactor: clean up imports in api_client and auth_repository files 2026-04-21 21:41:15 +02:00
Nils-Johan Gynther 3996456f6f feat: add Flutter web frontend with authentication and recipe management features 2026-04-21 21:29:47 +02:00