[Sugar-devel] honoring max_participants

Walter Bender walter.bender at gmail.com
Thu Apr 17 14:06:08 EDT 2014


On Thu, Apr 17, 2014 at 1:55 PM, Gonzalo Odiard <godiard at sugarlabs.org> wrote:
> 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.

That part I think I have worked out. I'll prepare a patch series (the
toolkit and sugar desktop) for people to comment on.

-walter

>
> 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



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org


More information about the Sugar-devel mailing list