GTG

export plugin should provide a tag list and tasks by tag as input

Bug #522360 reported by Raphaël Hertzog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Low
Luca Invernizzi

Bug Description

I was glad to discover that GTG recently got a report plugin but it's far from being useful to me. The main report that I need is a list of active tasks grouped by "context" (in the GTD vocabulary). Here contexts are represented by tags that share a common prefix (ctx:).

Something like this:

 Free time (ctx:freetime)
  [ ] 2010-02-13 Do something
  [ ] 2010-02-15 Do something else

 Work time (ctx:worktime)
  [ ] 2010-02-15 Work on foo
  [ ] Work on bar

 In Alsace (ctx:alsace)
  [ ] Help John with his setup

This is not doable with the current plugin because you don't have the list of tags in the input available to the cheetah template and you can't easily get a list of tasks associated to a single tag. My request is thus to add this input information.

Changed in gtg:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Luca Invernizzi (invernizzi)
milestone: none → 0.3
Changed in gtg:
status: Triaged → In Progress
Revision history for this message
Luca Invernizzi (invernizzi) wrote :

Hello Raphael,
I've just committed the fix for this bug. Should be available in the daily repository in the next few hours, if you use that.

You can now access all the GTG API thorough the $plugin_api variable in the template. I've written a short tutorial inside the template_simple.html template.
The api let's you do pretty much anything. See http://live.gnome.org/gtg/pluginHowTo (scroll down to plugin api).
If you need anything more, get the $plugin_api.get_requester(), which is the class that the whole GTG uses to get and store its data.

Don't forget to submit your template, if you create something nice! Just open a bug.

Have a nice day.

Changed in gtg:
status: In Progress → Fix Committed
Changed in gtg:
milestone: 0.3 → 0.2.2
Changed in gtg:
status: Fix Committed → Fix Released
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.