Sequence Diagrams - bounswe/2021SpringGroup9 GitHub Wiki
1. View a User's Profile
Actor: Guest, Registered User, or Admin
Preconditions: None
Actions:
- Clicks on a profile to see the user's profile page.
2. View Posts on Homepage
Actor: Registered User or Admin
Preconditions:
- User is registered to the application
- Their login credentials are saved.
- They follow some people, places, or tags
Actions:
- Opens app/website to see their homepage
3. Report a Post
Actor: Registered User
Preconditions:
- User is registered to the application
Actions:
- Report a post that a registered user thinks is inappropriate
4. Sign up
Actor: Guest
Preconditions:
- Since this is a user, he/she is not logged in.
Actions:
- Writes down a username, password, email, and his/her name surname.
5. Sign in
Actor: Registered User or Admin
Preconditions:
- Registered User/Admin is not logged in.
Actions:
- Enter username or email, and password. Then, sign in.
6. Comment
Actor: Registered User or Admin
Preconditions:
- User is registered to the application.
- Their login credentials are saved.
- They are on the page of a post.
Actions:
- User comments on a post.
7. Follow A User
Actor: Registered User
Preconditions:
- The user is signed in and is checking the profile of another user.
Actions:
- Clicks the follow button.
8. Search a User
Actor: Guest, Registered User, or Admin
Preconditions:
- The user is on the search page for users.
Actions:
- Writes a user name and search for users with that name.
9. Search Posts Containing a Location
Actor: Guest, Registered User, or Admin
Preconditions:
- The user is on explore page for locations.
Actions:
- Writes a location name and search for posts with that location.
10. Create Post
Actor: Registered User or Admin
Preconditions:
- User is registered to the application.
Actions:
- Clicks to create post button