AJAX-Chat
AJAX-Chat copied to clipboard
Private Messages in their own tab or window
I don't know why this wasn't on the issues list.
Private messages should open up in their own tab, floating div, or new window. Not sure which option people would prefer.
I'd probably use the tab-thing together with the hideContainers thing that is already implemented. onNewPrivateMessage should be an event and open - aka. create - a new and hidden div. the tab is then displayed and unhides the chatlist with the private messages, and hides every other private messages or the chat itself. would just be an idea ^-^ Am 21.03.2013 um 17:27 schrieb Philip Nicolcev [email protected]:
I don't know why this wasn't on the issues list.
Private messages should open up in their own tab, floating div, or new window. Not sure which option people would prefer.
— Reply to this email directly or view it on GitHub.
Floating divs are probably the worst idea. Lots of code, and it would get messy with many PMs open.
New windows are probably actually the easiest to code. I can open an unlimited number of them without worrying about it.
Best option might be a user preference. Either tabs or new window. Shouldn't be too hard to switch between the two once I get the message routing working. Basically it has to intercept messages marked as whispers and route them to a window/tab marked with the userID of the person sending the whisper.
Frug, thank you for being so active on this case! Popup windows are not so sexy if that's what you ment. I would like Tabs, when you click it, it's just like the open chat, but between you and 1 other person. Simple word for it is PM (Personal Message). This feature would complete this chat, it would be perfect, the only thing you could do in the future is cool mods. Also if you close the Tab and the person later on writes to you, the tab just pops back there at the end of all tabs.
If you ignore the person then obviously they can't write to you and the other way around. Now what if some crazy fool opens let's say 100 tabs? Well that issue I haven't realy figured out yet.
Thanks mate.
I would be sooo happy if this is implemented! And I think putting private messages in tabs is the best way to do it. Just as soon as you click send private message (now open private channel) a new tab is opened and a chat is initiated with just you and that other person. In addition a few events to hook onto would be nice too, like onNewPrivateMessage and onPrivateMessageClose.
I would also like to know if a simple hack is possible already now...
+1 on this. Would be a really good enhancement. And like you wrote Frug: "Best option might be a user preference. Either tabs or new window.". +1 on that too. Maybe a choice for the chat admin to set default value and setting for allow/disallow user to change the setting?
I feel tabs would be just perfect. Any updates on implementing it? Cheers!
No update thus far. I havent gotten into working with the chat in a while myself. o.o