sadevana / best-to-do-ever

0 stars 0 forks source link

Implement Profile Picture Feature in Settings Screen #45

Open AAKrasnova opened 11 months ago

AAKrasnova commented 11 months ago

Description:

Develop a feature within the Settings screen that allows users to upload, change, or remove their profile picture. This feature should provide a user-friendly interface for managing profile images and ensure that images are appropriately scaled and formatted.

Acceptance Criteria:

  1. Uploading New Profile Picture:

    • Users should be able to upload a new profile picture from their device.
    • Support common image formats such as JPG, PNG, and GIF.
    • Image file size should not exceed 20MB @dchicherin <- is it applicable for locally stored pictures?
  2. Choosing Existing Profile Picture:

    • If applicable, users should have the option to select from default avatars.
    • Default avatars: image image image image image image image image image image image image
  3. Viewing Current Profile Picture:

    • Display the current profile picture prominently.
  4. Removing or Reverting Profile Picture:

    • Provide an option to remove the current profile picture.
    • If a profile picture is removed, revert to a default avatar.
  5. Error Handling:

    • Display clear error messages for unsupported image formats, exceeding file size limit, or failed uploads.
  6. Success Feedback:

    • Display a success message or visual confirmation when the profile picture is updated successfully.
  7. Performance:

    • Ensure that image uploading, and rendering are performant and do not degrade app performance.

Test Scenarios:

Technical Notes: