There is nothing explicit to help you, but it is easy enough to create
a variant of the built-in d3 function that does the project lists.
Here is a quick-and-dirty plugin that will do the job. Simply paste
this into a new tiddler ("gtdSomedayList", for example), make sure the
tiddler has the tag "systemConfig", and save/reload your document.
Then create another new tiddler ("Someday Review", for example, and
put into it "<<gtdSomedayList>>", and close it. Presto.
//{{{
config.macros.gtdSomedayList = {}
config.macros.gtdSomedayList.handler = function
(place,macroName,params)
{
var theList = createTiddlyElement(place, "ul", null,
"gtdActionList");
var parentTiddlerName = story.findContainingTiddler
(place).getAttribute("tiddler");
var projects = store.getTaggedTiddlers
(config.options.txtGTDSomedayContext);
// do an importance sort on project list first, so they bubble to the
top
projects.sort(_GTD.projectSorter);
for (var i = 0; i < projects.length; i++) {
var project = projects[i];
// this will present the actions in the same order as they
appear in
the project
var theListItem = createTiddlyElement(theList, "li", null,
"gtdActionListProject");
createTiddlyLink(theListItem, project.title, true);
if (project.gtdActions != undefined &&
project.gtdActions.length >
0) {
var subList = createTiddlyElement(theList, "ul", null,
"gtdActionList");
for (var j = 0; j < project.gtdActions.length; j++) {
var action = project.gtdActions[j];
var subListItem = createTiddlyElement(subList,
"li");
var el =
config.macros.gtdAction.createActionElement(subListItem,
action, project.title, action.tags);
}
}
}
}
//}}}
-- tomo
On Nov 1, 7:08 am, Jonas Thomas <[email protected]> wrote:
> Hello,
> I've been really enjoying D3, but there is one feature (for me anyway)
> which would be really nice to have.
>
> I have a huge amount of someday-maybe projects defined that I'd like
> to skim over in my project review.
>
> Currently I need to click each one of them individually to review
> them. This is really cumbersome, since my D3 file is big and there is
> bit of a time lag.
>
> What would be the cats meow would be a someday maybe project review
> similar to Project Review for active items.
>
> These projects are still in the cooker so to say and it would probably
> be nice to list the outcome statement also. In this way, I could have
> the review generate while I'm getting my morning coffee.
>
> I'm surprised that no one has requested this before. I googled a bit
> and didn't find anything (perhaps, I don't have the correct search
> terms) or I'm just wired weird.
>
> While I wouldn't mind adding Learning Java script to the list, I just
> as soon not re-invent the wheel if this has been done already.
> Does any happen to know that a plug-in has been written to do what I'm
> interested in doing?
> Thanks in advance
> JT
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "GTD
TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gtd-tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---