Feature/shopping list UI#65
Merged
Merged
Conversation
…into feature/shopping-list-ui
…into feature/shopping-list-ui
JonathanPschl
approved these changes
Jun 15, 2026
JonathanPschl
left a comment
Collaborator
There was a problem hiding this comment.
Looks good! One thing to change maybe: I think we agreed that the GroceryLists will be generated by selecting Recipes from the RecipeList. Currently we immediately push a generated Recipe also as a GroceryList. I think we should have a quick call and discuss if we remove this until we implement #55 or if we merge it now and immediately finish and ship #55 asap.
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.
Shopping List & Recipes UI + per-user REST alignment
Adds the Recipes and Grocery Lists frontend, a full Recipes REST subsystem, and reworks
the existing grocery-list API.
Client
RecipeListView, new) — accordion of saved recipes, ingredientslazy-loaded on expand, copy & delete, loading/error/empty states.
GroceryListView, new) — accordion with progress bar andper-item "picked up" checkboxes (persisted), copy & delete; collapsed cards show
progress from summary counts, items load lazily on expand.
per-item PATCH toggle, delete); a generated dish is persisted as both a recipe and a
grocery list.
Recipes: New REST subsystem (grocery-service)
Recipeentity +RecipeRepository,RecipeService,RecipeController.GET/POST/PUT/DELETE /api/recipes(+/{recipeId}), per-user viaX-User-Id,summary-list + lazy detail. New DTOs (
RecipeCreateRequest,RecipeDetailDTO,RecipeItemRequest/ResponseDTO,RecipeSummaryDTO).Grocery-list: Reworked to match
/api/grocery-list/history→/api/grocery-list,/history/{id}→/{groceryListId}.userIdin the request body →X-User-Idheader (set by the gateway);all operations are now per-user (ownership-scoped, 404 on not-owned) and return all of
the caller's lists instead of the global top-20.
PUT /{groceryListId}(replace) andPATCH /{groceryListId}/items/{itemId}(toggle a single item'spurchased).itemCount/purchasedCount(single aggregate query) so thecollapsed cards show progress without loading items; summary id field
id→groceryListId.Double); category parsing falls back toOTHERinsteadof throwing on unknown values.
GroceryItemtable for both subsystems viaGroceryItemMapper+ItemRequest(validates name, normalizes unit, shared
parseCategory); recipe/grocerycontrollers/services/DTOs aligned in structure.
Kubernetes