spoulson / Chatmore

Simplified web-based IRC client for PHP/Unix
17 stars 6 forks source link

Prevent private messages from scrolling off without the chance of viewing #97

Open spoulson opened 11 years ago

spoulson commented 11 years ago

If the user were to be away from keyboard and a private message had arrived, then the user may miss the message as it scrolls off the console.

To prevent this scenario, the private messages should be retained on display until acknowledged by the user. The messages will remain as a console message, but when the message is about to be scrolled out of view, it will instead create a split view in the console and hold the message there. Additional messages that scroll off will be added to this private message split view.

This will ensure that when the user returns, any missed private messages will be waiting at the top of the console in a split view. The user can click button on the view to acknowledge them and close the split view.