[sip-comm-dev] The Contact Info Button of Chat Box


#1

Hi all,
In the past several days I was trying to implement facebook server
stored contact info service.
Now it seems that I've made a little progress.
When I right-click some buddy's icon(or name, whatever) and open the
contact info box, I will get more detailed infomation.

OK, here comes my question:
Why aren't the contact info button in the chat box enabled while
contact info service is available?
What should I do to make it be enabled?

And also I have a suggestion:
For now contact info can't be updated manually, so that if we failed
to get contact info for the first time, we have to restart SC to
re-get the contact info. How about adding a refresh button on the
contact info box? Or we just don't cache contact info and we re-get
contact info every time we open the contact info box.

Thanks,
Dai

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hi Dai,

DaiZW wrote:

Hi all,
In the past several days I was trying to implement facebook server
stored contact info service.
Now it seems that I've made a little progress.
When I right-click some buddy's icon(or name, whatever) and open the
contact info box, I will get more detailed infomation.

Sounds nice!

OK, here comes my question:
Why aren't the contact info button in the chat box enabled while
contact info service is available?
What should I do to make it be enabled?

Actually this is not implemented yet. The info icon in the chat window will only be enabled if the Web contact info operation set is available. It's quite easy to modify this and put there the OperationSetServerStoredContactInfo, but there are some more things to do there, as to allow the contact info plugin to put its own icon there and open its dialog. We'll be very happy to have a patch for this one.

And also I have a suggestion:
For now contact info can't be updated manually, so that if we failed
to get contact info for the first time, we have to restart SC to
re-get the contact info. How about adding a refresh button on the
contact info box? Or we just don't cache contact info and we re-get
contact info every time we open the contact info box.

Hm..Are you sure for this one, because I don't think we cache contact info. Actually every time the user clicks on the "Contact info" item we're creating a new dialog, which is obtaining the info details from the operation set. It's then up to the operation set to refresh it's data.

Cheers,
Yana

···

Thanks,
Dai

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hey Yana,
Thanks for your reply!

Hi Dai,

DaiZW wrote:

Hi all,
In the past several days I was trying to implement facebook server
stored contact info service.
Now it seems that I've made a little progress.
When I right-click some buddy's icon(or name, whatever) and open the
contact info box, I will get more detailed infomation.

Sounds nice!

OK, here comes my question:
Why aren't the contact info button in the chat box enabled while
contact info service is available?
What should I do to make it be enabled?

Actually this is not implemented yet. The info icon in the chat window will
only be enabled if the Web contact info operation set is available. It's
quite easy to modify this and put there the
OperationSetServerStoredContactInfo, but there are some more things to do
there, as to allow the contact info plugin to put its own icon there and
open its dialog. We'll be very happy to have a patch for this one.

And also I have a suggestion:
For now contact info can't be updated manually, so that if we failed
to get contact info for the first time, we have to restart SC to
re-get the contact info. How about adding a refresh button on the
contact info box? Or we just don't cache contact info and we re-get
contact info every time we open the contact info box.

Hm..Are you sure for this one, because I don't think we cache contact info.
Actually every time the user clicks on the "Contact info" item we're
creating a new dialog, which is obtaining the info details from the
operation set.

It's then up to the operation set to refresh it's data.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ That's true. Sorry, it's my
fault. I just realize this.

···

2008/8/4 Yana Stamcheva <yana@sip-communicator.org>:

Cheers,
Yana

Thanks,
Dai

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net