hatchways / team-hulk

0 stars 0 forks source link

Waiting room sockets #62

Closed joelmackenz closed 3 years ago

joelmackenz commented 3 years ago

This PR allows the waiting room to appear in both the interview page and the dashboard, and renders information on it dynamically. When the owner starts an interview, they can see the waiting room with themselves in it, as well as a start button. The guest can use the link to join the interview, which takes them to the waiting room in the interview page. Both users can see both the guest and owner of the waiting room, if they are connected. The guest's waiting room has no exit button, and will only stop appearing once the owner presses start. In order to accomplish this, I had to add a user route and controller to dynamically render the users, socket emits and listeners, and a get route on signin.js in the BE.