f.req: integrate participant list into mess.style
Posted: Mon Jan 31, 2005 5:37 am
Right now, the list of participants in a group chat is shown in a pane to the right-hand side of the message window, and is completely unreachable by message styles. I would like to propose the following changes, in the interest of more flexible styling (and hopefully a better looking UI):
- When a chat window is first opened, isGroupChat(boolean) should be called, indicating whether this is a group chat (true), or a one-on-one IM (false).
- When a chat window is first opened (group chat or not), and every time a new participant joins a group-chat, addParticipant(name,screenname,icon,service) should be called.
- Whenever someone leaves a chat, removeParticipant(name,screenname,icon,service) should be called.
- Either remove the current implementation of the participant list completely, or provide it as a drawer instead of that ugly frame-like thing.
I realize some of what I am requesting is already sort of supported by status messages, but these are virtually useless on the javascript end of things, and aren't there at all when the message window is first opened. Adding these function calls would allow message styles that do not display sender names (such as my own, Clean) to be much more useable in group-chat situations. Message styles could use these functions to build their own participant lists if they so choose, and to easily provide different colours for messages from different people.
- When a chat window is first opened, isGroupChat(boolean) should be called, indicating whether this is a group chat (true), or a one-on-one IM (false).
- When a chat window is first opened (group chat or not), and every time a new participant joins a group-chat, addParticipant(name,screenname,icon,service) should be called.
- Whenever someone leaves a chat, removeParticipant(name,screenname,icon,service) should be called.
- Either remove the current implementation of the participant list completely, or provide it as a drawer instead of that ugly frame-like thing.
I realize some of what I am requesting is already sort of supported by status messages, but these are virtually useless on the javascript end of things, and aren't there at all when the message window is first opened. Adding these function calls would allow message styles that do not display sender names (such as my own, Clean) to be much more useable in group-chat situations. Message styles could use these functions to build their own participant lists if they so choose, and to easily provide different colours for messages from different people.