nss-day-cohort-38 / react-nutshell-pyroclastic-thunder-nerds

react-nutshell-pyroclastic-thunder-nerds created by GitHub Classroom
1 stars 2 forks source link

Chat messages #3

Open askingalot opened 4 years ago

askingalot commented 4 years ago

Story

As a user, I should be able to activate my account and chat with other users. All messages are public. Do not support private messaging.

Acceptance Criteria

Given a user wants to enter in a chat message When the user activates their account And enters a message into the New message text input Then their message should appear in the Chat area, prepended with the user's name

Given a user is viewing, or entering in chat messages When a new message is entered by any user, and there are more messages than can fit in the default size of the chat history Then the most recent message should always be made visible at the bottom of the chat history

Given a user enters in a chat message When the message appears in the chat history Then there should be an affordance to edit the message

Given a user wants to edit a previous message of theirs When the user performs a gesture on the edit affordance Then the user should be able to change the text of their message And have an affordance for saving the edited message