Keep the closed box visible and tidy the order item card

- After closing, the box button stays disabled as "Box N closed" for
  5 minutes, timed from a new picked_up_at so it survives a reload
- Picked-up items keep showing their pickup box number
- Hide the steps toggle on ready and picked-up items
- Move "Buy again" and "Get help" into a dots menu in the item header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 23:11:47 +02:00
co-authored by Claude Opus 5.5
parent d68806aaf8
commit 440f9e5696
8 changed files with 1124 additions and 42 deletions
+2 -1
View File
@@ -639,7 +639,8 @@ describe('pickup boxes', () => {
await ordering.closePickupBox(testDb.db, itemId, accessFor(order))
const status = await getStatus(order)
expect(status.items[0].status).toBe('picked_up')
expect(status.items[0].pickupBox).toBeNull()
expect(status.items[0].pickupBox).toEqual({ number: 1, isOpen: false })
expect(status.items[0].pickedUpAt).toBeInstanceOf(Date)
expect(status.status).toBe('complete')
})