Changes

Jump to navigation Jump to search
1,416 bytes added ,  00:34, 22 May 2009
Line 216: Line 216:  
And of course deployers can form any sets from these components
 
And of course deployers can form any sets from these components
   −
<strong> Old items </strong>
+
=== Datastore feature requests that could benefit Library activity ===
 +
 
 +
These features can benefit [[Activities/Library]] activity. At present(for 0.82/0.84) Library uses "rich" datastore client which fetches all Journal objects to make short list of objects(by collapsing all versions to one item), moreover it has to unzip .xo bundles to get ''bundle_id'' value. So its not good.
 +
 
 +
With all these features implemented Library can use "thin" datastore client and not fetch all objects, just make proper request for datasotre.find() to get sorted and collapsed objects by portions (by using offset/limit find() arguments).
 +
 
 +
<strong>Get collapsed find()'s resultset</strong>
 +
 
 +
Let user call datastore.find() to get list of collapsed objects(all versions by one item).
 +
 
 +
That should mean that any datastore object should have "object id":
 +
* ''activity_id'' for objects that were generated by activities (already implemented)
 +
* ''bundle_id'' for .xo bundles in the Journal
 +
* ''uid'' for other objecets (already implemented)
 +
 
 +
<strong>History of collapsed object</strong>
 +
 
 +
Let datastore clients browse history of collapsed objects:
 +
* for ''activity_id'' objects - sort by timestamp (already impelemented)
 +
* for ''bundle_id'' objects - sort by ''activity_version''(or so) field
 +
 
 +
<strong>Sort find()'s resultset</strong>
 +
 
 +
Let datastore clients sort objects by any field(not only predefined like uid, activity_id etc).
 +
 
 +
<strong>Sort by buddies count</strong>
 +
 
 +
=== Old items ===
 +
 
 
** Collaboration working properly!
 
** Collaboration working properly!
 
** Accessibility in Sugar [http://lists.sugarlabs.org/archive/sugar-devel/2009-April/013665.html]
 
** Accessibility in Sugar [http://lists.sugarlabs.org/archive/sugar-devel/2009-April/013665.html]
 
** [[Unified Bundles]] merge .xol bundles to .xo
 
** [[Unified Bundles]] merge .xol bundles to .xo
** [[Unified Objects]]
   
** [http://dev.sugarlabs.org/ticket/593 Rainbow support]
 
** [http://dev.sugarlabs.org/ticket/593 Rainbow support]
 
** automated tests, e.g. [http://dev.sugarlabs.org/ticket/594 SugarBot] and [http://dev.sugarlabs.org/ticket/595 regression tests]
 
** automated tests, e.g. [http://dev.sugarlabs.org/ticket/594 SugarBot] and [http://dev.sugarlabs.org/ticket/595 regression tests]

Navigation menu