WIP: feat(contract) #004 Fill a shopping list from a meal plan, and move a dish keeping its id #51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "004-fill-list-from-meal-plan-contract"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Contract for spec 004 (epic E01 spec B), approved at GATE A. Docs PR: #50
shopping-lists.ts:POST /shopping-list/:id/fill-preview,/filland/remove-meal-plan-items;MEAL_PLANreason source withShoppingListItemMealPlanReasonDto;versionnow also changes when a fill changes the item.meal-plans.ts:POST /meal-plan-dish/:dishId/move, which keeps the dish's id.errors.ts:SOURCE_MEAL_PLAN_NOT_FOUNDandSOURCE_MEAL_PLAN_ACCESS_DENIED; theCONFLICTdoc now also covers a stale preview token.Design:
docs/adr/2026-10-24-fill-list-from-meal-plan.md.This PR stays a draft until the review gate. It is merged there, just before the sibling feature PRs. The sibling feature branches pin this branch's commit in
contract.ref. Never rebase or force-push this branch.🤖 Generated with Claude Code
@ -362,0 +603,4 @@/** Free-text unit. Absent when the line has no unit. */unit?: string;/** True when at least one contributing recipe has no yield, so its amounts were not scaled ("recipe has no yield, amounts not scaled"). Always present. */notScaled: boolean;wouldn't positive be better? Scaled instead of not scaled?
@ -362,0 +643,4 @@/** The item as it is now. Always present. */item: CompactShoppingListItemDto;/** The reasons that are removed, one per gone dish, with its share. Always present, at least one. */goneDishes: ShoppingListItemMealPlanReasonDto[];Wouldn't this be goneDishesReasons or something alike?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.