Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Edit Profile Activity - Back End #38

Open
relztic opened this issue Jun 13, 2017 · 0 comments
Open

Add Edit Profile Activity - Back End #38

relztic opened this issue Jun 13, 2017 · 0 comments
Assignees

Comments

@relztic
Copy link
Owner

relztic commented Jun 13, 2017

User Story

As a user, I want an edit profile activity so that I can edit my profile.

Conditions of Satisfaction

Behavior

  • The image (use placeholder) must attempt to upload a photo.
    • Success message: Profile photo successfully edited.
  • The form field (representing the Birthday) must start a date picker dialog.
  • The form field (representing the Hospital) must start the place picker activity.
  • The menu item (called Save) must attempt to save the user.
    • Success message: Profile successfully edited.

Validations

  • The form field (representing the First Name) must be validated.
    • Validate empty values in the form field.
      • Failure message: Please complete the field.
  • The form field (representing the Last Name) must be validated.
    • Validate empty values in the form field.
      • Failure message: Please complete the field.
  • The form field (representing the Phone) must be validated.
    • Validate empty values in the form field.
      • Failure message: Please complete the field.
    • Validate the following regex: Reference Source
      • Failure message: Please enter a valid phone.
        • Example: e.g.: 8#9#######
  • The form field (representing the Gender) must be validated.
    • Validate no selections in the form field.
      • Failure message: Please select an option.
  • The form field (representing the Birthday) must be validated.
    • Validate empty values in the form field.
      • Failure message: Please complete the field.
  • The form field (representing the Province) must be validated.
    • Validate no selections in the form field.
      • Failure message: Please select an option.
  • The form field (representing the Hospital) must be validated.
    • Validate empty values in the form field.
      • Failure message: Please complete the field.
  • The form field (representing the Blood Type) must be validated.
    • Validate no selections in the form field.
      • Failure message: Please select an option.
  • The menu item (called Save) must be validated.
    • Validate the form actions in the activity.
      • Failure message: The photo has not processed yet.
    • Validate the form fields have changed.
      • Failure message: No data has changed.
    • Validate the form fields in the activity.
      • Failure message: Validation failed!
    • Validate the Internet connection in the phone.
      • Failure message: Please check your Internet connection.
    • Validate the user credentials do not match in Firebase.
      • Failure message: An error has occurred.
@relztic relztic self-assigned this Jun 13, 2017
relztic pushed a commit that referenced this issue Jun 13, 2017
Description:
* Completes the code for the edit profile activity.
* Normalizes the way the activity requests are sent.
* Prevents the activity to exit while processing.
* Normalizes the way the bottom sheet dialogs are displayed.
* Refactors the way the profile card views are displayed.
* Sets the application gradle to `2.3.3`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant