As a user, I want to know if the location of post is near city or town or country. - CMPUT301F14T06/Team06MapleSyrup GitHub Wiki
Use Case: user want to know the town/city/country of the location of the post
Use Case Name: LocationForQuestion
Participating Actors: User
Goal: Show the location
Trigger: Go to main page, or click on the question to go to the question detail page
Precondition: user knows which post's location she/he wants to see
Postcondition: user see the location of the post.
Basic Flow:
1. Go to the main page, and the location of the question will show under the question detail text view. With the format: town/city/country (if the author attached the location to the question)
2. click on the question and go to the question detail page, the location to the question can still be seen under the question detail text view, and the user can also see the location for the answers and replies
if the author attached any location to the answer or replies.
Exceptions:
1.0, 2.0 Internet is not connected
- 1.1, 2.1 The program goes to the main page, and the question list will disappear
- 1.2, 2.2 A Toast shows no internet access
- 1.3, 2.3 Go to my profile fragment and click on local question/fav question button to see cached questions
1.0, 2.0 Author didn't attach any locations
- 1.1, 2.1 No location will show up under the question/answer/reply