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
b31af6181c
Refactor next_steps_flutter and teknisk_beskrivning_flutter for user-scope implementation
...
- Updated next_steps_flutter.md to reflect completed tasks for user-scoped PantryItem and MealPlanEntry, including API contract publication and migration application.
- Enhanced the prioritization plan with clear completion dates and added localization tasks.
- Expanded teknisk_beskrivning_flutter.md with details on inventory filtering, sorting, and user-scoped backend changes, including migration notes and localization setup.
- Improved error handling documentation and localization usage guidelines.
2026-04-22 19:37:12 +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
37472f6c43
refactor: remove unused load function and related logic in PantryView component
2026-04-22 18:54:04 +02:00
Nils-Johan Gynther
fbd7b3a745
fix: add missing index for productId in PantryItem table migration
2026-04-22 18:50:20 +02:00
Nils-Johan Gynther
7e311eddff
fix: correct comment syntax for unique constraint in MealPlanEntry model
2026-04-22 18:41:38 +02:00
Nils-Johan Gynther
4482129fca
feat: make pantry items and meal plan entries user-scoped; update related services and controllers
2026-04-22 18:38:04 +02:00
Nils-Johan Gynther
44b4e7ad73
feat: update pantry and meal plan to be user-specific; outline required backend changes
2026-04-22 18:17:41 +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
f11364b73e
fix: remove unused image handling in Caddyfile and ensure recipe images are served correctly
2026-04-22 10:34:06 +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
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
296a89b165
feat: enhance EmptyStateView layout with positioned action button for better UX
2026-04-22 08:17:40 +02:00
Nils-Johan Gynther
4b146483fe
fix: update message parameter to title in EmptyStateView for better clarity
2026-04-22 08:16:21 +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
af1a3cd6eb
feat: update routing and authentication details in technical documentation; enhance API and recipes sections
2026-04-22 08:01:49 +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
82ba334f2d
fix: update migration steps and technical description for clarity
2026-04-21 22:34: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
fa06ba0915
fix: improve JSON parsing in Recipe.fromJson for better type handling
2026-04-21 22:21:08 +02:00
Nils-Johan Gynther
eceb94c604
fix: update login functionality to use username instead of email
2026-04-21 22:17:09 +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
78bcf9bc98
fix: update API endpoints in AuthRepository and RecipeRepository to remove redundant '/api' prefix
2026-04-21 22:10:16 +02:00
Nils-Johan Gynther
4efc15bc2c
fix: simplify Dockerfile by removing user creation and ownership commands
2026-04-21 22:05:18 +02:00
Nils-Johan Gynther
ebb749383c
fix: ensure proper ownership of Flutter SDK cache directory in Dockerfile
2026-04-21 22:03:49 +02:00
Nils-Johan Gynther
b34790f198
fix: add safe.directory configuration for Flutter SDK in Dockerfile
2026-04-21 22:02:42 +02:00
Nils-Johan Gynther
7383497cda
fix: update Dockerfile to ensure proper user permissions for Flutter build
2026-04-21 22:01:58 +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
ac5891394e
fix: add missing network configuration for proxy in Docker Compose
2026-04-21 21:49:05 +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
Nils-Johan Gynther
2acf66e4c4
feat: enhance pantry management with new features and UI improvements
2026-04-21 16:09:33 +02:00
Nils-Johan Gynther
69f05e6b43
feat: update Caddy routing documentation to include pantry API endpoint and emphasize useAuthFetch for client components
2026-04-21 14:52:20 +02:00
Nils-Johan Gynther
c57f4bde19
feat: integrate authFetch for API calls in InventoryView and PantryView, and add pantry route with authentication
2026-04-21 14:49:20 +02:00
Nils-Johan Gynther
81b63b3fdb
feat: implement inventory and pantry management views with CRUD functionality and user-friendly interfaces
2026-04-21 14:43:18 +02:00
Nils-Johan Gynther
82c3dc3fee
feat: update API method from POST to PATCH for backfill-canonical endpoint with necessary frontend adjustments
2026-04-21 13:57:00 +02:00
Nils-Johan Gynther
864c84d2e5
feat: implement AI categorization for products and add premium access guard
2026-04-21 13:55:12 +02:00
Nils-Johan Gynther
83722123d2
feat: enhance error handling with user-friendly messages and improve response parsing
2026-04-21 13:38:59 +02:00
Nils-Johan Gynther
87eab4d0ca
feat: add functionality for managing deleted products, including restoration and permanent deletion
2026-04-21 13:30:44 +02:00
Nils-Johan Gynther
4074b850cb
refactor: simplify unit conversion tests by importing utility functions directly
2026-04-21 10:52:49 +02:00
Nils-Johan Gynther
5345b9e55e
feat: implement unit conversion utilities and centralize unit definitions for consistency across frontend and backend
2026-04-21 10:51:07 +02:00
Nils-Johan Gynther
8e9b90028f
docs: update TEKNISK_BESKRIVNING.md to reflect changes in authentication middleware and role-based access control; remove obsolete middleware.ts file
2026-04-21 10:30:30 +02:00