[Bug 35946] Need a way to get dates for any contact

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 6 20:17:38 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35946

--- Comment #4 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2011-04-06 11:17:37 PDT ---
(In reply to comment #3)
> This should come with another API to get events for a given date (for all
> entities). The use case is having 'Anyone' selected in the new history viewer:
> I need a way to get all the dates, and then a way to get the events when one of
> those dates is selected.

There a lot of 'I need a' and very few use cases and rational here. I'm trying
to push the design further, so please provide more information, don't pull the
discussion backward. It's not a bug I need to fix, but a feature you would like
to get added.

The current API already provide the feature you are requesting, the only
difference is that it requires you to do multiple calls, but it also allow you
doing more optimal operations, because you hold all the information that let
you later skip certain date for certain account/entity.

Also the Gnome UI design seems to not consider the fact that after several
years, the logs will become quite big, and loading all of it like you are doing
is not the way to go. Until we have some sort of iterator in the API, all those
things need great care, so we don't end up having to support and optimize call
that are design non-optimal.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list