Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross Chats #15

Open
Tracked by #10
varunsingh87 opened this issue Jan 12, 2024 · 0 comments · May be fixed by #21
Open
Tracked by #10

Cross Chats #15

varunsingh87 opened this issue Jan 12, 2024 · 0 comments · May be fixed by #21
Assignees
Labels
story New feature or request

Comments

@varunsingh87
Copy link
Owner

varunsingh87 commented Jan 12, 2024

Cross Chats

Ability for teammates to chat with someone they invited or who requested to join (each a "team switcher") the team.

Requirements

  • Two participants in the same competition on different teams may send private messages ("direct chat") to each other in a chat window for the purpose of deciding whether to switch teams
    • To initiate a private chat, one participant invites and the other must accept.
  • All participants of a team and a participant in the same competition but on a different team may send messages in a group chat window for the purpose of deciding whether to join the team ("group chat")
  • These chat windows are accessible from a list of all of the team switcher chats, which appear under the Find Teammates tab

Software Design

Schema Changes

New table: direct_chats

Initiator Receiver Competition Status
USER_1 USER_2 COMPETITION_1 0
USER_1 USER_3 COMPETITION_1 1

New table: group_chats

Team Potential_Joiner Competition Status
TEAM_1 USER_4 COMPETITION_1 1
TEAM_2 USER_5 COMPETITION_3 1

New table: direct_messages

Chat Sender
CHAT_1 USER_3
CHAT_2 USER_5
CHAT_1 USER_2

New table: group_messages

Chat Sender
CHAT_1 USER_3
CHAT_2 USER_5
CHAT_1 USER_2

Rename table: messages --> team_messages

@varunsingh87 varunsingh87 added the story New feature or request label Jan 12, 2024
@varunsingh87 varunsingh87 self-assigned this Jan 12, 2024
@varunsingh87 varunsingh87 added this to the Phase 1 Stories milestone Jan 20, 2024
@varunsingh87 varunsingh87 changed the title Potential Joiner Chat Split Chats Jan 21, 2024
@varunsingh87 varunsingh87 changed the title Split Chats Bridge Chats Jan 21, 2024
@varunsingh87 varunsingh87 changed the title Bridge Chats Cross Chats Jan 21, 2024
varunsingh87 added a commit that referenced this issue Mar 19, 2024
@varunsingh87 varunsingh87 linked a pull request Mar 22, 2024 that will close this issue
varunsingh87 added a commit that referenced this issue Mar 25, 2024
varunsingh87 added a commit that referenced this issue Mar 25, 2024
varunsingh87 added a commit that referenced this issue Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story New feature or request
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

1 participant