detail
Rebuilt the flavor system per USR369's request: instead of 8 separate print buttons each showing only a one-line flavor description, recipes with a FLAVOR VARIATIONS section now show a single dropdown picker. Choosing a flavor calls updateFlavorView(), which builds a full merged recipe (base ingredients + that flavor's additions split out into individual ingredient lines via splitFlavorAdditions(), combined into ONE real ingredient list) and displays it live on the card as 'Your Recipe: [Flavor Name]' with its own Print button. Print reuses the exact same buildMergedRecipe() logic (single source of truth -- the on-page view and the print output can never drift apart), opening in the separate print window already built. Still exactly one recipe in storage per dish (croutons, bread crumbs) -- the picker is just a different assembled view of the same notes-embedded flavor data, not 8 duplicate recipes. USR369 explicitly said he wants this same reusable pattern for other multi-flavor/multi-variation recipes in the future, so this was built generically (works off any recipe whose notes contain a FLAVOR VARIATIONS section, not hardcoded to croutons/bread crumbs specifically). Verified the merge logic by replicating the exact JS parsing/splitting logic in Python against real recipe #34 data -- picking Italian Cheese correctly produced a clean 7-item merged list (4 base + 3 flavor additions).