Presence Plasmoid REMAKE

Francesco Nwokeka francesco.nwokeka at gmail.com
Fri May 27 01:13:35 CEST 2011


On Wednesday 25 May 2011 15:23:50 David Edmundson wrote:
> On Tue, May 24, 2011 at 2:35 PM, David Edmundson
> <david at davidedmundson.co.uk
> 
> > wrote:
> > 
> > Forwarded a message from nwoki about the presence plasmoid.
> > 
> > Nwoki: You may as well stick to the main ML, unless it's something
> > particularly secret.
> > 
> > ---------- Forwarded message ----------
> > From: Francesco Nwokeka <francesco.nwokeka at gmail.com>
> > Date: Tue, May 24, 2011 at 2:05 PM
> > Subject: Presence Plasmoid REMAKE
> > To: David Edmundson <david at davidedmundson.co.uk>
> > Cc: drf at kde.org
> > 
> > 
> > Hi mentors! [and other people - ed]
> > 
> >        The presence plasmoid is almost ready. It can now set the presence
> > 
> > status.
> > Today i'll be fixing a bug in the dataengine and then I'll be working on
> > the "CMakeLists.txt" file for
> > the plasmoid installation.
> > If you want to follow it you can find my repo here[1].
> > Please send feedback especially with negative observations if possible so
> > that I can make it better
> > where needed.
> > I'll be online all day and night on irc so you can catch me whenever you
> > want.
> > 
> > 
> > Francesco
> > 
> > 
> > [1]
> > http://quickgit.kde.org/?p=scratch%2Fnwokeka%2FKDE-Telepathy-presence-pla
> > smoid.git&a=summary
> 
> Been playing around with it, got some cool stuff - tested adding/removing
> accounts with it running, that all behaves. I'm quite pleased.
> 
> Bug/TODO List:
> 
>  - all the presences are in lower case (i.e "available" not "Available") as
> we are directly displaying id values. Not looked at your code, but I'd
> guess this means it's not translated either. It should probably go through
> a map of id -> translated pretty name.
> 
> (possibly this should be in the dataengine, it could have a global map of
> presence IDs -> presence icon + presence readable name.)
The presence status and type to display are both taken from telepathy. I could change these in the 
data engine but it looks kinda ugly to me to make a switch case for these. What do you think?

>  - Doesn't behave in a panel for me.
> 
>  - I'm not sure you'd ever want to open the accounts KCM in such a hurry
> that we need a link.
> 
> - If you try to connect an account that then fails (i.e password wrong),
> the plasmoid still says "available".
>    We also don't get an error notification because the CL isn't
> running..but that's a much bigger issue for another day.
> 
> - You've made CMake check that the contact-list is installed - as we have a
> button to launch it. This isn't a "compile dependency" so shouldn't really
> be in the CMake file. It should either be - a dependency at a packaging
> level, or ideally a run time check and only show the button if it's
> available (not sure we can do that with plasma JS bindings).
> 
> - Would be really cool if we could see the protocol icon next to the name
> of the account somewhere. I think this requires a dataengine change.
Done

> - /All/ the avatars flash when any connection changes
Done + nicer look

> Having said that, I'm 100% happy for you to push to review (and then over
> the top of the old repo after review) as it currently is. Then we can
> slowly fix all the tiny issues together.
> 
> Dave


More information about the KDE-Telepathy mailing list