OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

Choose profile privacy on my edit profile on the ‘My habits’ page. #115

Open OlhenShu opened 5 months ago

OlhenShu commented 5 months ago

As a Logged User I want to choose profile privacy on my 'My habits' page. User can choose what his/her friends can see.

Acceptance criteria:

  1. On the block, 'Profile privacy' the user can choose what his friends will see: 'Show my location', 'Show my eco place', 'Show my shopping list'.
  2. When the User puts a tick 'Show my location', all user's friends can see this information under the avatar on the Profile page.
  3. When the User puts a tick 'Show my eco places', all user's friends can see a list with the user's eco places under 'My eco places' on the Profile page.
  4. When the User puts a tick 'Show my shopping list', all user's friends can see a list with the user's shopping list under 'My shopping list' on the Profile page.
  5. When the User edits profile privacy, he/she should click 'Save' or 'Cancel' button.
  6. When the Logged User clicks the ‘Save’ button, profile privacy will be changed in the system.
  7. When the Logged User clicks the ‘Cancel’ button, profile privacy will not be changed in the system.

Change request #194

Tasks

API https://greencity.azurewebsites.net/user/profile/

Example Value: { "city": "string", "firstName": "string", "profilePicturePath": "string", "rating": 0, "showEcoPlace": true, "showLocation": true, "showShoppingList": true, "socialNetworks": [ "string" ], "userCredo": "string" }

Mockup

Знімок екрана 2020-07-14 о 22 20 12