Community
Participate
Working Groups
For example, if a user sends an action in IRC like, "/me yawns" In the UI we get a <user> ACTION yawns We should style the text like most IRC clients do with italicized text.
If addressed on bug day we'll include in 1.0.2. Setting target milestone accordingly
I am addressing this on bugday
it's yours
Created attachment 74721 [details] concept Great! So currently messages are received from protocol specific provider, and then put into an abstract form (just Sender+Message) and appended to output window. I see two ways here: 1. extend current message that travels from provider to view (extend IChatRoomMessage) with fields describing its formatting. (I don't like it) 2. allow custom renderer, that will be set by provider (eg. IRCUI) and sit on top of view, reformatting all output just before it hits StyledText. I like this one more, so I attach an overview. Please take a look at IMessageRenderer. It would process any messages, so eg. replace ACTION with italics. Replace :) with smile, etc. etc
looking into it, I like your approach. Emoticons were on the TODO list.
Scott, I like this approach. What do you think? Should we try to push this up to our basic messages view? Emoticons there is on the hit list.
Created attachment 74788 [details] final added IMessageRenderer and it's IRC specific implementation that honours ACTIONs. Additionally enabled support for sending ACTIONs by user. I had to set connection.setColors(true) to be able to distinguish ACTIONs from regular messages, as they diffier only with non-printable chars. I didn't implemented renderer in MessagesView. It may be next step, if you verify it's all working in IRC.
Created attachment 74790 [details] test test that briefly shows how to use IMessageRenderer
committed to HEAD, made minor changes. This is a good start for what will be needed in bug 198110.
Created attachment 74799 [details] mylyn/context/zip
Added to IP log. Closing.