Re: D3(D-cubed) Project Review for Someday-Maybe
Thanks I think there might be a tiny critter in the code somewhere. When I fired it back up the Plugin manager is complaining about Error: Expected ; I'll get there On Mon, Nov 2, 2009 at 8:45 AM, tomo tom.ot...@rogers.com wrote: 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 jonasthomas...@gmail.com 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 gtd-tiddlywiki@googlegroups.com To unsubscribe from this group, send email to gtd-tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/gtd-tiddlywiki?hl=en -~--~~~~--~~--~--~---
Re: D3(D-cubed) Project Review for Someday-Maybe
Tom, Thanks so much One issue I had is that when I copied and pasted some line feeds where generated that needed to be taken out. I did that and all is well.. This is sooo cool. :) Btw... I like to add this to the pull down review menu on the left side. Could you tell me which tiddler I need to look at? Thank you, Thank you. On Mon, Nov 2, 2009 at 8:45 AM, tomo tom.ot...@rogers.com wrote: 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 jonasthomas...@gmail.com 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 gtd-tiddlywiki@googlegroups.com To unsubscribe from this group, send email to gtd-tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/gtd-tiddlywiki?hl=en -~--~~~~--~~--~--~---
Re: D3(D-cubed) Project Review for Someday-Maybe
To answer my own question that would be GTDmenu Wow... This is an awesome application.. On Mon, Nov 2, 2009 at 9:42 AM, jonas thomas jonasthomas...@gmail.comwrote: Tom, Thanks so much One issue I had is that when I copied and pasted some line feeds where generated that needed to be taken out. I did that and all is well.. This is sooo cool. :) Btw... I like to add this to the pull down review menu on the left side. Could you tell me which tiddler I need to look at? Thank you, Thank you. On Mon, Nov 2, 2009 at 8:45 AM, tomo tom.ot...@rogers.com wrote: 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 jonasthomas...@gmail.com 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 gtd-tiddlywiki@googlegroups.com To unsubscribe from this group, send email to gtd-tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/gtd-tiddlywiki?hl=en -~--~~~~--~~--~--~---