[Sugar-devel] honoring max_participants

Gonzalo Odiard godiard at sugarlabs.org
Thu Apr 17 13:55:37 EDT 2014


I agree. This was discussed in the past,
just not implemented.
There are a few bugs related with this, like not show
the Join menu in activities not implementing collaboration.

Gonzalo

Gonzalo


On Thu, Apr 17, 2014 at 3:52 PM, Walter Bender <walter.bender at gmail.com>wrote:

> I have been working on having the collaboration system honor the
> maximum number of participants in a shared activity. I have a patch to
> meshbox that will show/hide the Join button if the maximum number of
> participants has not/has been reached, thus preventing someone from
> joining an activity that is oversubscribed, but enabling them to join
> if someone leaves. (Right now, we put no limit, even though the
> activity specifies a limit.)
>
> The issue I am struggling with is that the specification of
> max_participants is set in the activity instance, which means that it
> is not accessible directly from the activity bundle. So I am proposing
> we add max_participants to activity.info. We can set max_participants
> from that value. This need not break existing activities and the
> default can still be 1, AKA, no sharing. But if an activity does
> specify max_participants in activity.info, then we can enforce the
> limit.
>
> Comments/alternative suggestions?
>
> regards.
>
> -walter
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Gonzalo Odiard

SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140417/c9fd7773/attachment.html>


More information about the Sugar-devel mailing list