← Back to team overview

zeitgeist team mailing list archive

[Bug 655164] Re: Support more ResultType

 

I really don't think that using binary flags helps usability. On the
contrary. It just leaves the door open for a tonne of new types of bugs.

How about 'LeastRecent | Subjects | Events' what does that do?

Another problem with the flags system is that it severely limits the
number of result types we can have. Consider that extensions (like the
FTS) can also "add" their own result types. And by "add" I mean that
they export and API like FindEvents() but allow some extra result types
in there, but also the default ones - which will then fall back to the
normal API for sorting and grouping.

I actually think the current way we do it is pretty nice.

-- 
Support more ResultType
https://bugs.launchpad.net/bugs/655164
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: New

Bug description:
I am in discussion with the Software Center team and it seems like they are growing fond of Zeitgeist.
There is a feature in their queue that they would like to implement and where Zeitgeist can make it happen:
- Software Center wants to suggest applications to be installed based on the Most or Recently Used Subject Interpretations and/or mimetypes.
Currently I plan to call all events within a specific timeperiod and sort internally but it would be more helpful to have this info provided by Zeitgeist.

So long story short I suggest 2 new ResultTypes:
1) MostPopular/MostRecent/LeastPopular/LeastRecent Interpretation
2) MostPopular/MostRecent/LeastPopular/LeastRecent Mimetype







Follow ups

References