As an author, I want to reply to questions and answers to clarify things. - CMPUT301F14T06/Team06MapleSyrup GitHub Wiki
Use Case: Author replies to questions and answers to clarify things
Use Case Name: AuthorReplyToClarify
Participating Actors: Author
Goal: Author submits a reply to a specified question or answer.
Trigger: Author is viewing a question list and clicks on Reply button below the question or an answer
Precondition: Author knows the question or answer they want to reply
Postcondition: A new reply is added to a question or answer.
Basic Flow:
1. The Author browse a question detail activity
2. The Author clicks on the Reply button below the question or one of its answers
3. The system prompts the Author for text input.
4. Author submits their reply text
5. The reply will be shown under the question or the answer
6. To make more replies, repeat the process
Exceptions: 2.0 User has not login yet
-2.1 No Reply/Answer button will be seen by the user
4.0 Author is offline
- 4.1 Reply is saved to be posted
4.0 Input text is empty
- System displays an error and require Author to fill in the content
Test:
- the apps will allow Author make reply of exist Questions and Answers.
- Create a Question list
- Login as an Author
- Create a Question
- Insert the Question into the Question list
- Create an Answer for this Question
- Insert the Answer under the Question
- Create a Reply for this Question
- Create a Reply for the Answer
- Insert the Replies.
- Are the two Reply And Author Name correctly displayed?