Open JoeShep opened 3 years ago
multiple users / multiple friends add friend affordance friend form - with a save affordance friends list (with friend detail - delete/edit friend detail here?)? (friend provider/detail/list) messaging/chat component - ability to save friend straight from chat message friends articles/events appear in users corresponding components - with added styling
Story
As a user, I should be able to add other users as friends so they can view my information
As a user, I should be able to remove someone from my friends list
Acceptance Criteria
Given an active user sees a chat message from another user And wants to make that user a friend When the active user clicks on the other user's name in the chat history Then a message should be presented to the active user asking for verification of adding the other user to their friend list
Given an active user wants to add another user to their friends list, but has no chat messages from that user When the active user performs a gesture on the
Add a friend
affordance Then the active user will be presented with an input field in which the other user's name can be enteredGiven an active user has entered in another user's name in order to add that user to their friend list When the active user performs a gesture on the
Save
affordance Then the active user's friends list should be updated with the added userGiven an active user wants to remove another user from their friends list When the active user performs a gesture on a delete affordance in the friends list Then the the other user should be removed from their friends list
Given another user has added the active user to their friends list When the active user is viewing the main view of the application Then the other user's news articles, and event list should appear in the current user's corresponding components And the other user's article and events should be styled with italicized font And the other user's article and events should be styled with a cornsilk background color And this should all happen at the moment the friend is added, without needing to refresh