This code is almost there, but needs work that I suspect is due to a deeper coupling of servers and channels beyond what I see in the .tsx files. Of course, I may have just missed something.
Right now, the userlist pops up when we click on a channel; however, clicking back on the server shows the chat from the channel instead of the server log.
I left a comment in the ServersAndChans component in regards to the emit functions I made. One is pretty much the original, but that's because it works better than only seeing the server log even when clicking on a channel.
See branch related to the development to the right.
This code is almost there, but needs work that I suspect is due to a deeper coupling of servers and channels beyond what I see in the .tsx files. Of course, I may have just missed something.
Right now, the userlist pops up when we click on a channel; however, clicking back on the server shows the chat from the channel instead of the server log.
I left a comment in the ServersAndChans component in regards to the emit functions I made. One is pretty much the original, but that's because it works better than only seeing the server log even when clicking on a channel.
See branch related to the development to the right.