Educators View Discussion

We need to create a way for users to have a discussion with a specific students about a specific assignment

User Story: As a user, I want to discuss activities completed by students, so that I can provide students with feedback and answer any questions they might have.

Acceptance Criteria:

  • Given I am a user viewing a completed SEL or Mental Health Activity for a student, I will see all messages related to this assignment in the discussion panel

  • Given I am a user who has clicked the Mute button, I will no longer receive notifications in my Inbox related to this discussion

  • Given I am a user who has clicked the Unmute button, I will resume receiving notifications in my inbox related to this discussion

  • Given I am a user who has sent a message to a student, my name will be added to the list of names in the discussion panel

  • Given I am a user who has lost access to the student, I will no longer receive notifications about this discussion & I will no longer have access to the discussion.

  • Given I am a user who has lost access to the student, my name will be removed from the group chat list of names.

  • Given I am a user in a group chat where another user has lost access to the student, I will see an in-line message stating the user has left the discussion.

  • Given I am a user who is viewing an assignment with no previously sent/received messages, I will see the empty state

Design: https://www.figma.com/file/gdwMnbpudJxuzVrORrOGvd/Ed-Member-Site-UX?node-id=5848%3A262


UI

  • If the user clicks to view a conversation from the inbox or from the manage assignments screens, they will see the view assignment modal with the discussion panel.

  • They will see the names of all staff and students currently involved in the discussion

  • If the user clicks the Mute button, they will no longer receive notification in their Inbox related to this discussion

 

  • If the user clicks the Unmute button, they will begin to receive notifications related to this discussion in their inbox

  • If the user scrolls up, they will see previously sent/received messages

  • Clicking in the text box allows the user to type a message

  • Clicking send will send the message to the other person/people

  • We will show the name of the person who sent each message (no need to show the user’s name - just the other people)

  • Any educator with access to view this assignment can join the discussion. If a new user joins the discussion, they will be added to the group chat.

  • If an educator in the discussion no longer has access to the student, we will show an in-line message stating the user has left the discussion. This user’s name will also be removed from the list of names at the top of the panel.

NEED DESIGN

  • If no messages have been sent/received for this student’s assignment, we will show the empty state

Business Rules

  • Any user with access to this screen may start/join the discussion

  • If User A sends a message to Student A, they are the only two people in the discussion.

  • If User B then sends a message, User B is added to the discussion & their name will now appear at the top of the discussion panel

  • Once a user joins a discussion, they will receive a notification each time an additional message is sent by another user.

  • Users who click the mute button will no longer receive notifications about this discussion (unless they click the unmute button).

  • Users in a discussion who lose access to the student will no longer receive notifications about the discussion and will no longer has access to the discussion.