ankitbisen28 / Atelier

Letest web app for custom clothing, Using React vite and Nodejs
https://atelier-client.vercel.app/
0 stars 1 forks source link

Edit Profile Modal #4

Closed ankitbisen28 closed 4 weeks ago

ankitbisen28 commented 1 month ago

Description

We need to implement an "Edit Profile" feature that, when clicked, opens a modal allowing users to enter and update their profile details. The modal should include the following input fields:

Acceptance Criteria

  1. Trigger: The modal should open when the "Edit Profile" button is clicked.
  2. Input Fields: The modal should include the following fields:
    • Name (text input)
    • Email (text input)
    • Mobile (text input)
    • Apartment (text input)
    • Street (text input)
    • City (text input)
    • Zip (text input)
    • Country (text input)
  3. Form Validation: Each field should have appropriate validation:
    • Name: Required
    • Email: Required, should follow email format
    • Mobile: Required, should follow phone number format
    • Apartment: Optional
    • Street: Required
    • City: Required
    • Zip: Required
    • Country: Required
  4. Save Changes: There should be a "Save" button that, when clicked, submits the form and updates the user details.
  5. Cancel Changes: There should be a "Cancel" button that closes the modal without saving changes.
  6. UI/UX: The modal should be user-friendly and match the overall design of the application.

Mockup

(Include a screenshot or design mockup if available)

Additional Information

Technical Notes