[Sugar-devel] Multi selection in the Journal feature
Gonzalo Odiard
gonzalo at laptop.org
Fri Jul 19 11:02:58 EDT 2013
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130719/8c547e1c/attachment.html>
More information about the Sugar-devel
mailing list