export plugin should provide a tag list and tasks by tag as input
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.
Related branches
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 |
Changed in gtg: | |
milestone: | 0.3 → 0.2.2 |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
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. live.gnome. org/gtg/ pluginHowTo (scroll down to plugin api). api.get_ requester( ), which is the class that the whole GTG uses to get and store its data.
The api let's you do pretty much anything. See http://
If you need anything more, get the $plugin_
Don't forget to submit your template, if you create something nice! Just open a bug.
Have a nice day.