feat: mark recipe as cooked (multi-cook history + backdate) and enable auto-deduct pantry on cook (v0.75.0)

Adds a general-purpose "mark cooked" dialog for any recipe (not just batch-cook dishes), with a date picker for backdating and a pantry-deduct checkbox defaulted on. Also flips the previously dead-in-the-UI deductFromPantry flag to true for the existing batch-cook and meal-planner cook actions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Arnaud
2026-07-24 11:28:41 +02:00
parent 55c6fc5ab7
commit 04a911b431
14 changed files with 245 additions and 9 deletions
+14
View File
@@ -147,6 +147,20 @@
"batchCookMarkSuccess": "Marked as cooked",
"batchCookMarkFailed": "Failed to mark as cooked",
"batchCookMarkQueuedOffline": "Saved offline — will sync when you're back online",
"markCookedButton": "Mark cooked",
"markCookedTitle": "Mark as cooked",
"markCookedDescription": "Log this cook — you can log the same recipe as cooked as many times as you like.",
"markCookedDateLabel": "Date",
"markCookedServingsLabel": "Servings made",
"markCookedDeductLabel": "Deduct from pantry",
"markCookedDeductDescription": "Remove matching ingredients you have on hand.",
"markCookedSubmit": "Mark cooked",
"markCookedSaving": "Saving…",
"markCookedSuccess": "Marked as cooked",
"markCookedFailed": "Failed to log this cook",
"markCookedCountSingular": "Cooked 1 time",
"markCookedCountPlural": "Cooked {count} times",
"markCookedLast": " · last {date}",
"batchCookExpiresOn": "Cooked — good until {date}",
"servings": "{count} servings",
"prep": "{mins}m prep",