Merge branch 'main' into codex/add-quantity-and-is_carton-fields-to-pickitem

This commit is contained in:
beatz174-bit
2025-11-23 12:07:03 +10:00
committed by GitHub
3 changed files with 55 additions and 51 deletions
+8 -17
View File
@@ -157,10 +157,8 @@ quantities remain distinct.
### ActivePickListScreen
- List of PickItems\
- Tap = +1 of the item's unit type\
- Long-press = +1 of the item's unit type\
- Swipe left = mark picked\
- Swipe right = delete\
- Use the checkbox in each row to toggle between pending and picked without removing the item\
- Row controls provide explicit +1 unit and +1 bulk actions (no long-press or swipe)\
- Add Item button\
- Complete List button
@@ -193,23 +191,15 @@ quantities remain distinct.
------------------------------------------------------------------------
## 6. Gestures & Interaction Rules
## 6. Interaction Rules
### Tap
### Checkbox Toggle
Increase `quantity` by **1** for the tapped item's unit type.
Use a checkbox in each pick item row to switch between `"pending"` and `"picked"` without removing the item from the list. Picked rows must remain visible with clear status cues (e.g., checkmarks/strikethrough).
### Long Press
### Increment Controls
Increase `quantity` by **1** using a shared `useLongPress()` hook.
### Swipe Left
Mark item as `"picked"`.
### Swipe Right
Delete item.
Provide explicit controls to increase `quantity_units` and `quantity_bulk` (no long-press). Avoid swipe gestures for status changes or deletion on pick item rows.
### Barcode Scanning
@@ -323,6 +313,7 @@ Expose port 8080:
- Product creation must be minimal friction\
- Auto-save pick lists\
- Smooth animations on long press
- Pick list rows use checkboxes to toggle items between pending and picked; no swipe or long-press gestures should be required to update status, and picked rows stay visible with clear status cues
------------------------------------------------------------------------