Skip to content

Scan Multiple Products in Batch

As a Host, I want to scan multiple products in quick succession, So that I can efficiently add many items after a shopping trip.

IMPLEMENTED (December 2025)

  • ✅ Given I have just returned from shopping with many products
  • ✅ When I enter batch scan mode (toggle switch)
  • ✅ Then I can:
    • ✅ Scan products one after another without confirmation
    • ✅ See a running list of scanned items (BatchScanQueue component)
    • ✅ See product name, brand, and level preview for each item
    • ✅ See old vs new level comparison (e.g., “25% → 75%”)
    • ✅ Review all scanned items before final confirmation
  • ✅ And I can edit any item in the batch (modify level before saving)
  • ✅ And I can remove items from the batch (remove button)
  • ✅ And I can clear all items with confirmation
  • ✅ And I can save the entire batch to inventory at once (“Save All (X)” button)
  • ✅ And I see progress feedback during save
  • ✅ And I receive a success message with count of updated products

Files Created:

  • shaker/components/BatchScanQueue.tsx - Queue display component

Files Modified:

  • shaker/app/(tabs)/inventory/quick-update.tsx - Added batch mode toggle and queue management

Features:

  • Batch mode toggle switch (single vs batch)
  • Visual queue with product details
  • Edit/remove actions for each item
  • Bulk save with progress feedback
  • Automatic scanner reopening after scan (batch mode)

See: Batch Scanning Implementation for complete details.

Medium - Efficiency feature

  • Product, ProductBarcode, ProductData, Inventory