feat: add the 29 "Fichas de cocina" recipes to the default catalogue - #71
Merged
Merged
Conversation
The user wants the recipes from the scanned "Fichas de cocina" booklet (Fundacion Caja Vital Kutxa) in the default recipe book. The booklet gives amounts for 4 people. The app stores recipes per 1 serving, so every amount is divided by 4. - Existing ingredients are reused where one fits, to keep the shopping list small (for example Mozzarella rallada for "queso de fundir", Pasta tortiglioni for macarrones and espaguetis, Ajo troceado for garlic cloves). - The 26 new ingredients each carry a Mercadona product (bcn1 warehouse). Where a recipe counts an item in pieces but the pack is sold by weight, the ingredient gets gramsPerPiece. - Mercadona has no chicharro, so that recipe becomes "Dorada al horno". Mercadona has no salsa tartara, so the salmon recipe makes it from mayonnaise, pickles and lemon. - Sauces and jams are kept out of menu generation, because they are parts of other dishes, not meals. - Names that clashed with existing recipes got a suffix, for example "Paella de pollo y judias verdes". Co-Authored-By: Claude Opus 5.5 <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.
Adds all 29 recipes from the scanned "Fichas de cocina" booklet to the default recipe book. Every new ingredient has a Mercadona product. This is a data-only change: only
menu_management/assets/RecipeBook.tsrchanges.What changed
gramsPerPieceso the shopping list can convert.Changes from the booklet
includeInMenuGeneration: false), because they are parts of other dishes and not meals:Review note
GitHub's diff may show about 2700 deleted lines. They are not real. Git's default diff method matches the repeated JSON lines badly. With
git diff --histogram mainthe change is 3445 added lines and 0 deleted lines. A script also confirmed that every existing ingredient and recipe is unchanged.Testing
flutter test test/: all 1053 tests pass. This includesdefault_data_test.dart, which checks ingredient references, unique IDs and step inputs.flutter analyze: clean.🤖 Generated with Claude Code