zorchenhimer / MovieNight

Single instance video streaming server with integrated chat.
https://discord.gg/F2VSgjJ
MIT License
691 stars 87 forks source link

Load chat before entering a username #17

Closed zorchenhimer closed 5 years ago

zorchenhimer commented 5 years ago

Load and display chat before the user enters a username. Instead of showing the message box at the bottom, show the "Enter Username" input.

Wait until after #4 is finished to implement this.

joeyak commented 5 years ago

In https://github.com/zorchenhimer/MovieNight/issues/4, I might implement part of this. Having the connection join when the page loads simplifies things and might solve a problem with goroutine deadlocks I was having. What I will not do in https://github.com/zorchenhimer/MovieNight/issues/4 is changing the UI for inputting their name.

joeyak commented 5 years ago

After looking at the chatroom code, I'll leave that area alone, since the changes are much larger. The websocket will open on page join instead of when the user presses join.