Skip to content

Initial websockets integration#3433

Merged
bjester merged 13 commits intolearningequality:websocketsfrom
ozer550:websockets_initial_setup
Jul 20, 2022
Merged

Initial websockets integration#3433
bjester merged 13 commits intolearningequality:websocketsfrom
ozer550:websockets_initial_setup

Conversation

@ozer550
Copy link
Member

@ozer550 ozer550 commented Jun 28, 2022

Summary

The Pr integrates Django channels with the project and updates the frontend to open a websocket request when we open a channel. It also implements initial functions in consumers for backend handling of WebSockets and their tests.

Description of the change(s) you made

This PR does implement the following features:

  • Integrates Django channels into the project
  • Implements backend consumer functions to handle connect and disconnect phase.
  • Updates frontend to create a websocket request when a user opens a channel.
  • Test for consumer functions.

Manual verification steps performed

Ran all tests

Comments

Work is still in progress.

@ozer550 ozer550 requested a review from bjester July 9, 2022 05:05
Copy link
Member

@bjester bjester left a comment

Choose a reason for hiding this comment

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

The only blocker is to take another look at the websocket protocol. I added some other thoughts too

Copy link
Member

@bjester bjester left a comment

Choose a reason for hiding this comment

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

Some more comments regarding things I didn't see in my first pass, and some of your updates. Looking good!

@bjester bjester changed the title intial_websockets_setup Initial websockets integration Jul 19, 2022
Copy link
Member

@bjester bjester left a comment

Choose a reason for hiding this comment

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

💯

@bjester bjester merged commit 64dd28f into learningequality:websockets Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants