-
Notifications
You must be signed in to change notification settings - Fork 34
switch rooms #330
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
switch rooms #330
Conversation
src/components/chat/RoomList.js
Outdated
| {roomList.map((passphrase) => { | ||
| <li className="current-room"> | ||
| {displayRoomName(passphraseFromUrlHash)}{' '} | ||
| </li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jimmcgaw Isn't it better to have a consistent room ordering, rather than moving the current room to the top?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems easier to navigate, like in Slack or Discord. Yes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, I don't know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay I'm 90% sure leaving the same room ordering is best. Please make this tweak then let's merge?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
75c7162 to
d342e6e
Compare
| }; | ||
| const setPassphrase = (passphrase) => { | ||
| console.log('setPassphrase() -- TODO: Disconnect the WebSocket, change the current URL hash, auth again, connect via WebSocket'); | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's nuke this function but... who cares! Room switching ftw
No description provided.