Quick consume action #64

Closed
opened 2026-02-25 01:21:26 +00:00 by makiolaj · 0 comments
Owner

Add quick consume action to reduce item quantity

Feature: One-tap action to consume/use an item (reduce quantity by 1)

Requirements:

  • Add "Consume" button to each item in InventoryList
  • Clicking reduces quantity by 1 (or by item's unit if fractional)
  • Show toast notification on success
  • Auto-remove item if quantity reaches 0
  • Optimistic UI update

Acceptance Criteria:

  • Consume button visible on each list item
  • Reduces quantity correctly
  • Handles edge cases (quantity=1, fractional units)
  • Toast confirmation appears
  • Works offline (cached mutation)

Labels: v0.2, frontend, enhancement

Add quick consume action to reduce item quantity **Feature:** One-tap action to consume/use an item (reduce quantity by 1) **Requirements:** - Add "Consume" button to each item in InventoryList - Clicking reduces quantity by 1 (or by item's unit if fractional) - Show toast notification on success - Auto-remove item if quantity reaches 0 - Optimistic UI update **Acceptance Criteria:** - [ ] Consume button visible on each list item - [ ] Reduces quantity correctly - [ ] Handles edge cases (quantity=1, fractional units) - [ ] Toast confirmation appears - [ ] Works offline (cached mutation) **Labels:** v0.2, frontend, enhancement
makiolaj added the frontend label 2026-02-25 01:21:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pantry-app/pantry#64