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

[Frontend] Implemented Team-wise Chat System #615

Merged
merged 4 commits into from
Aug 6, 2021

Conversation

amlannandy
Copy link
Collaborator

Description

This PR implements team-wise chat functionality in the frontend. The detailed changes are listed below commit-wise.

Commit 1

  • Created actions and reducer for fetching all previous chat messages of a team

Commit 2

  • Created the UI for Chatroom Page

Commit 3

  • Added empty banner to Chatroom Page which will be shown when there are no messages

Commit 4

  • Added socket.io-client package for connecting to the websocket in the Flask backend.
  • Created redux actions and reducer for handling send_message and receive_message websocket events.

Fixes #609

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Demo Video has been provided below

Test Configuration:

  • Google Chrome
  • Windows

Chat System

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@amlannandy amlannandy added web Issue and PR regarding web app GSoC 2021 Tasks related to GSoC 2021 labels Aug 5, 2021
@amlannandy amlannandy requested a review from ThatUdeshUK August 5, 2021 15:38
Copy link
Collaborator

@ThatUdeshUK ThatUdeshUK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work 👍🏻

@ThatUdeshUK ThatUdeshUK merged commit 04228af into scorelab:master Aug 6, 2021
@amlannandy amlannandy deleted the frontend-chat-system branch August 6, 2021 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GSoC 2021 Tasks related to GSoC 2021 web Issue and PR regarding web app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a Team-wise Chat System
2 participants