As a user, I should be able to chat with other users.
Acceptance Criteria
CREATE
GIVEN a user enters in a chat message
WHEN they hit the submit button
THEN there should be a new record in firebase for their message
READ
GIVEN a user comes to the site
WHEN they look at the chat component
THEN they should see all messages from all users
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
UPDATE
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
DELETE
GIVEN a user deletes a message
THEN the message should disappear from the chat history
Notes
This is a general message board - there is no direct messaging
You should only be able to edit or delete messages you have written
User Story
As a user, I should be able to chat with other users.
Acceptance Criteria
CREATE
GIVEN a user enters in a chat message WHEN they hit the submit button THEN there should be a new record in firebase for their message
READ
GIVEN a user comes to the site WHEN they look at the chat component THEN they should see all messages from all users
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
UPDATE
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
DELETE
GIVEN a user deletes a message THEN the message should disappear from the chat history
Notes