View Low-Stock Listings #45

Open
opened 2026-02-25 19:43:32 +00:00 by Vylpes · 0 comments
Owner

Epic: #9


As a seller,
I want to filter my listings to show only low-stock items,
so that I can quickly identify what needs restocking.

Blocked by: STORY-3.3 (Filter Listings), STORY-7.1 (Set Global Low-Stock Threshold)

Acceptance criteria:

  • "Low stock" filter is available in the listings table (see STORY-3.3)
  • A listing is shown as low stock when: available quantity ≤ global threshold (or per-product override if set)
  • Low-stock listings are visually highlighted in the table (e.g., warning colour on quantity)
  • Low-stock indicator is shown on the listings navigation item (count badge)

Subtasks:

  • Implement low-stock calculation logic (qty ≤ threshold, using per-product override when present)
  • Add "Low stock" filter option to the listings table filter controls
  • Apply visual highlight to quantity cells that are below threshold
  • Add count badge to the listings navigation item
  • Write automated tests (unit: threshold calculation; integration: filter returns correct rows)
  • Write/update documentation
Epic: #9 --- **As a** seller, **I want to** filter my listings to show only low-stock items, **so that** I can quickly identify what needs restocking. **Blocked by:** STORY-3.3 (Filter Listings), STORY-7.1 (Set Global Low-Stock Threshold) **Acceptance criteria:** - "Low stock" filter is available in the listings table (see STORY-3.3) - A listing is shown as low stock when: available quantity ≤ global threshold (or per-product override if set) - Low-stock listings are visually highlighted in the table (e.g., warning colour on quantity) - Low-stock indicator is shown on the listings navigation item (count badge) **Subtasks:** - [ ] Implement low-stock calculation logic (qty ≤ threshold, using per-product override when present) - [ ] Add "Low stock" filter option to the listings table filter controls - [ ] Apply visual highlight to quantity cells that are below threshold - [ ] Add count badge to the listings navigation item - [ ] Write automated tests (unit: threshold calculation; integration: filter returns correct rows) - [ ] Write/update documentation
Vylpes added this to the (deleted) milestone 2026-02-25 19:43:32 +00:00
Vylpes modified the milestone from (deleted) to 0.4.0 2026-03-02 17:28:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RabbitLabs/droplet-next#45
No description provided.