Inline Edit Available Quantity #25

Open
opened 2026-02-25 18:18:16 +00:00 by Vylpes · 0 comments
Owner

Epic: #5


As a seller,
I want to edit a listing's available quantity directly in the table,
so that I can quickly update stock without opening a separate page.

Blocked by: STORY-3.1 (View Listings Table)

Acceptance criteria:

  • Quantity field is editable inline in the listings table
  • Entering a new quantity and confirming (blur / Enter) saves the change
  • Quantity must be an integer ≥ 0; invalid input is rejected with an error
  • After saving, needs_update is set to true for that listing
  • The Needs update indicator updates immediately in the UI

Subtasks:

  • Make the quantity cell editable inline (click to activate edit mode)
  • Validate input: integer ≥ 0; reject and show error for invalid values
  • Persist the change to the database on blur or Enter key
  • Set needs_update = true for the listing after a successful save
  • Update Needs update indicator in the UI without full page reload
  • Write automated tests (unit: validation; integration: edit + needs_update flag set)
  • Write/update documentation
Epic: #5 --- **As a** seller, **I want to** edit a listing's available quantity directly in the table, **so that** I can quickly update stock without opening a separate page. **Blocked by:** STORY-3.1 (View Listings Table) **Acceptance criteria:** - Quantity field is editable inline in the listings table - Entering a new quantity and confirming (blur / Enter) saves the change - Quantity must be an integer ≥ 0; invalid input is rejected with an error - After saving, `needs_update` is set to `true` for that listing - The Needs update indicator updates immediately in the UI **Subtasks:** - [ ] Make the quantity cell editable inline (click to activate edit mode) - [ ] Validate input: integer ≥ 0; reject and show error for invalid values - [ ] Persist the change to the database on blur or Enter key - [ ] Set `needs_update = true` for the listing after a successful save - [ ] Update Needs update indicator in the UI without full page reload - [ ] Write automated tests (unit: validation; integration: edit + needs_update flag set) - [ ] Write/update documentation
Vylpes added this to the (deleted) milestone 2026-02-25 18:18:16 +00:00
Vylpes modified the milestone from (deleted) to 0.1.0 2026-03-02 17:24:03 +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#25
No description provided.