Edit a Product #18

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

Epic: #4


As a seller,
I want to edit an existing product's details,
so that I can keep the catalog accurate as my inventory changes.

Blocked by: STORY-2.1 (Create a Product)

Acceptance criteria:

  • User can edit Name, Cost, Notes, and Low-stock threshold override
  • SKU can be edited only if no listings are currently linked to it (or with a warning)
  • On-hand quantity can be updated directly on the product
  • Changes are saved immediately and reflected across linked listings
  • An audit log entry is created for each edit (see EPIC-8)

Subtasks:

  • Create product edit form UI pre-populated with existing values
  • Implement SKU edit guard (warn or block if listings are linked)
  • Persist changes to the database and propagate to linked listings
  • Create audit log entry on every save
  • Write automated tests (unit: validation + SKU guard; integration: edit flow)
  • Write/update documentation
Epic: #4 --- **As a** seller, **I want to** edit an existing product's details, **so that** I can keep the catalog accurate as my inventory changes. **Blocked by:** STORY-2.1 (Create a Product) **Acceptance criteria:** - User can edit Name, Cost, Notes, and Low-stock threshold override - SKU can be edited only if no listings are currently linked to it (or with a warning) - On-hand quantity can be updated directly on the product - Changes are saved immediately and reflected across linked listings - An audit log entry is created for each edit (see EPIC-8) **Subtasks:** - [ ] Create product edit form UI pre-populated with existing values - [ ] Implement SKU edit guard (warn or block if listings are linked) - [ ] Persist changes to the database and propagate to linked listings - [ ] Create audit log entry on every save - [ ] Write automated tests (unit: validation + SKU guard; integration: edit flow) - [ ] Write/update documentation
Vylpes added this to the (deleted) milestone 2026-02-25 18:14:17 +00:00
Vylpes modified the milestone from (deleted) to 0.1.0 2026-03-02 17:23:26 +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#18
No description provided.