Skip to content

feat(wardrobe): edit clothing item (US-1.6)#104

Open
chips351 wants to merge 2 commits into
mainfrom
feat/edit-clothing-item-23
Open

feat(wardrobe): edit clothing item (US-1.6)#104
chips351 wants to merge 2 commits into
mainfrom
feat/edit-clothing-item-23

Conversation

@chips351

Copy link
Copy Markdown
Collaborator

Closes #23

What was added

  • New ClothingEditDialog component — opens when pressing the Edit button in the item detail sheet
  • Pre-fills all fields with existing AI-detected data (name, category, brand, color, season, style, occasion)
  • Optional image replacement
  • Unsaved changes are discarded on close — reopening always shows the original saved data
  • Saves via updateItem in the wardrobe store

Files changed

  • frontend/src/components/wardrobe/ClothingEditDialog.tsx — new component
  • frontend/src/pages/WardrobePage.tsx — wired up edit dialog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[US-1.6] Edit clothing item

1 participant