API: method to get the X most urgent tasks
Bug #931380 reported by
Lionel Dricot
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 |
Changed in gtg: | |
status: | New → Confirmed |
importance: | Undecided → Low |
milestone: | 0.3 → 0.3.2 |
Changed in gtg: | |
milestone: | 0.3.2 → 0.4 |
Changed in gtg: | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
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?