[Sugar-devel] Multi selection in the Journal feature

Walter Bender walter.bender at gmail.com
Wed Jul 24 17:20:54 EDT 2013


That's great.  A nice feature done right.

-walter

On Wed, Jul 24, 2013 at 4:54 PM, Martin Abente
<martin.abente.lahaye at gmail.com> wrote:
> Landed, thanks to everyone who contributed to this.
>
>
> On Fri, Jul 19, 2013 at 11:02 AM, Gonzalo Odiard <gonzalo at laptop.org> wrote:
>>
>> Thanks to all the reviews.
>> New pull request is available
>>
>> https://github.com/sugarlabs/sugar/pull/64
>>
>> Gonzalo
>>
>>
>> On Wed, Jul 17, 2013 at 6:42 PM, Gonzalo Odiard <gonzalo at laptop.org>
>> wrote:
>>>
>>> A initial version to review of the feature is available to test and
>>> review.
>>>
>>> The pull requests are:
>>>
>>> sugar-datastore: https://github.com/sugarlabs/sugar-datastore/pull/2
>>> sugar-artwork: https://github.com/sugarlabs/sugar-artwork/pull/7
>>> sugar: https://github.com/sugarlabs/sugar/pull/62
>>>
>>> This work is based on previous implementations, but is different in many
>>> ways.
>>>
>>> In particular, the previous implementation had a performance problem,
>>> when the user wanted to select all the ellements in the journal.
>>> As the datastore is designed to return the data paginated,
>>> the journal needed to do several queries to get all the uids needed
>>> to create the list of selected items.
>>> This problem is solved adding a method to the datastore to get the uids
>>> belonging to a query. As the datastore get that information from the
>>> index,
>>> the query is really fast.
>>>
>>> Other visible change is the use of real checkboxes in the listview,
>>> instead of icons
>>> with a checkbox drawn. In a desktop, the checkbox is not displayed right,
>>> but in the xo is ok.
>>> Surely something we need solve in the theme.
>>>
>>> Another difference in behavior is now the user can interrupt a operation
>>> while is running.
>>> If you realize you started to delete all the objects in a pen drive, you
>>> can stop it,
>>> and at least part will be saved.
>>>
>>> Gonzalo
>>>
>>
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



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


More information about the Sugar-devel mailing list