Skip to content

Use Cases

Mauricegao edited this page Apr 3, 2017 · 50 revisions

Sign up, in and out

  • 01.01 Sign up
  • 01.02 Log in
  • 01.03 Log out

Mood

  • 02.01 Add Mood
  • 02.02 Delete Mood
  • 02.03 Edit Mood
  • 02.04 Mood Filter
  • 02.05 Mood Detail
  • 02.06 Latest Moods
  • 02.07 Share Story(WOW factor)

Friends

  • 03.01 Follow
  • 03.02 Accept
  • 03.03 Decline
  • 03.04 View friends list
  • 03.05 View Stranger list

Maps

  • 04.01 View maps
  • 04.02 View Latest maps
  • 04.03 View Profile maps
  • 04.04 Add/Refresh real-time location
  • 04.05 Edit location

Offline Mode

  • 05.01 Offline behavior

Profiles

  • 06.01 View Current User Profile
  • 06.02 View Friend Profile
  • 06.03 View Strange Profile

Menu

  • 07.01 View Side Menu









01.01 Sign up

Name Sign Up Event
Primary Actor User
Goal Allow user to create an account
Trigger Click on the sign up button
Pre-condition Must have an unique username
Post-condition Account created
Basic Flow 1. User enters unique username
2. User clicks signup button
3. User taken directly to homepage with new profile
Exceptions User name exists, cannot generate duplicates
Related Use Cases 01.04

01.02 Log In

Name Log In Event
Primary Actor User
Goal Allow user to log in
Trigger Click on the Login button
Pre-condition Must have an account
Post-condition Enter the app -> to the Home page
Basic Flow 1. User enters his/her unique username
2. User presses login button
3. User is taken to their profile page
Exceptions Username not exist, cannot validate

01.03 Log Out

Name Log Out Event
Primary Actor User
Goal Allow user to log out
Trigger Click on the log out button
Pre-condition Must successfully login
Post-condition Account log out
Basic Flow 1. User clicks logout button
2. App is taken back to login page
Exceptions Internet connection error
Related Use Cases 01.02

02.01 Add Mood

Name Add Mood Event
Primary Actor User
Goal Allow user to start creating a new mood
Trigger Click on the Add Mood button
Pre-condition User successfully login
Post-condition New mood event shows up on the top of the moods' list
Basic Flow 1. User presses "Add Mood" button
2. User is taken to the add mood event
3. User selects mood drop-down and picks preselected moods
4. User selects Trigger textView and enters their text
5. User selects social situation drop-down and selects preselected situations
6. User chooses to enter picture for their mood
7. User chooses to add their current location
8. User presses checkmark at top of page
9. App takes user back to homepage
Exceptions Internet connection error
Geolocation is off
Related Use Cases 02.03 & 02.04

02.02 Delete Mood

Name Delete Mood Event
Primary Actor User
Goal Allow user to delete their own mood
Trigger Click on the delete button after clicked on the mood which user want to delete
Pre-condition Must have a mood
Post-condition Selected mood deleted
Basic Flow 1. User clicks on a mood
2. User clicks on delete button
3. User is prompted if they are sure they want to delete
4. If yes is selected, mood is deleted
Exceptions Internet connection error
Related Use Case 02.01

02.03 Edit Mood

Name Edit Mood Event
Primary Actor User
Goal Allow user to edit their mood
Trigger Click on the edit button after clicked on the mood which user want to edit
Pre-condition Must have a mood
Post-condition Selected mood edited
Basic Flow 1. User long presses the mood they wish to view
2. User presses edit button
3. User enters the info they wish to change
Exceptions Internet connection error
Related Use Cases 02.01 & 02.04


02.04 Mood Filter

Name Mood Filter Event
Primary Actor User
Goal Allow user to filter mood history
Trigger Click on filer button at the top right corner of the app
Pre-condition None
Post-condition Screen refreshed and shows filtered results
Basic Flow 1. User click on the filter button
2. App shows a drop down list let user to choose from different filter methods
3. User click on one of the option
Exceptions Internet connection error
Related Use Cases 02.01 & 02.03


02.05 Mood Detail

Name Mood Detail Event
Primary Actor User
Goal Allow user to view a particular mood's detail
Trigger Click on a mood on a mood list
Pre-condition Must have a mood
Post-condition The mood's detail is shown on screen
Basic Flow 1. User click on the mood they wish to view
2. System changes to the mood detail screen and mood details are shown
Exceptions Internet connection error


02.06 Latest Mood

Name Latest Mood Event
Primary Actor User
Goal Display a list the most recent mood events of the participants I am granted to follow, sorted by date and time, in reverse chronological order
Trigger Click on Latest on the side menu
Pre-condition Opened the side menu
Post-condition Screen changed and a displayed a list of moods
Basic Flow 1. User click on the Latest button
2. System changes to the Latest screen and a list of mood is shown
Exceptions Internet connection error
Related Use Cases 07.01


02.07 Share Story

Name Share Story Event
Primary Actor User
Goal Combine a list of user's mood into a group as "story" and share with friend(s)
Trigger Click on Square Icon on the top bar of my profile page
Pre-condition Successfully login
Post-condition Story is sent and the receiver would get a notification
Basic Flow 1. User clicks on the story button
2. App shows a pop-up window prompt user to enter the name of story
3. User enter the name then click "save" button
4. App shows a list of user's previous mood with check box to prompt user to select
5. User selects one or more moods then clicks finish
6. App shows a pop-up window prompt user to select receiver(s)
7. User selects receiver(s) then clicks "send"
8. Apps display a notification to the user with "story sent" message and the receiver(s) would get a notification of receiving new story
Exceptions Internet connection error
Related Use Cases 02.01 & 03.04

03.01 Follow

Name Follow Event
Primary Actor User
Goal Allow one user to send follow request to other users
Trigger Click on the follow button on other users' main page
Pre-condition Must be on a user profile page
Post-condition Request sent to selected user
Basic Flow 1. User goes to another user's profile page
2. User clicks the follow button
3. User must wait until followed user accepts follow request
4. After accepted, user now receives followed user's moods
Exceptions 1. Internet connection error
2. ElasticSearch server Error
Related Use Cases 03.02 & 03.03


03.02 Accept

Name Accept Event
Primary Actor User
Goal Allow one user to accept follow request from other users
Trigger Click on the accept button on the request page
Pre-condition Must receive request from other user
Post-condition Sender successfully follow receiver
Basic Flow 1. Another user requests to follow
2. After accepting, following user receives user's mood updates
Exceptions 1. Internet connection error
2. ElasticSearch Server error
Related Use Cases 03.01


03.03 Decline

Name Decline Event
Primary Actor User
Goal Allow one user to decline follow request from other users
Trigger Click on the decline button on the request page
Pre-condition Must receive request from other user
Post-condition None
Basic Flow 1. Another user requests to follow
2. After declining, nothing happens, user who tried to follow does not receive user's moods.
Exceptions 1. Internet connection error
2. ElasticSearch server error
Related Use Cases 03.01


03.04 View friends list

Name View friends list Event
Primary Actor User
Goal Allow user to view their friends
Trigger Click on the friends button on the side menu
Pre-condition None
Post-condition Friends list shows up
Basic Flow 1. User presses friends button on side menu
2. User can view list of all friends
Exceptions No friend
Related Use Cases 03.01


03.05 View Stranger

Name View Stranger Event
Primary Actor User
Goal Allow user to search for a stranger by name that matches the search term
Trigger Enter a search term
Pre-condition Must be on the find friend page and have a search term
Post-condition Display stranger that matches the search term
Basic Flow 1. User enters a search term
2. User can view a list strangers that matches the search term
Exceptions No Internet connection
Related Use Cases 07.01


04.01 View Map

Name View Map Event
Primary Actor User
Goal Allow user to see surrounding people's mood
Trigger Click on the map button on the Home page
Pre-condition ???
Post-condition Map shows up
Basic Flow 1. User presses "map view" button
2. User is shown map with other user's moods within 5km
Exceptions 1.GPS signal not found
2.Internet connection error
Related Use Cases 04.02 & 04.03


04.02 View Latest Map

Name View Latest Map Event
Primary Actor User
Goal Allow user to see the mood of your latest page on map
Trigger Click on the map button on the latest page
Pre-condition ???
Post-condition Map shows up
Basic Flow 1. User presses "map view" button
2. User is shown map with your friends'latest moods
Exceptions 1.GPS signal not found
2.Internet connection error
Related Use Cases 04.04 & 04.05


04.03 View Profile Map

Name View Profile Map Event
Primary Actor User
Goal Allow user to see the moods in profile page on map
Trigger Click on the map button on the Home page
Pre-condition ???
Post-condition Map shows up
Basic Flow 1. User presses "map view" button
2. User is shown map the moods on your profile page
Exceptions 1.GPS signal not found
2.Internet connection error
Related Use Cases 04.04 & 04.05


04.04 Add/Refresh real-time location

Name Add/Refresh real-time location Event
Primary Actor User
Goal 1.Allow users to stick location with their mood
2.Allow users to relocate for more accurate location
Trigger Click on the locate button on the add mood page
Pre-condition Starting add mood event
Post-condition Location successfully stick with the mood
Basic Flow 1. User clicks on add mood
2. User confirms if location is okay
Exceptions GPS signal not found
Related Use Cases 04.01 & 04.03


04.05 Edit location

Name Edit location Event
Primary Actor User
Goal Allow users to edit the location of their mood
Trigger Click on the edit button on the selected mood
Pre-condition Starting edit mood event
Post-condition Location successfully change
Basic Flow 1. User presses a mood and edits it
2. User presses the location and changes to new location
Exceptions GPS signal not found
Related Use Cases 04.01 & 04.02


05.01 Offline Mode

Name Offline behavior Event
Primary Actor User
Goal Allow users to use the app offline
Trigger Click on the offline mode button
Pre-condition Users have successfully login
Post-condition Offline mode start
Basic Flow 1. User clicks on offline mode button
2. User can view his own mood history without network connection
Exceptions Out of storage
Related Use Cases 01.02


06.01 View Current User Profile

Name View Current User Profile Event
Primary Actor User
Goal Allow users to view his/her own profile along with a list of his/her own mood history
Trigger User clicks on the Home button on the side menu
Pre-condition Users have opened the side menu
Post-condition Screen changed to current user's profile page
Basic Flow 1. User clicks on the Home button
2. Screen changed to current user's profile page
Related Use Cases 07.01


06.02 View Friend Profile

Name View Friend Profile Event
Primary Actor User
Goal Allow users to view his/her friend's profile along with a list of his/her friend mood history
Trigger User clicks on the a friend from the follower list
Pre-condition Users must have a friend
Post-condition Screen changed to friend's profile page
Basic Flow 1. User clicks on a friend
2. Screen changed to friend's profile page
Related Use Cases 03.04


06.03 View Stranger Profile

Name View Stranger Profile Event
Primary Actor User
Goal Allow users to view a stranger profile
Trigger User clicks on the a stranger from the search stranger list
Pre-condition There exists at least one stranger from the searched stranger list
Post-condition Screen changed to stranger's profile page
Basic Flow 1. User clicks on a stranger
2. Screen changed to stranger's profile page
Related Use Cases 03.06


07.01 View Side Menu

Name View Side Menu Event
Primary Actor User
Goal Allow users to navigate between Home, Find Friend, Request and Near Me page. It also allows user to have the option to log out.
Trigger User clicks on the dashes icon on the top left corner of the screen.
Pre-condition Must be logged in
Post-condition The side menu appears on the left of the screen
Basic Flow 1. User clicks on the dashes icon
2. Side menu appears on the left
Related Use Cases 01.02


Back to Top