Skip to content

User Actions

Ryo Togashi edited this page Mar 11, 2020 · 88 revisions

Signing up

  • with a Google account
  • A dialog window pops up after clicking sign-in buttons
    • Sign-in buttons are loading state while the dialog window shows up
    • Call to action is "Sign up to do bla bla bla" ?
  • Seamlessly move to the signed-in state

Signing in

  • Exactly the same way with signing up
  • Users don't need to care if it's signing up or in

Signing out

  • by clicking a button
  • Seamlessly move to the signed-out state

Seeing a list of recent posts

  • The items are sorted by the date of submission in descending order
  • Any user
    • Can see 10 items (no pagination)
      • Title
      • The hero's hand
      • The date of submission
      • Total pot size
    • Can pick one to see detail
  • Signed-in users
  • Signed-out users

Seeing a list of popular posts

  • The items are sorted by the total number of likes on answers and comments
  • Any user
    • Can see 10 items (no pagination)
      • Title
      • The hero's hand
      • The hero's position
      • Total pot size
      • Which street the game ended (preflop, flop, turn, river or showdown)
      • Number of answers and comments
      • Number of likes
      • The date of the last answer, comment or post's submission ("last update")
    • Can pick one to see detail
  • Signed-in users
  • Signed-out users
    • Can do

Seeing a post

Creating a new post

  • Only allowed for signed-in users
  • Can fill out
    • Title
    • What to ask
    • The game situation
      • Number of players
      • Small blind size (in BB)
      • Big blind size
      • Anti size (in BB) (Optional)
      • If it was a cash game or tournament
      • Which position the hero was
      • The hero's hand
      • Players' actions
        • at Preflop
        • at Flop
        • at Turn
        • at River
        • The player who did
        • Action type (check/call, bet/raise, fold)
        • Bet size (in BB)
      • Community cards at flop (Optional if the game finished up at preflop)
      • Community cards at turn (Optional if the game finished up before turn)
      • Community cards at river (Optional if the game finished up before river)
  • Review by clicking a button
    • All fields in the situation need to be validated
      • Show Situation image.
  • Submit by clicking a button
    • All fields need to be validated
      • Cannot click the button if there's anything invalid
    • Going to loading state until finishing submission
  • Cancel by clicking a button

Seeing an answer

Creating a new answer to a post

  • Signed-in users
    • Can see
      • Inputted text-based body
      • The user itself (it's gonna be who posts the answer)
    • Submit by clicking a button
      • All fields need to be validated
      • Cannot click the button if there's anything invalid
      • Going to loading state until finishing submission
      • Going to the post itself then
    • Cancel by clicking a button

Seeing a comment

Creating a new comment to an answer

  • Signed-in users
    • Can see
      • Inputted text-based body
      • The user itself (it's gonna be who posts the comment)
      • Which answer the user is going to create a comment
    • Submit by clicking a button
      • The button will be loading state while submission
      • The submitted comment will be seamlessly shown then

Putting a like or dislike to an answer

  • Signed-in users
    • Allowed as long as the user doesn't have like or dislike on it
    • Can see
      • Which answer it's going to put a like or dislike

Putting a like or dislike to a comment

  • Signed-in users
    • Allowed as long as the user doesn't have like or dislike on it
    • Can see
      • Which comment it's going to put a like or dislike

Removing a like or dislike from an answer

  • Signed-in users
    • Allowed as long as the user doesn't have like or dislike on it
    • Can see
      • Which answer it's going to remove a like or dislike

Removing a like or dislike from a comment

  • Signed-in users
    • Allowed as long as the user doesn't have like or dislike on it
    • Can see
      • Which comment it's going to remove a like or dislike

Changing a user's name

  • Signed-in users
    • Can see
      • Previous (currently set) name
      • Inputted name (gonna be a new one)
    • Submit by clicking a button
      • The button will be loading state while submission
      • The submitted comment will be seamlessly shown then