GTG

API: method to get the X most urgent tasks

Bug #931380 reported by Lionel Dricot
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Won't Fix
Low
Unassigned

Bug Description

GTG should have a method (exposed through DBus and for plugins) that give the X most urgent tasks that can be done right now.

This would allow external application (like GNOME-Shell GTG extension) or plugins (like trayicon) to easily display a certain number of tasks.

Those tasks should obviously be taken in the workview and sorted by due-date.

We could also have a similar method that return only one task but with some weighted randomness, allowing to have an advice: "what should I do now?"

Changed in gtg:
milestone: none → 0.3
Izidor Matušov (izidor)
Changed in gtg:
status: New → Confirmed
importance: Undecided → Low
milestone: 0.3 → 0.3.2
Revision history for this message
Izidor Matušov (izidor) wrote :

I like this feature and see usage for "outside" world like GNOME-Shell GTG extension. It has a nice semantic but there might be implementation problems. Notification area plugin now updates every time you change/modify task. Using such DBus interface, it would be forced to update periodically (e.g. every X seconds) I like current model for notification area more.

How would we implement it? I propose to having a sorted list of all workview tasks sorted by duedate. Liblarch callbacks would modify this list. DBus call would just return first X items from this list. It seems to me as a nice and effective approach. (tagging this bug as LOVE)

I am not sure about the last one. Could you elaborte it more? Usecases?

Izidor Matušov (izidor)
Changed in gtg:
milestone: 0.3.2 → 0.4
Jeff Fortin Tam (kiddo)
Changed in gtg:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.