[sugar] [PATCH] add invitation support
Fri May 18 12:33:31 EDT 2007
> The following patch implements activity invitations in Sugar.
> You have to share the activity before be able to send invitations. This
> restriction is because currently we create the muc associated with an
> activity when we share it. That should be fixed in the futur.
Sounds good; getting that fixed will be very important.
> There are 2 ways to invite someone to an activity:
Actually, there will be a 3rd way. We should allow direct
manipulation, so that dragging an XO on the mesh to the People edge of
the frame invites them to the currently active activity. A white
outline XO should appear when this happens (and actually, anytime an
invite happens), acting as a placeholder until the invitee accepts or
rejects the invitation.
> - using the mesh view. You have to share your current activity then go
> to the mesh view, roll the cursor over a buddy and choose "invite".
For clarity, it might be better if this label read "invite to
<activity>." Alternatively, we could provide a secondary list of open
activities to select from. I'm not sure which approach we'll take
yet. The first is clearly simpler.
> - after sharing, click on the invite button in the toolbar and select a
> contact. This widget is still very basic and probably needs some UI
Mockups for this system are forthcoming.
> I reused existing code to display invitations so currently each invite
> is added in the activity toolbar. You can only accept an invite by
> clicking on it.
That sounds fine for now. Are the invitations rendered in color (as
they are in the mesh)? Also, we may eventually want some kind of
audio indication that an invitation has arrived.
> The GUI should be able to reject invites and see informations about them
> (sender of the invite, ...).
This is quite true. The secondary rollover for invitations will
provide a way to accept or reject them, and perhaps even provide a way
to send a reason for the rejection. It will also, of course, include
the sender the name of the activity, and any other relevant info.
I'm going to start working on some more specific visual mockups of
these 3 methods, as well as the accepting of an invitation. That
should help guide the development. I'll reply on this thread when
they are available. Thanks!
More information about the Sugar-devel