pyr0ball opened issue Circuit-Forge/kiwi#18

pyr0ball
Sat, 04 Apr 2026 07:05:50 -0700

18#Shopping mode: add purchased ingredients to pantry#

Context

Shopping mode lets users see recipes that require ingredients they do not have, with affiliate links to buy them. The loop currently ends at the purchase link — there is no path to add the bought items back to the pantry.

What to build

After a user buys missing ingredients (via affiliate links or manually), they need a way to add those items to inventory:

1. Quick-add from recipe detail panel — after opening a recipe in shopping mode, show a "Mark as bought" action per missing ingredient that opens the add-item flow pre-filled with that ingredient name

2. Bulk add — "I bought everything on this list" that queues all missing ingredients for quick inventory entry

3. Barcode scan shortcut — "scan what you bought" that flows directly into barcode scan from the recipe context

Notes

This closes the full loop: suggest → buy → pantry → cook

Affiliate link tracking (click → purchase confirmation) is a paid-tier feature and tracked separately

Partial implementation (manual quick-add) can ship before the affiliate tracking integration