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:
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'.
When the User puts a tick 'Show my location', all user's friends can see this information under the avatar on the Profile page.
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.
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.
When the User edits profile privacy, he/she should click 'Save' or 'Cancel' button.
When the Logged User clicks the ‘Save’ button, profile privacy will be changed in the system.
When the Logged User clicks the ‘Cancel’ button, profile privacy will not be changed in the system.
Change request #194
Tasks
[ ] Choose profile privacy on the edit profile page;
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:
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