As a user, I want questions and answers that I read or questions and answers that I've indicated I want to read, to be locally cached so I can read them when I am not on the internet. - CMPUT301F14T06/Team06MapleSyrup GitHub Wiki
Use Case: Locally cache questions and answers that user has read or want to read, in order to be read offline
Use Case Name: UserLocalCatch
Participating Actors: User
Goal: Questions and answers that the user have read or intend to read will be locally cached so that the user can read them when not on the internet
Trigger: When user reads a question or when user click on save button
Precondition: User read or save questions while online
Postcondition: User can read questions and answers that cached while not connected to the internet
Basic Flow:
1. User Click on the Questions to read or Click save button beside Questions' content while online.
2. The system will cache the Questions and Answers and save to local when step 1 occure.
3. User can browse these Questions and Answers while offline by go to profile fragment and click on Local Questions button.
Exceptions:
3.0 No browsed or marked any questions
- 3.1 No questions locally cached
Constraints:
User has Wi-Fi to view and mark questions. User must have available memory on their phone for the saved questions and answers.
Test:
- the apps will cache the question that user read.
- Login as an Author
- Create some Questions
- logout as an User
- view questions as User
- Shut down the Internet
- Are the Question that just read still available?