Commit Graph

38 Commits

Author SHA1 Message Date
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 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 2563738fcf Add Swedish localization for various app actions and inventory management strings 2026-05-02 15:42:00 +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 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 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 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 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 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 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 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 fa06ba0915 fix: improve JSON parsing in Recipe.fromJson for better type handling 2026-04-21 22:21:08 +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 3996456f6f feat: add Flutter web frontend with authentication and recipe management features 2026-04-21 21:29:47 +02:00