summaryrefslogtreecommitdiff
path: root/static/index.html
diff options
context:
space:
mode:
authorTyler Hoang <tyler@tylerhoang.xyz>2026-05-12 03:44:40 -0700
committerTyler Hoang <tyler@tylerhoang.xyz>2026-05-12 03:44:40 -0700
commit9c8332d4442ddd569aacc37f2000fb0afe36111e (patch)
tree1d1f03340249bab2729ce123e302e91e88e7c249 /static/index.html
parent360eadf78fb001e947f3850603152adc413bb3a8 (diff)
Pantry-first AI prompts, recipe editing, and grocery copyHEADmaster
- Rewrite menu generation to build recipes around existing pantry ingredients (max 4-5 extras per recipe); add in_pantry flag per ingredient for downstream accuracy - Flip grocery list logic to ONLY include items not in the pantry, with explicit cross-check rule instead of include-everything default - Strengthen no-menu grocery prompt to handle empty vs. stocked pantry - Rewrite Commis chat system prompt to treat kitchen context as source of truth with explicit response rules per query type - Align replacement/single-recipe prompts to prefer pantry coverage - Update system_prompt default to reflect pantry-first identity - Add PUT /api/recipes/:id endpoint for recipe editing - Add inline edit mode to recipe detail page (name, type, ingredients, instructions, time, servings) - Add Copy button to grocery list (exports markdown checklist) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'static/index.html')
-rw-r--r--static/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/index.html b/static/index.html
index 7db0a86..f009e00 100644
--- a/static/index.html
+++ b/static/index.html
@@ -110,6 +110,7 @@
<textarea id="grocery-user-notes" class="ai-notes-input" placeholder="Any preferences or instructions for the AI (e.g. budget $50, no red meat, stock up on breakfast items)..." rows="2"></textarea>
<button class="btn btn-primary" id="btn-generate-grocery">✨ Generate List</button>
<button class="btn btn-danger hidden" id="btn-clear-grocery">Clear</button>
+ <button class="btn btn-secondary hidden" id="btn-copy-grocery">Copy</button>
<button class="btn btn-success hidden" id="btn-mark-purchased">✓ Mark All Purchased</button>
<div id="grocery-spinner" class="spinner hidden"></div>
</div>