Add recipe ingredient filter and recipe list view#45
Merged
fkischewski99 merged 4 commits intomainfrom Mar 1, 2026
Merged
Conversation
- Add ingredient filter to recipe search with multi-select support - Filter shows recipes containing ALL selected ingredients (AND logic) - New IngredientFilter component matching existing filter chip style - Enhanced IngredientPickerDialog with X button in search bar - Clear search text if present, close dialog if empty - Multi-select mode keeps dialog open for multiple selections - Filter displays selected ingredients in chip label Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- New RecipeListScreen with search functionality - Reuses existing RecipeList component from new_meal_screen - Added "Rezeptliste ansehen" menu item in drawer navigation - Search field with clear button (X icon) - Click on recipe navigates to recipe overview screen - Added Routes.RecipeList navigation route Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Move "Rezepte verwalten" under "Rezepte" section in drawer menu - Fix recipe detail view loading issue when navigating from recipe list - Add InitializeScreenWithRecipeId action to RecipeOverviewViewModel - Create RecipeSelection object with default values (1 portion) when viewing from list - Recipe overview now properly loads when clicked from recipe list Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Added all filter options from meal recipe selection: - Essgewohnheit (Eating habits) - Intoleranzen (Food intolerances) - Preis (Price) - Dauer (Time) - Typ (Recipe type) - Saison (Season) - Skill Level - Zutaten (Ingredients) - Reuses existing filter components for consistency - Filter chips display below search bar - All filters work independently and can be combined Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds two major features to improve recipe management and discovery:
Changes
1. Ingredient-based Recipe Filter (Restefunktion)
IngredientPickerDialogcomponentFiles changed:
model/Recipe.kt- AddedfilterForIngredientsparameter tomatchesSearchQuery()view/event/new_meal_screen/RecipeList.kt- Pass ingredient filter to recipe matchingview/event/new_meal_screen/IngredientFilterSection.kt- New filter componentview/admin/new_participant/IngredientPickerDialog.kt- Added multi-select mode and X buttonview/event/new_meal_screen/NewMealPage.kt- Integrated ingredient filter into search UI2. Recipe List View in Main Menu
RecipeListcomponent for consistencyFiles changed:
view/event/recipe_list/RecipeListScreen.kt- New recipe list screenview/navigation/Routes.kt- AddedRecipeListrouteview/navigation/RootNavController.kt- Registered routeview/event/homescreen/DrawerContent.kt- Added menu item, reorganized structureview/event/recepie_overview_screen/RecipeOverviewViewModel.kt- AddedInitializeScreenWithRecipeIdmethodview/event/recepie_overview_screen/RecipeOverviewActions.kt- Added new action3. Menu Structure Improvements
New drawer menu organization:
Testing
Screenshots
(Add screenshots if available)
🤖 Generated with Claude Code