Changes

Jump to navigation Jump to search
Line 70: Line 70:  
* [[Design Team/Designs/Journal|Journal design mockups]]
 
* [[Design Team/Designs/Journal|Journal design mockups]]
 
* [http://wiki.laptop.org/go/Journal%2C_reloaded Journal reloaded]
 
* [http://wiki.laptop.org/go/Journal%2C_reloaded Journal reloaded]
 +
 +
== Datastore API feature requests ==
 +
 +
==== Let all activities browse datastore in "objects" mode ====
 +
 +
So any activity can datastore.find() to get collapsed objects(all versions by one resultset 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)
 +
 +
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
 +
 +
Let datastore clients sort objects by any field(not only predefined like uid, activity_id etc).
 +
 +
This 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.

Navigation menu